]>
Commit | Line | Data |
---|---|---|
6242cda9 DDM |
1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
2 | ||
bcb335ac | 3 | [Config] |
945b722f | 4 | @Images=system |
962f9d6f | 5 | MinimumVersion=23~devel |
a940484e | 6 | |
6242cda9 | 7 | [Output] |
eae7ce2d | 8 | @OutputDirectory=mkosi.output |
c00b17f6 DDM |
9 | @BuildDirectory=mkosi.builddir |
10 | @CacheDirectory=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 | 14 | Environment=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 | 18 | BuildSourcesEphemeral=yes |
6242cda9 DDM |
19 | |
20 | [Host] | |
35356d7f | 21 | @Incremental=yes |
6e24a9dc | 22 | @RuntimeSize=8G |
9d98617c | 23 | @RuntimeBuildSources=yes |
945b722f | 24 | @QemuSmp=2 |
52842bb2 | 25 | ToolsTreePackages=virtiofsd |
58caedad | 26 | KernelCommandLineExtra=systemd.crash_shell |
8630fb60 | 27 | systemd.log_level=debug,console:info |
85003d12 | 28 | systemd.log_ratelimit_kmsg=0 |
58caedad DDM |
29 | systemd.journald.forward_to_console |
30 | systemd.journald.max_level_console=warning | |
d052cc88 DDM |
31 | # Disable the kernel's ratelimiting on userspace logging to kmsg. |
32 | printk.devkmsg=on | |
47e5e128 DDM |
33 | # Make sure /sysroot is mounted rw in the initrd. |
34 | rw | |
a47c48cb DDM |
35 | # Lower the default device timeout so we get a shell earlier if the root device does |
36 | # not appear for some reason. | |
20c7c570 | 37 | systemd.default_device_timeout_sec=20 |
cc532533 DDM |
38 | # Make sure no LSMs are enabled by default. |
39 | apparmor=0 | |
40 | selinux=0 | |
41 | enforcing=0 | |
95b8bf9d | 42 | systemd.early_core_pattern=/core |
641489e2 | 43 | systemd.firstboot=no |
1bee93c4 DDM |
44 | systemd.setenv=SYSTEMD_ENABLE_LOG_CONTEXT=yes |
45 | SYSTEMD_ENABLE_LOG_CONTEXT=yes |