summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-03-02 16:09:05 +0100
committerChristian Breunig <christian@breunig.cc>2026-03-02 16:09:05 +0100
commit721297c4ed2e6e5ba42e9bd2d67863de7a5d13bf (patch)
treecdad4cb1904878e87fd4cdbf5021ffea46fdc869 /data
parent88ae1fa537fef4082c2ac661beb529086fdcffe0 (diff)
downloadvyos-build-721297c4ed2e6e5ba42e9bd2d67863de7a5d13bf.tar.gz
vyos-build-721297c4ed2e6e5ba42e9bd2d67863de7a5d13bf.zip
T8311: move to GNU coreutils when building GLIBC multiarch variable
Related to commit 39dc9c98c68 ("T8311: fix initramfs hook "dpkg-architecture: command not found"). Drop dpkg-dev implementation in favour of GNU coreutils. On x86_64 (aka amd64) both yield the same result: $ echo $(uname -m)-linux-gnu x86_64-linux-gnu $ echo $(dpkg-architecture -qDEB_HOST_MULTIARCH) x86_64-linux-gnu On aarch64 (aka arm64) both yield the same result: $ echo $(uname -m)-linux-gnu aarch64-linux-gnu $ echo $(dpkg-architecture -qDEB_HOST_MULTIARCH) aarch64-linux-gnu
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/92-strip-symbols.chroot2
1 files changed, 1 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 924cc467..8b816eb3 100755
--- a/data/live-build-config/hooks/live/92-strip-symbols.chroot
+++ b/data/live-build-config/hooks/live/92-strip-symbols.chroot
@@ -9,7 +9,7 @@
#
# Set variables.
-MULTIARCH="$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
+MULTIARCH="$(uname -m)-linux-gnu"
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"