[Debian-astro-maintainers] Bug#1122761: fxload: Please remove/replace usage of dh_movetousr
Michael Biebl
biebl at debian.org
Sun Jul 5 15:37:41 BST 2026
Control: tags -1 + patch
On Fri, 12 Dec 2025 14:52:17 +0100 biebl at debian.org wrote:
> Source: fxload
> Version: 0.0.20081013-3
> Severity: normal
> User: helmutg at debian.org
> Usertags: dh_movetousr_removal
>
> Hi,
>
> your package fxload 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
>
>
Please find attached a build-tested patch for your convenience.
Regards,
Michael
-------------- next part --------------
diff -Nru fxload-0.0.20081013/debian/changelog fxload-0.0.20081013/debian/changelog
--- fxload-0.0.20081013/debian/changelog 2024-05-25 19:03:02.000000000 +0200
+++ fxload-0.0.20081013/debian/changelog 2026-07-05 00:00:03.000000000 +0200
@@ -1,3 +1,10 @@
+fxload (0.0.20081013-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Avoid usage of dh_movetousr (Closes: #1122761)
+
+ -- Michael Biebl <biebl at debian.org> Sun, 05 Jul 2026 00:00:03 +0200
+
fxload (0.0.20081013-3) unstable; urgency=medium
* debian/control: add dh-sequence-movetousr
diff -Nru fxload-0.0.20081013/debian/control fxload-0.0.20081013/debian/control
--- fxload-0.0.20081013/debian/control 2024-05-25 19:03:02.000000000 +0200
+++ fxload-0.0.20081013/debian/control 2026-07-04 23:58:41.000000000 +0200
@@ -5,7 +5,6 @@
Uploaders: Tzafrir Cohen <tzafrir at debian.org>
, Thorsten Alteholz <debian at alteholz.de>
Build-Depends: debhelper-compat (= 13)
- , dh-sequence-movetousr
Standards-Version: 4.7.0
Homepage: http://sourceforge.net/projects/linux-hotplug/
Rules-Requires-Root: no
diff -Nru fxload-0.0.20081013/debian/dirs fxload-0.0.20081013/debian/dirs
--- fxload-0.0.20081013/debian/dirs 2024-05-25 19:03:02.000000000 +0200
+++ fxload-0.0.20081013/debian/dirs 2026-07-04 23:59:01.000000000 +0200
@@ -1 +1 @@
-sbin
+usr/sbin
diff -Nru fxload-0.0.20081013/debian/patches/sbindir fxload-0.0.20081013/debian/patches/sbindir
--- fxload-0.0.20081013/debian/patches/sbindir 1970-01-01 01:00:00.000000000 +0100
+++ fxload-0.0.20081013/debian/patches/sbindir 2026-07-05 00:00:03.000000000 +0200
@@ -0,0 +1,17 @@
+From: Michael Biebl <biebl at debian.org>
+Date: Jul, 05 2026 14:31:25 +0200
+Subject: [PATCH] Move sbindir to /usr
+
+Bug-Debian: https://bugs.debian.org/1122761
+
+--- fxload-0.0.20081013.orig/Makefile
++++ fxload-0.0.20081013/Makefile
+@@ -5,7 +5,7 @@
+
+ prefix = $(DESTDIR)
+ exec_prefix = ${prefix}
+-sbindir = ${exec_prefix}/sbin
++sbindir = ${exec_prefix}/usr/sbin
+ mandir = ${prefix}/usr/share/man
+
+ INSTALL = /usr/bin/install -cD
diff -Nru fxload-0.0.20081013/debian/patches/series fxload-0.0.20081013/debian/patches/series
--- fxload-0.0.20081013/debian/patches/series 2024-05-25 19:03:02.000000000 +0200
+++ fxload-0.0.20081013/debian/patches/series 2026-07-05 00:00:03.000000000 +0200
@@ -1,2 +1,3 @@
destdir
remove_ident
+sbindir
diff -Nru fxload-0.0.20081013/debian/rules fxload-0.0.20081013/debian/rules
--- fxload-0.0.20081013/debian/rules 2024-05-25 19:03:02.000000000 +0200
+++ fxload-0.0.20081013/debian/rules 2026-07-05 00:00:03.000000000 +0200
@@ -4,7 +4,6 @@
dh $@
override_dh_auto_install:
- mkdir -p debian/fxload/sbin
mkdir -p debian/fxload/usr/share/man/man8/
mkdir -p debian/fxload/usr/share/usb/
find
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20260705/d51da8b5/attachment-0001.sig>
More information about the Debian-astro-maintainers
mailing list