summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-01 22:18:24 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-10-01 22:18:24 +0200
commitd4dd18af2c5672c71e5a01e7ef38d5b15fc3dc92 (patch)
treeaf6e8131946fdde89a0c33f3d73fed8edbe10325 /install
parent9d89a654727af9b37cb8437b017dc7545549e00c (diff)
downloadmkinitcpio-ykfde-d4dd18af2c5672c71e5a01e7ef38d5b15fc3dc92.tar.gz
mkinitcpio-ykfde-d4dd18af2c5672c71e5a01e7ef38d5b15fc3dc92.tar.zst
use inotifywait to work around race condition
It was passible that the keyfile was created too late, but the password agent was not ready yet. Work around this by waiting for a new request.
Diffstat (limited to 'install')
-rw-r--r--install/ykfde3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ykfde b/install/ykfde
index f24580f..7489e26 100644
--- a/install/ykfde
+++ b/install/ykfde
@@ -1,8 +1,9 @@
#!/bin/sh
build() {
- add_binary ykchalresp
+ add_binary inotifywait
add_binary tr
+ add_binary ykchalresp
add_binary /usr/lib/udev/ykfde
add_binary /usr/lib/systemd/systemd-reply-password
add_file /usr/lib/initcpio/udev/20-ykfde.rules /usr/lib/udev/rules.d/20-ykfde.rules