From: Jo Zzsi Date: Sat, 4 Jan 2025 21:56:03 +0000 (-0500) Subject: fix(crypt): crypt-lib.sh optionally depends on stty X-Git-Tag: 106~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4532fb0f420a28026b91abda2ca0cc2e69aecca2;p=thirdparty%2Fdracut-ng.git fix(crypt): crypt-lib.sh optionally depends on stty Follow-up to 1af3531. --- diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh index 5d9356b47..8919b574a 100755 --- a/modules.d/90crypt/module-setup.sh +++ b/modules.d/90crypt/module-setup.sh @@ -145,6 +145,7 @@ install() { fi fi + inst_multiple -o stty inst_simple "$moddir/crypt-lib.sh" "/lib/dracut-crypt-lib.sh" inst_script "$moddir/crypt-run-generator.sh" "/sbin/crypt-run-generator" diff --git a/modules.d/91crypt-gpg/module-setup.sh b/modules.d/91crypt-gpg/module-setup.sh index 523cfcedc..501869a26 100755 --- a/modules.d/91crypt-gpg/module-setup.sh +++ b/modules.d/91crypt-gpg/module-setup.sh @@ -3,7 +3,7 @@ # GPG support is optional # called by dracut check() { - require_binaries gpg tr stty || return 1 + require_binaries gpg tr || return 1 if sc_requested; then if ! sc_supported; then @@ -23,7 +23,7 @@ depends() { # called by dracut install() { - inst_multiple gpg tr stty + inst_multiple gpg tr inst "$moddir/crypt-gpg-lib.sh" "/lib/dracut-crypt-gpg-lib.sh" if sc_requested; then