summaryrefslogtreecommitdiffstats
path: root/mkosi.conf.d/10-centos/mkosi.conf
blob: dd462efcee38c6ccf57f9311204ca70ef09530c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-License-Identifier: LGPL-2.1-or-later

[Match]
Distribution=centos

[Distribution]
Release=10

[Content]
Environment=
        # CentOS doesn't support btrfs so we have to use something else. 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