]> git.ipfire.org Git - thirdparty/systemd.git/blame - mkosi.conf
tree-wise: several cleanups for logging
[thirdparty/systemd.git] / mkosi.conf
CommitLineData
6242cda9
DDM
1# SPDX-License-Identifier: LGPL-2.1-or-later
2
bcb335ac 3[Config]
945b722f 4@Images=system
962f9d6f 5MinimumVersion=23~devel
a940484e 6
6242cda9 7[Output]
b85e5496
DDM
8@OutputDirectory=build/mkosi.output
9@BuildDirectory=build/mkosi.builddir
10@CacheDirectory=build/mkosi.cache
82292173
DDM
11
12[Content]
01a07564 13# Prevent ASAN warnings when building the image and ship the real ASAN options prefixed with MKOSI_.
69d638e6 14Environment=ASAN_OPTIONS=verify_asan_link_order=false
01a07564
DDM
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
4d0f1451 17@SELinuxRelabel=no
45a0bb4b 18BuildSourcesEphemeral=yes
6242cda9 19
792eb0f4
DDM
20KernelCommandLine=systemd.crash_shell
21 systemd.log_level=debug,console:info
22 systemd.log_ratelimit_kmsg=0
792eb0f4
DDM
23 # Disable the kernel's ratelimiting on userspace logging to kmsg.
24 printk.devkmsg=on
25 # Make sure /sysroot is mounted rw in the initrd.
26 rw
27 # Lower the default device timeout so we get a shell earlier if the root device does
28 # not appear for some reason.
29 systemd.default_device_timeout_sec=20
30 # Make sure no LSMs are enabled by default.
31 apparmor=0
32 selinux=0
33 enforcing=0
34 systemd.early_core_pattern=/core
35 systemd.firstboot=no
36 systemd.setenv=SYSTEMD_ENABLE_LOG_CONTEXT=yes
37 SYSTEMD_ENABLE_LOG_CONTEXT=yes
38
6242cda9 39[Host]
c8924484 40Credentials=journal.storage=persistent
35356d7f 41@Incremental=yes
9d98617c 42@RuntimeBuildSources=yes
945b722f 43@QemuSmp=2
52842bb2 44ToolsTreePackages=virtiofsd