Package: freedom-maker
Version: 0.31
Severity: wishlist
Tags: patch
User: pkg-systemd-maintain...@lists.alioth.debian.org
Usertags: systemd-binfmt

Hi,

your package freedom-maker declares a dependency 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 patchadds 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 1180a31..a2f51c4 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Architecture: all
 Depends:
  ${misc:Depends},
  ${python3:Depends},
- binfmt-support,
+ binfmt-support | systemd,
  btrfs-progs,
  debootstrap,
  dmsetup,

Reply via email to