Bug#1088673: mkosi: improve declared Depends/Recommends/Suggests

Helmut Grohne helmut at subdivi.de
Fri Nov 29 11:01:53 GMT 2024


Package: mkosi
Version: 24.3-1
Severity: wishlist
Control: block -1 by 1086860

Please update mkosi's package relations.

In order to use --format=disk, one needs systemd-repart. That package is
not listed in any of Depends, Recommends nor Suggests. I am not sure how
frequently that option is being used, but Suggests seems like a minimum
here and I guess that Recommends would be sensible.

In order to use --bootable, one needs bootctl. bootctl is currently
installed into systemd-boot and that package tries to make your system
boot using systemd. I don't think depending or recommending systemd-boot
is a sensible thing to do at this point. systemd needs to split the
bootctl command (to be used by mkosi) from "systemd is my bootloader"
such that those components can be requested independently. This problem
has been filed as #1086860. In the mean time, adding systemd-boot to
Suggests seems sensible to me to prevent it from being removed when
mkosi is installed.

In order to use --format=uki (or --format=esp), the systemd-ukify
package is needed. Note that systemd-ukify is still considered
experimental and its API may change. Adding this to Suggsts (or even
Recommends maybe) also would improve the user experience.

Note that mkosi has a mkosi dependencies subcommand suggesting a lot
more packages. Not sure how important each of those is, but I think it
is clear that the default installation of mkosi in Debian with
Recommends enabled is suboptimal.

Helmut



More information about the Pkg-systemd-maintainers mailing list