]> git.ipfire.org Git - thirdparty/systemd.git/blob - mkosi.conf
Merge pull request #30284 from YHNdnzj/fstab-wantedby-defaultdeps
[thirdparty/systemd.git] / mkosi.conf
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 [Config]
4 Images=system
5
6 [Output]
7 @OutputDirectory=mkosi.output
8 BuildDirectory=mkosi.builddir
9 CacheDirectory=mkosi.cache
10
11 [Content]
12 # Prevent ASAN warnings when building the image and ship the real ASAN options prefixed with MKOSI_.
13 Environment=ASAN_OPTIONS=verify_asan_link_order=false
14 MKOSI_ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:disable_coredump=0:use_madv_dontdump=1
15 MKOSI_UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1
16
17 [Host]
18 @Incremental=yes
19 @QemuMem=2G
20 @RuntimeSize=8G
21 KernelCommandLineExtra=systemd.crash_shell
22 systemd.log_level=debug
23 systemd.log_ratelimit_kmsg=0
24 systemd.journald.forward_to_console
25 systemd.journald.max_level_console=warning
26 # Disable the kernel's ratelimiting on userspace logging to kmsg.
27 printk.devkmsg=on
28 # Make sure /sysroot is mounted rw in the initrd.
29 rw
30 # Lower the default device timeout so we get a shell earlier if the root device does
31 # not appear for some reason.
32 systemd.default_device_timeout_sec=10
33 # Make sure no LSMs are enabled by default.
34 apparmor=0
35 selinux=0
36 enforcing=0
37 systemd.early_core_pattern=/core
38 systemd.firstboot=no