#1122772 rtl-sdr: Please remove/replace usage of dh_movetousr

#1122772#5
Date:
2025-12-12 13:52:17 UTC
From:
To:
Hi,

your package rtl-sdr 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

#1122772#10
Date:
2026-07-05 15:28:12 UTC
From:
To:
Control: tags -1 + patch

I looked into this and noticed, that the dh-sequence-movetousr
Build-Depends is not needed anymore and can be dropped safely.

The udev rule is installed vi dh_installudev, which already does the
correct thing.

So what remains is to simply drop the Build-Depends on
dh-sequence-movetousr.
Please find attached a patch which implements this change.

Regards,
Michael