]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(crypt): add missing libraries
authorJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 13 Feb 2023 20:22:56 +0000 (20:22 +0000)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Wed, 15 Feb 2023 02:14:27 +0000 (18:14 -0800)
Add missing libraries, closes #2137

modules.d/90crypt/module-setup.sh

index 572cba28fdeae2d7df8c2f6f4a6322ff890f2046..d5ac45ba223eeecd74497ad6a92eafa6e7b90d06 100755 (executable)
@@ -176,5 +176,11 @@ install() {
             systemd-ask-password systemd-tty-ask-password-agent
     fi
 
+    # Install required libraries.
+    _arch=${DRACUT_ARCH:-$(uname -m)}
+    inst_libdir_file \
+        {"tls/$_arch/",tls/,"$_arch/",}"/ossl-modules/fips.so" \
+        {"tls/$_arch/",tls/,"$_arch/",}"/ossl-modules/legacy.so"
+
     dracut_need_initqueue
 }