From 7dc918cad1a54cd00fd40a2a679b0587cb84eef8 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Thu, 6 Feb 2020 10:00:23 +0100 Subject: [PATCH] 90crypt: install crypt-run-generator in non-systemd environments --- modules.d/90crypt/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh index 51a045c2f..3ee4c5458 100755 --- a/modules.d/90crypt/module-setup.sh +++ b/modules.d/90crypt/module-setup.sh @@ -119,6 +119,7 @@ install() { fi inst_simple "$moddir/crypt-lib.sh" "/lib/dracut-crypt-lib.sh" + inst_script "$moddir/crypt-run-generator.sh" "/sbin/crypt-run-generator" if dracut_module_included "systemd"; then inst_multiple -o \ @@ -129,7 +130,6 @@ install() { $systemdsystemunitdir/cryptsetup.target \ $systemdsystemunitdir/sysinit.target.wants/cryptsetup.target \ systemd-ask-password systemd-tty-ask-password-agent - inst_script "$moddir"/crypt-run-generator.sh /sbin/crypt-run-generator fi dracut_need_initqueue -- 2.47.3