1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00
systemd/mkosi.default.d/10-systemd.conf
Daan De Meyer 37d35150cb 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.
2022-08-23 15:19:26 +02:00

66 lines
1.1 KiB
Plaintext

# SPDX-License-Identifier: LGPL-2.1-or-later
# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
[Output]
Format=gpt_btrfs
Bootable=yes
HostonlyInitrd=yes
# Prevent ASAN warnings when building the image
Environment=ASAN_OPTIONS=verify_asan_link_order=false
OutputDirectory=mkosi.output
[Content]
BuildDirectory=mkosi.builddir
Cache=mkosi.cache
SourceFileTransferFinal=copy-git-others
Packages=
acl
bash-completion
coreutils
diffutils
dnsmasq
findutils
gcc # For sanitizer libraries
gdb
grep
kbd
kexec-tools
kmod
less
nano
nftables
openssl
python3
qrencode
sed
strace
tree
util-linux
valgrind
wireguard-tools
zsh
BuildPackages=
clang
gcc
gettext
git
gnu-efi
gperf
llvm
meson
pkgconf
rpm
rsync
zstd
[Host]
QemuHeadless=yes
Netdev=yes
QemuMem=2G
[Validation]
Password=
Autologin=yes