summaryrefslogtreecommitdiff
path: root/mkosi.default.d
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-02-04 11:10:33 +0000
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-02-25 16:17:29 +0000
commit24a0df5c3ce01f26e833fe843ac2a2eb3499af7c (patch)
treea392f6671f0ca6526c3fabced97d0cd2f76e9878 /mkosi.default.d
parent6b2ab8fc5cc0f706b85cbd559e8dcf4e05d7687d (diff)
downloadsystemd-24a0df5c3ce01f26e833fe843ac2a2eb3499af7c.tar.gz
mkosi: Add centos_epel config
Now that mkosi has centos-stream 9 support, let's add a config in the repo so that the mkosi CI tests that configuration as well. Centos doesn't support btrfs so we use xfs instead. For some reason, building --hostonly-initrd centos images breaks the qemu boot so I disabled that option for centos. We update the mkosi commit hash to https://github.com/systemd/mkosi/commit/0dd39c20a4b3a2fab6efdc54da92bffad7c7b7ca which adds the PowerTools repo to CentOS Stream 8 which is required to make all the necessary packages required to build systemd on CentOS Stream 8 available.
Diffstat (limited to 'mkosi.default.d')
-rw-r--r--mkosi.default.d/centos_epel/10-mkosi.centos_epel86
1 files changed, 86 insertions, 0 deletions
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 0000000000..cf6c74f01c
--- /dev/null
+++ b/mkosi.default.d/centos_epel/10-mkosi.centos_epel
@@ -0,0 +1,86 @@
+# 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
+
+[Packages]
+BuildPackages=
+ diffutils
+ docbook-style-xsl
+ findutils
+ gcc
+ gettext
+ git
+ glibc-minimal-langpack
+ gnu-efi
+ gnu-efi-devel
+ gperf
+ lz4
+ meson
+ ninja-build
+ pam-devel
+ # CentOS Stream 8 libgcrypt-devel doesn't ship a pkg-config file.
+ libgcrypt-devel
+ pkgconfig
+ pkgconfig(audit)
+ pkgconfig(blkid)
+ pkgconfig(bzip2)
+ pkgconfig(dbus-1)
+ pkgconfig(fdisk)
+ pkgconfig(gnutls)
+ pkgconfig(libacl)
+ pkgconfig(libcap)
+ pkgconfig(libcryptsetup)
+ pkgconfig(libcurl)
+ pkgconfig(libdw)
+ pkgconfig(libidn2)
+ pkgconfig(libkmod)
+ pkgconfig(liblz4)
+ pkgconfig(liblzma)
+ 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)
+ rpm
+ tree
+ zstd
+ /usr/bin/xsltproc
+
+Packages=
+ gdb
+ nano
+ # procps-ng provides a set of useful utilities (ps, free, etc)
+ procps-ng
+ strace
+ tpm2-tss
+ less
+ netcat
+ e2fsprogs
+ # Required to run systemd-networkd-tests.py
+ python3
+ iproute
+ iproute-tc
+ dnsmasq
+ wireguard-tools
+ dhcp-server
+ kernel-modules-extra