summaryrefslogtreecommitdiff
path: root/mkosi.conf.d/10-systemd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.conf.d/10-systemd.conf')
-rw-r--r--mkosi.conf.d/10-systemd.conf73
1 files changed, 73 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-systemd.conf b/mkosi.conf.d/10-systemd.conf
new file mode 100644
index 0000000000..c144c86816
--- /dev/null
+++ b/mkosi.conf.d/10-systemd.conf
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
+
+[Output]
+Format=gpt_btrfs
+Bootable=yes
+HostonlyInitrd=yes
+# Prevent ASAN warnings when building the image
+Environment=ASAN_OPTIONS=verify_asan_link_order=false
+OutputDirectory=mkosi.output
+
+[Content]
+BuildDirectory=mkosi.builddir
+Cache=mkosi.cache
+SourceFileTransfer=mount
+SourceFileTransferFinal=copy-git-others
+Packages=
+ acl
+ bash-completion
+ coreutils
+ diffutils
+ dnsmasq
+ findutils
+ gcc # For sanitizer libraries
+ gdb
+ grep
+ kbd
+ kexec-tools
+ kmod
+ less
+ nano
+ nftables
+ openssl
+ python3
+ qrencode
+ sed
+ strace
+ tree
+ util-linux
+ valgrind
+ wireguard-tools
+ zsh
+
+BuildPackages=
+ bc
+ binutils
+ bison
+ clang
+ flex
+ gcc
+ gettext
+ git
+ gnu-efi
+ gperf
+ llvm
+ make
+ meson
+ pkgconf
+ rpm
+ rsync
+ tar
+ zstd
+
+[Host]
+QemuHeadless=yes
+Netdev=yes
+QemuMem=2G
+ExtraSearchPaths=build/
+
+[Validation]
+Password=
+Autologin=yes