mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
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:
parent
41e6f28acc
commit
1c5224b336
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue