Control: tags -1 + patch

Hi Nicholas

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

Hi,

your package btrfsmaintenance 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 patch which implements this change.

Regards,
Michael
diff -Nru btrfsmaintenance-0.5.2/debian/btrfsmaintenance.install 
btrfsmaintenance-0.5.2/debian/btrfsmaintenance.install
--- btrfsmaintenance-0.5.2/debian/btrfsmaintenance.install      2024-08-06 
18:59:48.000000000 +0200
+++ btrfsmaintenance-0.5.2/debian/btrfsmaintenance.install      2026-07-04 
22:53:42.000000000 +0200
@@ -8,13 +8,13 @@
 btrfs-trim.sh => /usr/share/btrfsmaintenance/btrfs-trim.sh
 btrfsmaintenance-functions => 
/usr/share/btrfsmaintenance/btrfsmaintenance-functions
 
-btrfsmaintenance-refresh.service => 
/lib/systemd/system/btrfsmaintenance-refresh.service
-btrfsmaintenance-refresh.path => 
/lib/systemd/system/btrfsmaintenance-refresh.path
-btrfs-balance.service => /lib/systemd/system/btrfs-balance.service
-btrfs-defrag.service => /lib/systemd/system/btrfs-defrag.service
-btrfs-scrub.service => /lib/systemd/system/btrfs-scrub.service
-btrfs-trim.service => /lib/systemd/system/btrfs-trim.service
-btrfs-balance.timer => /lib/systemd/system/btrfs-balance.timer
-btrfs-defrag.timer => /lib/systemd/system/btrfs-defrag.timer
-btrfs-scrub.timer => /lib/systemd/system/btrfs-scrub.timer
-btrfs-trim.timer => /lib/systemd/system/btrfs-trim.timer
+btrfsmaintenance-refresh.service => 
/usr/lib/systemd/system/btrfsmaintenance-refresh.service
+btrfsmaintenance-refresh.path => 
/usr/lib/systemd/system/btrfsmaintenance-refresh.path
+btrfs-balance.service => /usr/lib/systemd/system/btrfs-balance.service
+btrfs-defrag.service => /usr/lib/systemd/system/btrfs-defrag.service
+btrfs-scrub.service => /usr/lib/systemd/system/btrfs-scrub.service
+btrfs-trim.service => /usr/lib/systemd/system/btrfs-trim.service
+btrfs-balance.timer => /usr/lib/systemd/system/btrfs-balance.timer
+btrfs-defrag.timer => /usr/lib/systemd/system/btrfs-defrag.timer
+btrfs-scrub.timer => /usr/lib/systemd/system/btrfs-scrub.timer
+btrfs-trim.timer => /usr/lib/systemd/system/btrfs-trim.timer
diff -Nru btrfsmaintenance-0.5.2/debian/changelog 
btrfsmaintenance-0.5.2/debian/changelog
--- btrfsmaintenance-0.5.2/debian/changelog     2024-08-06 18:59:48.000000000 
+0200
+++ btrfsmaintenance-0.5.2/debian/changelog     2026-07-04 22:53:44.000000000 
+0200
@@ -1,3 +1,10 @@
+btrfsmaintenance (0.5.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Avoid usage of dh_movetousr (Closes: #1122746)
+
+ -- Michael Biebl <[email protected]>  Sat, 04 Jul 2026 22:53:44 +0200
+
 btrfsmaintenance (0.5.2-1) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru btrfsmaintenance-0.5.2/debian/control 
btrfsmaintenance-0.5.2/debian/control
--- btrfsmaintenance-0.5.2/debian/control       2024-08-06 18:59:48.000000000 
+0200
+++ btrfsmaintenance-0.5.2/debian/control       2026-07-04 22:52:58.000000000 
+0200
@@ -3,7 +3,6 @@
 Priority: optional
 Maintainer: Nicholas D Steeves <[email protected]>
 Build-Depends: debhelper-compat (= 13), dh-exec (>= 0.14)
-             , dh-sequence-movetousr
              , go-md2man
 Rules-Requires-Root: no
 Standards-Version: 4.6.2

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to