diff options
author | Frederic Crozat <fcrozat@suse.com> | 2011-08-04 16:46:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-08-24 16:23:44 +0200 |
commit | 1c5224b33630a1f95952796b2cb582be052e0c27 (patch) | |
tree | 18e4bb9fa544f21f086dbb7017a6ed5f81d59124 /src/cryptsetup-generator.c | |
parent | 41e6f28acc906960f21658c94ac79652705ded0c (diff) |
cryptsetup-generator: block boot when querying passphrase.
Ensure we wait for passphrase before starting tty1 or graphical display.
Needed when not using plymouth.
Diffstat (limited to 'src/cryptsetup-generator.c')
-rw-r--r-- | src/cryptsetup-generator.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index a340218fda..6f3aa786bc 100644 --- a/src/cryptsetup-generator.c +++ b/src/cryptsetup-generator.c @@ -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) |