#1023396 Please add support for systemd-binfmt

Package:
due
Source:
due
Submitter:
Michael Biebl
Date:
2024-07-30 00:33:03 UTC
Severity:
normal
Tags:
#1023396#5
Date:
2022-11-03 12:01:07 UTC
From:
To:
Hi,

your package due declares a dependency (Recommends) on binfmt-support.
It doesn't directly ship and binfmt-support configuration files or calls
update-binfmts directly.
So the dependency was likely added only to ensure that the binfmt kernel
support is activated.


systemd provides a builtin, cross-distro facility named systemd-binfmt to
register binary formats.

You can read more about it at
https://www.freedesktop.org/software/systemd/man/systemd-binfmt.html
https://www.freedesktop.org/software/systemd/man/binfmt.d.html
https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html


It is thus not necessary anymore, to install binfmt-support on a systemd
based system.

The attached patch adds systemd as an alternative dependency to
binfmt-support, so binfmt-support is no longer installed automatically
if systemd is already installed.


Regards,
Michael

#1023396#10
Date:
2024-07-30 00:27:52 UTC
From:
To:
Hi,
 well this abysmally fell through the cracks.
Agreed on the fix - I've removed the reference and verified that things
work as expected.
I'm currently at DebConf24 and am working on getting version 4.1 of DUE
upstreamed with this fix.
Thanks!
-Alex

#1023396#15
Date:
2024-07-30 00:31:21 UTC
From:
To:
Hi,
 well this totally fell through the cracks and I just caught it while going
through a list of things to check before submitting code for upstreaming.
The fix makes sense, I've pulled the reference and have verified that I
didn't break anything in the process.
So hopefully this will be submitted by the end of the week.
Thanks!
-Alex