[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [MBF] Please remove/replace usage of dh_movetousr



Hi Michael,

On 06/12/2025 16:09, Michael Biebl wrote:
Hi,

dh_movetousr was designed as an intermediate means to facilitate the
move to a merged /usr file system hierarchy in a straightforward manner.

This dh addon moves files from aliased paths like /sbin , /bin or /lib
to their canonical location in /usr.

Going forward, we would like to get rid of this debhelper addon and
instead have packages install the files directly into the canonical
location under /usr.

For most packages, getting rid of dh_movetousr / dh-sequence-movetousr
should be straightforward: Remove
dh-sequence-movetousr / dh_movetousr and instead install the files
directly into /usr.

Attached is a dd-list of affected packages.


The proposed text for the MBF is

"""
Hi,

your package #PACKAGE# 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.

For more information see [1].
As Helmut mentioned in his email, this will break backports to bookworm and older, so packages that intend to be backported in such a way should avoid this change until that is no longer necessary, or at least consider that. Your template should mention it.

Cheers,
Emilio


Reply to: