mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey/initramfs: Update initramfs hook to correct drivers and include zkey plugins
The zkey tool might be configured to use plugins. Include the plugins also into the initramfs, otherwise zkey might not be usable at early boot time, when it is configure to use a plugin. Update the list of driver to include, pkey_sysfs does not exist, its built into the pkey base driver. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
479820528c
commit
5bedcff65c
@@ -29,7 +29,7 @@ esac
|
|||||||
. /usr/share/initramfs-tools/hook-functions
|
. /usr/share/initramfs-tools/hook-functions
|
||||||
|
|
||||||
# Add zcrypt modules
|
# Add zcrypt modules
|
||||||
zdev_modules="uvdevice pkey pkey_cca pkey_ep11 pkey_pckmo pkey_uv pkey_sysfs paes_s390 zcrypt zcrypt_cex4"
|
zdev_modules="uvdevice pkey pkey_cca pkey_ep11 pkey_pckmo pkey_uv paes_s390 zcrypt zcrypt_cex4"
|
||||||
|
|
||||||
for x in $zdev_modules ; do
|
for x in $zdev_modules ; do
|
||||||
manual_add_modules ${x}
|
manual_add_modules ${x}
|
||||||
@@ -40,6 +40,8 @@ copy_exec /sbin/chzcrypt
|
|||||||
copy_exec /sbin/lszcrypt
|
copy_exec /sbin/lszcrypt
|
||||||
copy_exec /usr/bin/zkey
|
copy_exec /usr/bin/zkey
|
||||||
copy_exec /usr/bin/zkey-cryptsetup
|
copy_exec /usr/bin/zkey-cryptsetup
|
||||||
|
copy_exec /usr/lib64/zkey/zkey-ekmfweb.so
|
||||||
|
copy_exec /usr/lib64/zkey/zkey-kmip.so
|
||||||
|
|
||||||
mkdir -p "${DESTDIR}/etc"
|
mkdir -p "${DESTDIR}/etc"
|
||||||
cp -a /etc/zkey "${DESTDIR}/etc/"
|
cp -a /etc/zkey "${DESTDIR}/etc/"
|
||||||
|
|||||||
Reference in New Issue
Block a user