]>
Commit | Line | Data |
---|---|---|
6242cda9 DDM |
1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
2 | ||
bcb335ac DDM |
3 | [Config] |
4 | Images=system | |
a940484e | 5 | |
6242cda9 | 6 | [Output] |
82292173 | 7 | OutputDirectory=mkosi.output |
e94f0af1 DDM |
8 | BuildDirectory=mkosi.builddir |
9 | CacheDirectory=mkosi.cache | |
82292173 DDM |
10 | |
11 | [Content] | |
01a07564 | 12 | # Prevent ASAN warnings when building the image and ship the real ASAN options prefixed with MKOSI_. |
69d638e6 | 13 | Environment=ASAN_OPTIONS=verify_asan_link_order=false |
01a07564 DDM |
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 | |
6242cda9 DDM |
16 | |
17 | [Host] | |
35356d7f DDM |
18 | @Incremental=yes |
19 | @QemuMem=2G | |
6e24a9dc | 20 | @RuntimeSize=8G |
4decc7a5 DDM |
21 | # Make sure we don't trigger systemd-firstboot prompting for the root password. |
22 | Credentials=passwd.plaintext-password.root= | |
58caedad | 23 | KernelCommandLineExtra=systemd.crash_shell |
58caedad | 24 | systemd.log_level=debug |
85003d12 | 25 | systemd.log_ratelimit_kmsg=0 |
58caedad DDM |
26 | systemd.journald.forward_to_console |
27 | systemd.journald.max_level_console=warning | |
d052cc88 DDM |
28 | # Disable the kernel's ratelimiting on userspace logging to kmsg. |
29 | printk.devkmsg=on | |
47e5e128 DDM |
30 | # Make sure /sysroot is mounted rw in the initrd. |
31 | rw | |
a47c48cb DDM |
32 | # Lower the default device timeout so we get a shell earlier if the root device does |
33 | # not appear for some reason. | |
34 | systemd.default_device_timeout_sec=10 | |
cc532533 DDM |
35 | # Make sure no LSMs are enabled by default. |
36 | apparmor=0 | |
37 | selinux=0 | |
38 | enforcing=0 | |
95b8bf9d | 39 | systemd.early_core_pattern=/core |