1 # SPDX-License-Identifier: LGPL-2.1-or-later
29 RepartDirectories=mkosi.repart
30 OutputDirectory=build/mkosi.output
34 BuildDirectory=build/mkosi.builddir
35 CacheDirectory=build/mkosi.cache
36 BuildSourcesEphemeral=yes
45 mkosi.crt:/usr/lib/verity.d/mkosi.crt # sysext verification key
46 %O/minimal-0.root-%a.raw:/usr/share/minimal_0.raw
47 %O/minimal-0.root-%a-verity.raw:/usr/share/minimal_0.verity
48 %O/minimal-0.root-%a-verity-sig.raw:/usr/share/minimal_0.verity.sig
49 %O/minimal-1.root-%a.raw:/usr/share/minimal_1.raw
50 %O/minimal-1.root-%a-verity.raw:/usr/share/minimal_1.verity
51 %O/minimal-1.root-%a-verity-sig.raw:/usr/share/minimal_1.verity.sig
52 %O/minimal-base:/usr/share/TEST-13-NSPAWN-container-template
57 # Disable relabeling by default as it only matters for TEST-06-SELINUX, takes a non-trivial amount of time
58 # and results in lots of errors when building images as a regular user.
61 # Adding more kernel command line arguments is likely to hit the kernel command line limit (512 bytes) in
62 # various scenarios. Consider adding support for a credential instead if possible and using that.
65 systemd.log_level=debug,console:info
66 systemd.log_ratelimit_kmsg=0
67 # Disable the kernel's ratelimiting on userspace logging to kmsg.
69 # Make sure /sysroot is mounted rw in the initrd.
71 # Make sure no LSMs are enabled by default.
73 systemd.early_core_pattern=/core
79 # Disabled due to BTRFS issue, waiting for the fix to become available
83 KernelModulesInitrdExclude=.*
84 KernelModulesInitrdInclude=default
138 journal.storage=persistent
139 tty.serial.hvc0.agetty.autologin=root
140 tty.serial.hvc0.login.noauth=yes
141 tty.console.agetty.autologin=root
142 tty.console.login.noauth=yes
143 RuntimeBuildSources=yes
151 Include=%D/mkosi.sanitizers