]> git.pld-linux.org Git - packages/dracut.git/blob - dracut-luks_password_wait.patch
Do not panic when LUKS password is not early enough
[packages/dracut.git] / dracut-luks_password_wait.patch
1 diff -dur dracut-034.orig/modules.d/98systemd/dracut-initqueue.sh dracut-034/modules.d/98systemd/dracut-initqueue.sh
2 --- dracut-034.orig/modules.d/98systemd/dracut-initqueue.sh     2013-10-08 09:55:26.000000000 +0200
3 +++ dracut-034/modules.d/98systemd/dracut-initqueue.sh  2014-01-11 15:02:54.852353296 +0100
4 @@ -52,6 +52,10 @@
5      # no more udev jobs and queues empty.
6      sleep 0.5
7  
8 +    for i in /run/systemd/ask-password/ask.*; do
9 +        [ -e "$i" ] && continue 2
10 +    done
11 +
12      if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then
13          for job in $hookdir/initqueue/timeout/*.sh; do
14              [ -e "$job" ] || break
This page took 0.044329 seconds and 3 git commands to generate.