summaryrefslogtreecommitdiffstats
path: root/mkosi.conf.d/10-centos/mkosi.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.conf.d/10-centos/mkosi.conf')
-rw-r--r--mkosi.conf.d/10-centos/mkosi.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-centos/mkosi.conf b/mkosi.conf.d/10-centos/mkosi.conf
new file mode 100644
index 0000000..d97b081
--- /dev/null
+++ b/mkosi.conf.d/10-centos/mkosi.conf
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=centos
+
+[Distribution]
+Release=10
+
+[Content]
+Environment=
+ # We'd prefer to use XFS here but it fails to mount on duplicate filesystem UUIDs which
+ # happens when running tests in parallel so we use ext4 instead.
+ SYSTEMD_REPART_OVERRIDE_FSTYPE_ROOT=ext4
+ # The kernel versions in CentOS Stream 9 doesn't support orphan_file, but later versions of
+ # mkfs.ext4 enabled it by default, so we disable it explicitly.
+ SYSTEMD_REPART_MKFS_OPTIONS_EXT4="-O ^orphan_file"
+
+Packages=
+ kernel-modules # For squashfs