]> git.ipfire.org Git - thirdparty/systemd.git/blob - mkosi.conf
Merge pull request #32346 from yuwata/sd-radv-handle-header-param-gracefully
[thirdparty/systemd.git] / mkosi.conf
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 [Config]
4 @Images=system
5 MinimumVersion=23~devel
6
7 [Output]
8 @OutputDirectory=mkosi.output
9 @BuildDirectory=mkosi.builddir
10 @CacheDirectory=mkosi.cache
11
12 [Content]
13 # Prevent ASAN warnings when building the image and ship the real ASAN options prefixed with MKOSI_.
14 Environment=ASAN_OPTIONS=verify_asan_link_order=false
15 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
16 MKOSI_UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1
17 @SELinuxRelabel=no
18 BuildSourcesEphemeral=yes
19
20 KernelCommandLine=systemd.crash_shell
21 systemd.log_level=debug,console:info
22 systemd.log_ratelimit_kmsg=0
23 systemd.journald.forward_to_console
24 systemd.journald.max_level_console=warning
25 # Disable the kernel's ratelimiting on userspace logging to kmsg.
26 printk.devkmsg=on
27 # Make sure /sysroot is mounted rw in the initrd.
28 rw
29 # Lower the default device timeout so we get a shell earlier if the root device does
30 # not appear for some reason.
31 systemd.default_device_timeout_sec=20
32 # Make sure no LSMs are enabled by default.
33 apparmor=0
34 selinux=0
35 enforcing=0
36 systemd.early_core_pattern=/core
37 systemd.firstboot=no
38 systemd.setenv=SYSTEMD_ENABLE_LOG_CONTEXT=yes
39 SYSTEMD_ENABLE_LOG_CONTEXT=yes
40
41 [Host]
42 @Incremental=yes
43 @RuntimeSize=8G
44 @RuntimeBuildSources=yes
45 @QemuSmp=2
46 ToolsTreePackages=virtiofsd