]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Disable ext4's orphan_file feature for centos images
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 3 May 2024 10:56:50 +0000 (12:56 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 May 2024 08:56:45 +0000 (10:56 +0200)
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.

.github/workflows/mkosi.yml
mkosi.conf.d/10-centos.conf

index fe602685e9c4fca2e58f42756beda132f442656d..22e084bf7b38f2d9981e13035fab0938b3fdaf7b 100644 (file)
@@ -169,7 +169,7 @@ jobs:
             -Dtpm2=enabled \
             -Dlibcryptsetup=enabled \
             -Dlibcurl=enabled \
-            -Drepart=enabled \
+            -Drepart=disabled \
             -Dfirstboot=true \
             -Dsysusers=true \
             -Dtmpfiles=true \
index ae2706c791712918f0eebd939481dc6585c73e3a..69fa1350e605a395a31b3d38bd76fa0aa67bd51d 100644 (file)
@@ -8,3 +8,6 @@ Distribution=centos
 Repositories=epel
              epel-next
              hyperscale-packages-main
+
+[Content]
+Environment=SYSTEMD_REPART_MKFS_OPTIONS_EXT4="-O ^orphan_file"