mkosi: Only build system preset by default
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 9 Sep 2023 08:20:01 +0000 (10:20 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 9 Sep 2023 13:45:49 +0000 (15:45 +0200)
commita940484ee53152cc7d401e635267571a114319a4
treec37854bfc5b6649e371e0f8e3a180cd17381a01c
parent076a16dee8a7851468dd9edd99d3c0ea5fb92f87
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.
mkosi.conf.d/10-systemd.conf
mkosi.presets/initrd/mkosi.conf
mkosi.presets/system/mkosi.conf
mkosi.presets/system/mkosi.conf.d/05-initrd.conf [new file with mode: 0644]