mkosi: Don't set -O ^orphan_file in centos stream 9 tools tree

This commit is contained in:
Daan De Meyer
2025-01-21 10:57:29 +01:00
parent 7a75a6f70f
commit 26025dba3e
2 changed files with 13 additions and 3 deletions
-3
View File
@@ -12,9 +12,6 @@ Environment=
# 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"
[Content]
Packages=
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Match]
ToolsTreeDistribution=|!centos
ToolsTreeRelease=|!9
[Build]
# 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. Except that older versions
# of mkfs.ext4 don't know about "orphan_file" so we skip it on some tools tree variants where
# we know "orphan_file" is not supported.
Environment=
SYSTEMD_REPART_MKFS_OPTIONS_EXT4="-O ^orphan_file"