From 88f11dc01bb676bf652512d6bf23ba0f10f5101f Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Tue, 24 Feb 2026 18:50:39 +0000 Subject: T8311: De-hardcode arch for live-build-config 92-strip-symbols --- data/live-build-config/hooks/live/92-strip-symbols.chroot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/live-build-config/hooks/live/92-strip-symbols.chroot b/data/live-build-config/hooks/live/92-strip-symbols.chroot index f44cb01d..924cc467 100755 --- a/data/live-build-config/hooks/live/92-strip-symbols.chroot +++ b/data/live-build-config/hooks/live/92-strip-symbols.chroot @@ -9,6 +9,7 @@ # # Set variables. +MULTIARCH="$(dpkg-architecture -qDEB_HOST_MULTIARCH)" STRIPCMD_REGULAR="strip --remove-section=.comment --remove-section=.note --preserve-dates" STRIPCMD_DEBUG="strip --strip-debug --remove-section=.comment --remove-section=.note --preserve-dates" STRIPCMD_UNNEEDED="strip --strip-unneeded --remove-section=.comment --remove-section=.note --preserve-dates" @@ -20,7 +21,7 @@ STRIPDIR_UNNEEDED=" /etc/hsflowd/modules /usr/bin /usr/lib/openvpn -/usr/lib/x86_64-linux-gnu +/usr/lib/${MULTIARCH} /usr/lib32 /usr/lib64 /usr/libx32 -- cgit v1.2.3