Commit 1c5224b3 authored by Frederic Crozat's avatar Frederic Crozat Committed by Lennart Poettering
Browse files

cryptsetup-generator: block boot when querying passphrase.

Ensure we wait for passphrase before starting tty1 or graphical display.
Needed when not using plymouth.
parent 41e6f28a
......@@ -112,7 +112,8 @@ static int create_disk(
"DefaultDependencies=no\n"
"BindTo=%s dev-mapper-%%i.device\n"
"After=systemd-readahead-collect.service systemd-readahead-replay.service %s\n"
"Before=umount.target\n",
"Before=umount.target\n"
"Before=local-fs.target\n",
d, d);
if (!nofail)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment