summaryrefslogtreecommitdiffstats
path: root/mkosi.default.d
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
commitb750101eb236130cf056c675997decbac904cc49 (patch)
treea5df1a06754bdd014cb975c051c83b01c9a97532 /mkosi.default.d
parentInitial commit. (diff)
downloadsystemd-upstream.tar.xz
systemd-upstream.zip
Adding upstream version 252.22.upstream/252.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mkosi.default.d')
-rw-r--r--mkosi.default.d/10-systemd.conf73
-rw-r--r--mkosi.default.d/arch/10-mkosi.arch37
-rw-r--r--mkosi.default.d/centos_epel/10-mkosi.centos_epel79
-rw-r--r--mkosi.default.d/debian/10-mkosi.debian70
-rw-r--r--mkosi.default.d/fedora/10-mkosi.fedora72
-rw-r--r--mkosi.default.d/opensuse/10-mkosi.opensuse83
-rw-r--r--mkosi.default.d/ubuntu/10-mkosi.ubuntu70
7 files changed, 484 insertions, 0 deletions
diff --git a/mkosi.default.d/10-systemd.conf b/mkosi.default.d/10-systemd.conf
new file mode 100644
index 0000000..c144c86
--- /dev/null
+++ b/mkosi.default.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
diff --git a/mkosi.default.d/arch/10-mkosi.arch b/mkosi.default.d/arch/10-mkosi.arch
new file mode 100644
index 0000000..50194b9
--- /dev/null
+++ b/mkosi.default.d/arch/10-mkosi.arch
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# Copyright © 2016 Zeal Jagannatha
+
+# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
+# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image.
+
+[Distribution]
+Distribution=arch
+
+[Content]
+Packages=
+ compsize
+ dhcp
+ gnutls
+ iproute
+ libbpf
+ libfido2
+ libmicrohttpd
+ libpwquality
+ libxkbcommon
+ man-db
+ openbsd-netcat
+ polkit
+ quota-tools
+ tpm2-tss
+ vim
+
+BuildPackages=
+ bpf
+ docbook-xsl
+ libxslt
+ linux-api-headers
+ pahole
+ perl
+ python-jinja
+ python-lxml
diff --git a/mkosi.default.d/centos_epel/10-mkosi.centos_epel b/mkosi.default.d/centos_epel/10-mkosi.centos_epel
new file mode 100644
index 0000000..c09eb41
--- /dev/null
+++ b/mkosi.default.d/centos_epel/10-mkosi.centos_epel
@@ -0,0 +1,79 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
+# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image.
+
+[Distribution]
+Distribution=centos_epel
+
+[Output]
+Format=gpt_xfs
+HostonlyInitrd=no
+
+[Content]
+Packages=
+ audit
+ cryptsetup
+ dhcp-server
+ glib2
+ glibc-minimal-langpack
+ gnutls
+ iproute
+ iproute-tc
+ kernel-modules-extra
+ libbpf
+ libfido2
+ libmicrohttpd
+ libxcrypt
+ libxkbcommon
+ netcat
+ p11-kit
+ pam
+ polkit
+ procps-ng
+ quota
+ tpm2-tss
+ vim-common
+
+BuildPackages=
+ bpftool
+ docbook-xsl
+ dwarves
+ gnu-efi-devel
+ libgcrypt-devel # CentOS Stream 8 libgcrypt-devel doesn't ship a pkg-config file.
+ libxslt
+ pam-devel
+ perl-interpreter
+ pkgconfig(audit)
+ pkgconfig(blkid)
+ pkgconfig(bzip2)
+ pkgconfig(dbus-1)
+ pkgconfig(fdisk)
+ pkgconfig(glib-2.0)
+ pkgconfig(gnutls)
+ pkgconfig(libacl)
+ pkgconfig(libbpf)
+ pkgconfig(libcap)
+ pkgconfig(libcryptsetup)
+ pkgconfig(libcurl)
+ pkgconfig(libdw)
+ pkgconfig(libfido2)
+ pkgconfig(libidn2)
+ pkgconfig(libkmod)
+ pkgconfig(libmicrohttpd)
+ pkgconfig(libpcre2-8)
+ pkgconfig(libqrencode)
+ pkgconfig(libseccomp)
+ pkgconfig(libselinux)
+ pkgconfig(libzstd)
+ pkgconfig(mount)
+ pkgconfig(openssl)
+ pkgconfig(p11-kit-1)
+ pkgconfig(pwquality)
+ pkgconfig(tss2-esys)
+ pkgconfig(tss2-mu)
+ pkgconfig(tss2-rc)
+ pkgconfig(valgrind)
+ pkgconfig(xkbcommon)
+ python3dist(jinja2)
+ python3dist(lxml)
diff --git a/mkosi.default.d/debian/10-mkosi.debian b/mkosi.default.d/debian/10-mkosi.debian
new file mode 100644
index 0000000..295c1cd
--- /dev/null
+++ b/mkosi.default.d/debian/10-mkosi.debian
@@ -0,0 +1,70 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
+# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image.
+
+[Distribution]
+Distribution=debian
+Release=testing
+
+[Content]
+Packages=
+ cryptsetup-bin
+ fdisk
+ iproute2
+ isc-dhcp-server
+ libbpf1
+ libfido2-1
+ libglib2.0-0
+ libgnutls30
+ libidn2-0
+ libmicrohttpd12
+ libp11-kit0
+ libpam0g
+ libpwquality1
+ libqrencode4
+ libip4tc2
+ libtss2-dev # Use the -dev package to avoid churn in updating version numbers
+ netcat-openbsd
+ policykit-1
+ procps
+ quota
+ xxd
+
+BuildPackages=
+ bpftool
+ docbook-xsl
+ g++
+ libacl1-dev
+ libaudit-dev
+ libblkid-dev
+ libbpf-dev
+ libbz2-dev
+ libcap-dev
+ libcryptsetup-dev
+ libcurl4-openssl-dev
+ libdbus-1-dev
+ libdw-dev
+ libfdisk-dev
+ libfido2-dev
+ libgcrypt20-dev
+ libglib2.0-dev
+ libgnutls28-dev
+ libidn2-dev
+ libiptc-dev
+ libkmod-dev
+ libmicrohttpd-dev
+ libmount-dev
+ libp11-kit-dev
+ libpam0g-dev
+ libpwquality-dev
+ libqrencode-dev
+ libseccomp-dev
+ libsmartcols-dev
+ libssl-dev
+ libxkbcommon-dev
+ libzstd-dev
+ pahole
+ python3-jinja2
+ python3-lxml
+ xsltproc
diff --git a/mkosi.default.d/fedora/10-mkosi.fedora b/mkosi.default.d/fedora/10-mkosi.fedora
new file mode 100644
index 0000000..ab230f0
--- /dev/null
+++ b/mkosi.default.d/fedora/10-mkosi.fedora
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
+# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image.
+
+[Distribution]
+Distribution=fedora
+Release=37
+
+[Content]
+Packages=
+ compsize
+ cryptsetup
+ dhcp-server
+ glib2
+ glibc-minimal-langpack
+ gnutls
+ iproute
+ iproute-tc
+ libbpf
+ libfido2
+ libgcrypt
+ libmicrohttpd
+ libxcrypt
+ libxkbcommon
+ netcat
+ pam
+ polkit
+ procps-ng
+ quota
+ tpm2-tss
+ vim-common
+
+BuildPackages=
+ bpftool
+ docbook-xsl
+ dwarves
+ gnu-efi-devel
+ pam-devel
+ pkgconfig # pkgconf shim to provide /usr/bin/pkg-config
+ pkgconfig(audit)
+ pkgconfig(blkid)
+ pkgconfig(dbus-1)
+ pkgconfig(fdisk)
+ pkgconfig(glib-2.0)
+ pkgconfig(libacl)
+ pkgconfig(libbpf)
+ pkgconfig(libcap)
+ pkgconfig(libcryptsetup)
+ pkgconfig(libcurl)
+ pkgconfig(libdw)
+ pkgconfig(libfido2)
+ pkgconfig(libgcrypt)
+ pkgconfig(libidn2)
+ pkgconfig(libkmod)
+ pkgconfig(libmicrohttpd)
+ pkgconfig(libpcre2-8)
+ pkgconfig(libqrencode)
+ pkgconfig(libseccomp)
+ pkgconfig(libselinux)
+ pkgconfig(libzstd)
+ pkgconfig(mount)
+ pkgconfig(openssl)
+ pkgconfig(p11-kit-1)
+ pkgconfig(pwquality)
+ pkgconfig(tss2-esys)
+ pkgconfig(tss2-mu)
+ pkgconfig(tss2-rc)
+ pkgconfig(valgrind)
+ pkgconfig(xkbcommon)
+ python3dist(jinja2)
+ python3dist(lxml)
diff --git a/mkosi.default.d/opensuse/10-mkosi.opensuse b/mkosi.default.d/opensuse/10-mkosi.opensuse
new file mode 100644
index 0000000..804213b
--- /dev/null
+++ b/mkosi.default.d/opensuse/10-mkosi.opensuse
@@ -0,0 +1,83 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
+# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image.
+
+[Distribution]
+Distribution=opensuse
+Release=tumbleweed
+
+[Content]
+Packages=
+ dbus-1
+ glibc-locale-base
+ libbpf1
+ libcrypt1
+ libcryptsetup12
+ libdw1
+ libelf1
+ libfido2
+ libgcrypt20
+ libglib-2_0-0
+ libkmod2
+ liblz4-1
+ libmount1
+ libp11-kit0
+ libqrencode4
+ libseccomp2
+ libxkbcommon0
+ pam
+ tpm2-0-tss
+ vim
+
+BuildPackages=
+ audit-devel
+ bpftool
+ dbus-1-devel
+ docbook-xsl-stylesheets
+ dwarves
+ fdupes
+ gcc-c++
+ glib2-devel
+ glibc-locale
+ intltool
+ libacl-devel
+ libapparmor-devel
+ libblkid-devel
+ libbpf-devel
+ libbz2-devel
+ libcap-devel
+ libcryptsetup-devel
+ libcurl-devel
+ libdw-devel
+ libelf-devel
+ libfdisk-devel
+ libfido2-devel
+ libgcrypt-devel
+ libgnutls-devel
+ libkmod-devel
+ libmicrohttpd-devel
+ libmount-devel
+ libpwquality-devel
+ libseccomp-devel
+ libselinux-devel
+ libxkbcommon-devel
+ libxslt-tools
+ liblz4-devel
+ openssl-devel
+ pam-devel
+ pcre-devel
+ pciutils-devel
+ python3-Jinja2
+ python3-lxml
+ qrencode-devel
+ shadow
+ system-group-obsolete
+ system-user-bin
+ system-user-daemon
+ system-user-nobody
+ system-user-root
+ systemd-sysvinit
+ timezone
+ tpm2-0-tss-devel
+ zlib-devel
diff --git a/mkosi.default.d/ubuntu/10-mkosi.ubuntu b/mkosi.default.d/ubuntu/10-mkosi.ubuntu
new file mode 100644
index 0000000..14f337b
--- /dev/null
+++ b/mkosi.default.d/ubuntu/10-mkosi.ubuntu
@@ -0,0 +1,70 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
+# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image.
+
+[Distribution]
+Distribution=ubuntu
+Release=jammy
+Repositories=main,universe
+
+[Content]
+Packages=
+ cryptsetup-bin
+ fdisk
+ iproute2
+ isc-dhcp-server
+ libbpf0
+ libfdisk1
+ libfido2-1
+ libglib2.0-0
+ libidn2-0
+ libmicrohttpd12
+ libp11-kit0
+ libpwquality1
+ libqrencode4
+ libtss2-dev # Use the -dev package to avoid churn in updating version numbers
+ linux-tools-common
+ linux-tools-generic
+ netcat-openbsd
+ policykit-1
+ procps
+ quota
+ xxd
+
+BuildPackages=
+ docbook-xsl
+ g++
+ libacl1-dev
+ libaudit-dev
+ libblkid-dev
+ libbpf-dev
+ libbz2-dev
+ libcap-dev
+ libcryptsetup-dev
+ libcurl4-openssl-dev
+ libdbus-1-dev
+ libdw-dev
+ libfdisk-dev
+ libfido2-dev
+ libgcrypt20-dev
+ libglib2.0-dev
+ libgnutls28-dev
+ libidn2-dev
+ libiptc-dev
+ libkmod-dev
+ libmicrohttpd-dev
+ libmount-dev
+ libp11-kit-dev
+ libpam0g-dev
+ libpwquality-dev
+ libqrencode-dev
+ libseccomp-dev
+ libsmartcols-dev
+ libssl-dev
+ libxkbcommon-dev
+ libzstd-dev
+ pahole
+ python3-jinja2
+ python3-lxml
+ xsltproc