summaryrefslogtreecommitdiffstats
path: root/mkosi.conf.d
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-03 12:56:50 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-06 10:56:45 +0200
commitffda3c3de9f4cbe9c986d9d4b210b9e6ac532516 (patch)
treebe04a8ff13bcf7b451edab59d3a2b47505ed3a5d /mkosi.conf.d
parentmkosi: Enable udev debug logging in CI (diff)
downloadsystemd-ffda3c3de9f4cbe9c986d9d4b210b9e6ac532516.tar.xz
systemd-ffda3c3de9f4cbe9c986d9d4b210b9e6ac532516.zip
mkosi: Disable ext4's orphan_file feature for centos images
Not supported by e2fsck from centos. We also disable building repart from source in CI as running it from the build directory means repart will run mkfs.ext4 from the host which doesn't know about the orphan_file feature causing it to fail.
Diffstat (limited to 'mkosi.conf.d')
-rw-r--r--mkosi.conf.d/10-centos.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-centos.conf b/mkosi.conf.d/10-centos.conf
index ae2706c791..69fa1350e6 100644
--- a/mkosi.conf.d/10-centos.conf
+++ b/mkosi.conf.d/10-centos.conf
@@ -8,3 +8,6 @@ Distribution=centos
Repositories=epel
epel-next
hyperscale-packages-main
+
+[Content]
+Environment=SYSTEMD_REPART_MKFS_OPTIONS_EXT4="-O ^orphan_file"