summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2020-02-03 22:49:18 +0100
committerAurelien Jarno <aurelien@aurel32.net>2020-02-03 22:49:18 +0100
commitf357c380cb0ad596e6a2ff004dacb620bf9856bb (patch)
tree2f026fe57937eaaeb6482addb156bd4ff1d127e4 /debian
parentf586e3fefd4b8323f0f4d00d42482054c027d565 (diff)
debian/debhelper.in/libc.{preinst,postrm}: Remove fallback to dpkg --print-architecture for pre-multiarch systems.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/debhelper.in/libc.postrm2
-rw-r--r--debian/debhelper.in/libc.preinst2
3 files changed, 9 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index e50d8efb..30dae065 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+glibc (2.29-10) UNRELEASED; urgency=medium
+
+ * debian/debhelper.in/libc.{preinst,postrm}: Remove fallback to dpkg
+ --print-architecture for pre-multiarch systems.
+
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 03 Feb 2020 22:48:09 +0100
+
glibc (2.29-9) unstable; urgency=medium
[ Samuel Thibault ]
diff --git a/debian/debhelper.in/libc.postrm b/debian/debhelper.in/libc.postrm
index 2990095a..4c5cc6e0 100644
--- a/debian/debhelper.in/libc.postrm
+++ b/debian/debhelper.in/libc.postrm
@@ -5,7 +5,7 @@ if [ "$1" = remove ]; then
# When both the multiarch and the corresponding biarch packages are
# installed, removing the multiarch package will remove the dynamic
# linker. Recreate it in the postinst.
- ARCH=${DPKG_MAINTSCRIPT_ARCH:-$(dpkg --print-architecture)}
+ ARCH=${DPKG_MAINTSCRIPT_ARCH}
case "${ARCH}" in
kfreebsd-i386 | s390 | powerpc)
target="/lib32/ld.so.1"
diff --git a/debian/debhelper.in/libc.preinst b/debian/debhelper.in/libc.preinst
index f321e652..44ab8547 100644
--- a/debian/debhelper.in/libc.preinst
+++ b/debian/debhelper.in/libc.preinst
@@ -143,7 +143,7 @@ then
# sanity checking for the appropriate kernel on each architecture.
kernel_ver=`uname -r`
- case ${DPKG_MAINTSCRIPT_ARCH:-$(dpkg --print-architecture)} in
+ case ${DPKG_MAINTSCRIPT_ARCH} in
*)
# The GNU libc requires a >= 3.2 kernel, found in wheezy
kernel_ver_min=3.2