25 lines
808 B
Diff
25 lines
808 B
Diff
|
From 5996f6b5d9b0bb957b4bb02c49c95a057761cba5 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?J=C3=B3hann=20B=2E=20Gu=C3=B0mundsson?= <johannbg@gmail.com>
|
||
|
Date: Mon, 13 Feb 2023 20:22:56 +0000
|
||
|
Subject: [PATCH] fix(crypt): add missing libraries
|
||
|
|
||
|
Add missing libraries, closes #2137
|
||
|
---
|
||
|
modules.d/90crypt/module-setup.sh | 6 ++++++
|
||
|
1 file changed, 6 insertions(+)
|
||
|
|
||
|
--- a/modules.d/90crypt/module-setup.sh
|
||
|
+++ b/modules.d/90crypt/module-setup.sh
|
||
|
@@ -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
|
||
|
}
|