From: Daan De Meyer Date: Fri, 17 Mar 2023 12:46:52 +0000 (+0100) Subject: centos: Add missing base features for ext4 on c8s X-Git-Tag: v15~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1565cb21b25cdd738aa7344254b2b5d8939f5293;p=thirdparty%2Fmkosi.git centos: Add missing base features for ext4 on c8s Accidentally only added the ext4 specific features and none of the base features, let's make sure we add the base features as well, especially sparse_super is important to make repart's minimize guessing logic work properly. --- diff --git a/mkosi/distributions/centos.py b/mkosi/distributions/centos.py index f33e2e967..9f8f65b87 100644 --- a/mkosi/distributions/centos.py +++ b/mkosi/distributions/centos.py @@ -43,7 +43,23 @@ class CentosInstaller(DistributionInstaller): return { "8": { - "ext4": ["-O", "none,has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize"], + "ext4": ["-O", ",".join([ + "none", + "sparse_super", + "large_file", + "filetype", + "resize_inode", + "dir_index", + "ext_attr", + "has_journal", + "extent", + "huge_file", + "flex_bg", + "metadata_csum", + "64bit", + "dir_nlink", + "extra_isize" + ])], }, }.get(state.config.release, {})