1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-18 10:04:04 +03:00
Daan De Meyer a940484ee5 mkosi: Only build system preset by default
Let's not build all presets by default, but only the system preset.
Also, let's only make the system preset depend on the initrd preset
if we're building a bootable disk image. This means that if we build
the system image as a cpio, uki or directory, the initrd preset will
be skipped as it's not necessary, making the build a little faster.
2023-09-09 15:45:49 +02:00

31 lines
623 B
Plaintext

# SPDX-License-Identifier: LGPL-2.1-or-later
[Preset]
Dependencies=base
[Output]
Format=cpio
[Content]
BaseTrees=../../mkosi.output/base
ExtraTrees=../../mkosi.output/base-systemd
MakeInitrd=yes
Bootable=no
BuildPackages=
Packages=
Packages=
gzip
systemd
udev
# Arch Linux doesn't split their gcc-libs package so we manually remove unneeded stuff here to make sure it
# doesn't end up in the initrd.
RemoveFiles=
/usr/lib/libgfortran.so*
/usr/lib/libgo.so*
/usr/lib/libgomp.so*
/usr/lib/libgphobos.so*
/usr/lib/libobjc.so*
/usr/lib/libstdc++.so*