dracut: cryptsetup unlock whirlpool in initrd
This commit is contained in:
parent
f399db3506
commit
7b8f2e8301
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dracut'
|
||||
pkgname=dracut
|
||||
version=059
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --sysconfdir=/etc"
|
||||
conf_files="/etc/dracut.conf"
|
||||
|
|
Loading…
Reference in New Issue