cryptsetup-generator: block boot when querying passphrase.

Ensure we wait for passphrase before starting tty1 or graphical display.
Needed when not using plymouth.
This commit is contained in:
Frederic Crozat 2011-08-04 16:46:33 +02:00 committed by Lennart Poettering
parent 41e6f28acc
commit 1c5224b336

View file

@ -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)