summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-03-01 16:25:26 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-03-01 16:25:26 +0100
commit9d6d51c507802d388beaa7b7082b8f3671ad58b2 (patch)
treee2e7bcda8586cc280eb2e56513eb3eae46eabff6
parent3d9c248eb0a325ab89ca4c9379da97eb5c38bd3c (diff)
downloadmkinitcpio-ykfde-9d6d51c507802d388beaa7b7082b8f3671ad58b2.tar.gz
mkinitcpio-ykfde-9d6d51c507802d388beaa7b7082b8f3671ad58b2.tar.zst
dracut: install shared library dependencies
-rwxr-xr-xdracut/module-setup.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh
index a7cce66..0bdde6f 100755
--- a/dracut/module-setup.sh
+++ b/dracut/module-setup.sh
@@ -14,7 +14,7 @@ install() {
inst_rules "$moddir/20-ykfde.rules"
inst_hook cmdline 30 "$moddir/parse-mod.sh"
inst_simple "$moddir/ykfde.sh" /sbin/ykfde.sh
- inst_simple /usr/lib/ykfde/worker
+ inst_binary /usr/lib/ykfde/worker
inst_simple /etc/ykfde.conf
inst_simple /usr/lib/systemd/system/ykfde-worker.service
ln_r $systemdsystemunitdir/ykfde-worker.service $systemdsystemunitdir/sysinit.target.wants/ykfde-worker.service
@@ -24,8 +24,7 @@ install() {
inst_simple /usr/lib/systemd/system/cryptsetup-pre.target
inst_simple /usr/lib/systemd/system/ykfde-2f.service
ln_r $systemdsystemunitdir/ykfde-2f.service $systemdsystemunitdir/sysinit.target.wants/ykfde-2f.service
- inst_simple /usr/bin/systemd-ask-password
-
+ inst_binary /usr/bin/systemd-ask-password
fi
dracut_need_initqueue