From f6a28ed220fff32d0d61f99bef13f8bfb129d0df Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 24 Jun 2021 20:11:28 +0200 Subject: Debian: T3641: fix wrong library path for x86_64 NOTE: This is only a workaround to get x86_64 builds running again but needs a proper solution. Bug is also present in the latest upstream version [1]. Debian now comes with multiarch/multilib support so libraries are no longer stored in /lib but rather /lib/x86_64-linux-gnu or any other architecture. [1]: https://salsa.debian.org/live-team/live-boot/-/blob/debian/1%2520210208/backend/initramfs-tools/live.hook#L47 --- backend/initramfs-tools/live.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/initramfs-tools/live.hook b/backend/initramfs-tools/live.hook index fc3d6b4..09d0c03 100755 --- a/backend/initramfs-tools/live.hook +++ b/backend/initramfs-tools/live.hook @@ -34,7 +34,7 @@ mkdir -p "${DESTDIR}/lib/live" cp -a /lib/live/boot "${DESTDIR}/lib/live" # klibc dependencies -for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr* +for FILE in /lib/x86_64-linux-gnu/libacl* /lib/x86_64-linux-gnu/libblkid* /lib/x86_64-linux-gnu/libuuid* /lib/x86_64-linux-gnu/libdevmapper* /lib/x86_64-linux-gnu/libattr* do if [ ! -e "${DESTDIR}/${FILE}" ] && ls "${FILE}" > /dev/null 2>&1 then -- cgit v1.2.3