diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-02-24 18:50:39 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-02-24 18:50:39 +0000 |
| commit | 88f11dc01bb676bf652512d6bf23ba0f10f5101f (patch) | |
| tree | e8534eda0d38dfaf12eb4ba69b27f322d37a1fb7 /data | |
| parent | 5661e745c3863192c4594ee0357c776f713db4a5 (diff) | |
| download | vyos-build-88f11dc01bb676bf652512d6bf23ba0f10f5101f.tar.gz vyos-build-88f11dc01bb676bf652512d6bf23ba0f10f5101f.zip | |
T8311: De-hardcode arch for live-build-config 92-strip-symbols
Diffstat (limited to 'data')
| -rwxr-xr-x | data/live-build-config/hooks/live/92-strip-symbols.chroot | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
