]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Ensure we build all features/components in mkosi
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 22 Aug 2022 11:21:07 +0000 (13:21 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 23 Aug 2022 13:19:26 +0000 (15:19 +0200)
commit37d35150cbb5db063aaa8e5878ec03258414b0e5
treed25c6783f8b9ff7ae342a26cdebc690747f529c9
parent0f74ca8668ea7ebf920b4ccc4618d37bed5d0822
mkosi: Ensure we build all features/components in mkosi

Explicitly enable all features/components in the mkosi build to
ensure they all get built and we get an error if they can't be built.

We also rework the packages sections of all mkosi configs to reduce
duplication and cover all the dependencies necessary to build/use all
systemd features.

Note that for the final image, since systemd is installed by default
in base images, we rely on that to install the base library dependencies
and we only list extra optional dependencies and tools that aren't already
installed by default into the base image.

We also drop the centos stream 8 mkosi build as dependencies on that
distro are too out-of-date to be able to build all systemd features.
Since centos stream 9 has been out for a while, let's focus on that
and leave it to downstream to keep systemd building on centos stream 8.

Finally, there's a few additions to the mkosi scripts to make sure
services don't start by default on boot.
.github/workflows/mkosi.yml
mkosi.build
mkosi.default.d/10-systemd.conf
mkosi.default.d/arch/10-mkosi.arch
mkosi.default.d/centos_epel/10-mkosi.centos_epel
mkosi.default.d/debian/10-mkosi.debian
mkosi.default.d/fedora/10-mkosi.fedora
mkosi.default.d/opensuse/10-mkosi.opensuse
mkosi.default.d/ubuntu/10-mkosi.ubuntu
mkosi.postinst