1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-05 13:18:06 +03:00
systemd/mkosi.images/base/mkosi.conf
Daan De Meyer 4d0f1451b5 Build distribution packages in mkosi
Instead of running meson install and hoping for the best, let's build
distribution packages from the downstream packaging specs. This gets
us the following:

- Vastly simplified mkosi scripts since we don't need a separate initrd
  image anymore but can just reuse the default mkosi initrd.
- Almost everything can move to the base image as its not the basis
  anymore for the initrd and as such we don't need to care about the
  size anymore.
- The systemd packages that get pulled in as dependencies of other
  packages get properly uninstalled and replaced with our packages that
  we built instead of just installing on top of an existing systemd
  installation with no guarantee that everything from that previous
  installation was removed.
- Much better testing coverage as what we're testing is much closer
  to what will actually be deployed in distributions.
- Immediate feedback if something we change breaks distribution packaging
- We get integration with the distribution for free as we'll automatically
  use the proper directories and such instead of having to hack this
  into a mkosi build script.
- ...
2024-03-07 10:47:19 +01:00

55 lines
1.0 KiB
Plaintext

# SPDX-License-Identifier: LGPL-2.1-or-later
[Output]
Format=directory
[Content]
Autologin=yes
# Make sure we build the default initrd as part of the base image as it will have access to the systemd and
# udev rpms which are built by the build scripts that are part of the base image.
Bootable=yes
# we want to build the UKI as part of the system image so make sure none are built here.
Bootloader=none
CleanPackageMetadata=no
Packages=
acl
bash-completion
coreutils
diffutils
dnsmasq
dosfstools
e2fsprogs
findutils
gcc # Sanitizer libraries
gdb
git
grep
gzip
jq
kbd
kexec-tools
kmod
less
mtools
nano
nftables
openssl
python3
qrencode
rsync
sed
socat
strace
systemd
tar
tmux
tree
udev
util-linux
valgrind
wireguard-tools
xfsprogs
zsh
zstd