Hi!

On Mon, 2024-01-29 at 11:21:32 +0700, Arnaud Rebillout wrote:
> Package: dpkg
> Version: 1.22.4
> Severity: normal
> User: de...@kali.org
> Usertags: origin-kali

> Kali Linux is a rolling distro based on Debian testing. We go with a
> merged-usr layout for a while now, and therefore with patch away the
> warning message regarding merged-usr-via-aliased-dirs. We also don't
> install dpkg-fsys-usrunmess anymore, since dpkg 1.22.4.
> 
> Please find attached a patch that adds Kali to the list of distros with
> a usr-merged layout, along Debian and Ubuntu.

Thanks for the patch! Sorry, it seems this has fallen through the
cracks. At the time I received this I looked into adding support for
some new field in the origins file so that then downstreams would not
need to patch dpkg at all, but got stuck with how to name it, and
whether to make it a boolean or contain a set of values for things to
not warn or similar to not make it so specific, contrast something
like:

  Vendor: Kali
  ...
  Show-Usrmerge-Warnings: no

versus something like:

  Vendor: Kali
  ...
  Dpkg-Suppress-Warnings: usrmerge

or similar. But other ideas welcome, although now that I tried to
name the suppress field, it's starting to grow on me. In any case it
seemed preferable to try to come up with a generic solution, and
assumed that as you probably had already made this change in your
distribution source, this was not urgent. But if this is the only
delta you have I'd be fine merging something like the patch that you
provided for now until a more generic solution is implemented.

Thanks,
Guillem

Reply via email to