Package: due
Version: 3.0.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: systemd-binfmt
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
diff --git a/debian/control b/debian/control
index 72d8cc2..b73dbaf 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,8 @@ Depends: ${misc:Depends},
rsync,
jq,
curl
-Recommends: binfmt-support, qemu, qemu-user-static
+Recommends: binfmt-support | systemd,
+ qemu, qemu-user-static
Description: Dedicated User Environment: manage build environments in Docker
containers
DUE uses templates to generate target specific build images based on any
version or architecture of any Debian release, and provides a launcher