summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:30:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:30:24 +0000
commit3b7636829a274b789605fe2633d2967b690ece67 (patch)
tree3708291710219c92c427630886695f1325975c98
parentReleasing progress-linux version 2.39.3-7~progress7.99u1. (diff)
downloadutil-linux-3b7636829a274b789605fe2633d2967b690ece67.tar.xz
util-linux-3b7636829a274b789605fe2633d2967b690ece67.zip
Merging debian version 2.39.3-8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog13
-rw-r--r--debian/gbp.conf2
-rwxr-xr-xdebian/rules10
-rw-r--r--debian/util-linux.postinst10
-rw-r--r--debian/util-linux.postinst.linux8
5 files changed, 32 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index 5e054dc..6c122ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+util-linux (2.39.3-8) unstable; urgency=medium
+
+ [ Chris Hofstaedtler ]
+ * Break/Replace libuuid1t64 and provide it versioned (Closes: #1065242)
+ * Update architecture list for Provides: libuuid1t64
+ * d/gbp.conf: update debian-branch
+
+ [ Johannes Schauer Marin Rodrigues ]
+ * util-linux.postinst: avoid running uname in maintainer script for
+ chrootless hurd support (Closes: #1063638)
+
+ -- Chris Hofstaedtler <zeha@debian.org> Sat, 02 Mar 2024 13:45:06 +0100
+
util-linux (2.39.3-7~progress7.99u1) graograman-backports; urgency=medium
* Uploading to graograman-backports, remaining changes:
diff --git a/debian/gbp.conf b/debian/gbp.conf
index 1756df7..b58e1d3 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -1,5 +1,5 @@
[DEFAULT]
-debian-branch = master
+debian-branch = debian/unstable
upstream-branch = upstream
pristine-tar = True
compression = xz
diff --git a/debian/rules b/debian/rules
index a43cd0b..49861f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -85,6 +85,8 @@ override_dh_auto_clean:
# drop arch-overrides, generated in dh_install by dh-exec usage.
rm -f debian/uuid-runtime.install.$(DEB_HOST_ARCH) \
debian/util-linux.install.$(DEB_HOST_ARCH)
+ # remove postinst generated in dh_installdeb
+ rm -f debian/util-linux.postinst
override_dh_install:
ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
@@ -174,3 +176,11 @@ else
@echo "WARNING: non-linux detected, making tests non-fatal."
dh_auto_test --max-parallel=1 || true
endif
+
+execute_before_dh_installdeb:
+ifeq ($(DEB_HOST_ARCH_OS), linux)
+ # due to UL_REQUIRES_LINUX([more]), only set up pager alternative
+ # on linux -- this avoids running uname in the maintainer script
+ # as doing so would be unreliable for chrootless installations
+ cp debian/util-linux.postinst.linux debian/util-linux.postinst
+endif
diff --git a/debian/util-linux.postinst b/debian/util-linux.postinst
deleted file mode 100644
index c9a446e..0000000
--- a/debian/util-linux.postinst
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$(uname -s)" = "Linux" ]; then
- update-alternatives --install /usr/bin/pager pager /bin/more 50 \
- --slave /usr/share/man/man1/pager.1.gz pager.1.gz \
- /usr/share/man/man1/more.1.gz
-fi
-
-#DEBHELPER#
diff --git a/debian/util-linux.postinst.linux b/debian/util-linux.postinst.linux
new file mode 100644
index 0000000..9df1520
--- /dev/null
+++ b/debian/util-linux.postinst.linux
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+update-alternatives --install /usr/bin/pager pager /bin/more 50 \
+ --slave /usr/share/man/man1/pager.1.gz pager.1.gz \
+ /usr/share/man/man1/more.1.gz
+
+#DEBHELPER#