diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-24 20:11:28 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-24 20:12:54 +0200 |
commit | f6a28ed220fff32d0d61f99bef13f8bfb129d0df (patch) | |
tree | 06114f6472ccbac0fb29eee23ca22f2d57297eef | |
parent | 9220f64e20d0caa423d6df245f77ed976ab8ab8a (diff) | |
download | live-boot-f6a28ed220fff32d0d61f99bef13f8bfb129d0df.tar.gz live-boot-f6a28ed220fff32d0d61f99bef13f8bfb129d0df.zip |
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
-rwxr-xr-x | backend/initramfs-tools/live.hook | 2 |
1 files changed, 1 insertions, 1 deletions
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 |