diff mbox series

[isar-cip-core] initramfs-crypt-hook: Add missing lib for bookworm

Message ID 448dcbd7-e782-631a-85d3-333260f22411@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core] initramfs-crypt-hook: Add missing lib for bookworm | expand

Commit Message

Jan Kiszka June 22, 2023, 7:53 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Fixes

libgcc_s.so.1 must be installed for pthread_exit to work

when using the hook with bookworm.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .../initramfs-crypt-hook/files/encrypt_partition.systemd.hook   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.hook b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.hook
index e3a296fe..fa37b57a 100755
--- a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.hook
+++ b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.hook
@@ -47,7 +47,7 @@  if [ -x /usr/sbin/cryptsetup-reencrypt ]; then
     copy_exec /usr/sbin/cryptsetup-reencrypt
 fi
 
-for _LIBRARY in /usr/lib/*/libtss2*; do
+for _LIBRARY in /usr/lib/*/libtss2* /usr/lib/*/libgcc_s.so.1; do
     copy_exec "$_LIBRARY"
 done