Control: tags -1 + patch

Attached is a patch which implements this change.
I'm happy to NMU in case you are busy.

Regards,
Michael

On Fri, 12 Dec 2025 14:52:17 +0100 [email protected] wrote:
Source: pax
Version: 20240817-1
Severity: normal
User: [email protected]
Usertags: dh_movetousr_removal

Hi,

your package pax either Build-Depends on dh-sequence-movetousr or
uses dh_movetousr conditionally to move files from aliased locations
like /sbin, /bin or /lib to the canonical location in /usr.

Eventually, we would like to get rid of this debhelper addon.
Packages should use the canonical paths without any postprocessing.

This means, files are installed directly into /usr.

Please note, that such a change must not be backported to bookworm or
older. If you intend to provide such backports, these changes must be
reverted for those releases. If this means an undue burden on your
workflow our recommendation is to postpone this cleanup.

The motivation for this bug report is, to inform maintainers, that
installing files into the canonical location explicitly, is now the
preferred approach and dh_movetousr is now a deprecated tool.

The goal is, to have dh_movetousr removed after forky is released. We
can revise this plan, if needed. Please keep this timeline in mind
and let us know if this doesn't work for you.

For more information see [1].

If you have further questions, there is an IRC channel named
#debian-usrmerge on OFTC.

Regards,

Michael

[1] https://lists.debian.org/debian-devel/2025/11/msg00245.html


diff -Nru pax-20240817/debian/changelog pax-20240817/debian/changelog
--- pax-20240817/debian/changelog       2024-08-18 03:07:07.000000000 +0200
+++ pax-20240817/debian/changelog       2026-11-28 23:31:02.000000000 +0100
@@ -1,3 +1,11 @@
+pax (1:20240817-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove usage of dh_movetousr and install files directly into /usr.
+    (Closes: #1122773)
+
+ -- Michael Biebl <[email protected]>  Sat, 28 Nov 2026 23:31:02 +0100
+
 pax (1:20240817-1) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff -Nru pax-20240817/debian/pax.install pax-20240817/debian/pax.install
--- pax-20240817/debian/pax.install     2024-08-18 03:06:16.000000000 +0200
+++ pax-20240817/debian/pax.install     2026-11-28 23:30:47.000000000 +0100
@@ -1 +1 @@
-builddir/pax bin/
+builddir/pax usr/bin/
diff -Nru pax-20240817/debian/pax.links pax-20240817/debian/pax.links
--- pax-20240817/debian/pax.links       2024-08-18 03:06:16.000000000 +0200
+++ pax-20240817/debian/pax.links       2026-11-28 23:31:02.000000000 +0100
@@ -1,2 +1,2 @@
-bin/pax bin/paxcpio
-bin/pax bin/paxtar
+usr/bin/pax usr/bin/paxcpio
+usr/bin/pax usr/bin/paxtar
diff -Nru pax-20240817/debian/rules pax-20240817/debian/rules
--- pax-20240817/debian/rules   2024-08-18 03:06:16.000000000 +0200
+++ pax-20240817/debian/rules   2026-11-28 23:30:20.000000000 +0100
@@ -50,6 +50,3 @@
            -e 's!conftest.c:\([0-9]*\(:[0-9]*\)*\): warning:!cW(\1) -!g' \
            -e 's!conftest.c:\([0-9]*\(:[0-9]*\)*\): note:!cN(\1) -!g'
        test x"$$(cat builddir/Build.rv 2>&1)" = x"0"
-
-execute_before_dh_installdeb:
-       if command -v dh_movetousr >/dev/null 2>&1; then dh_movetousr; fi

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to