]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Switch back to btrfs
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 2 Aug 2024 14:23:40 +0000 (16:23 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 5 Aug 2024 13:00:24 +0000 (15:00 +0200)
The next commit will introduce a way to iterate on integration
tests which depends on btrfs specific features.

We leave CentOS on ext4 as its kernel does not support btrfs.

mkosi.conf
mkosi.conf.d/10-centos/mkosi.conf
mkosi.repart/10-root.conf

index e6b0e41135c139fddbde135f0d96aa5010a1ca6f..6545e1a41fdf31a11d1b5ded5a2eb0384aafdb68 100644 (file)
@@ -46,9 +46,6 @@ ExtraTrees=
 
 Initrds=%O/initrd
 
-Environment=
-        SYSTEMD_REPART_OVERRIDE_FSTYPE_ROOT=%F
-
 # Disable relabeling by default as it only matters for TEST-06-SELINUX, takes a non-trivial amount of time
 # and results in lots of errors when building images as a regular user.
 SELinuxRelabel=no
index d97b08138e6057ba1f2f72e41529bedf57d22fd2..dd462efcee38c6ccf57f9311204ca70ef09530c2 100644 (file)
@@ -8,8 +8,9 @@ Release=10
 
 [Content]
 Environment=
-        # 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.
+        # 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.
index c774086fb4579ec899c23b54b9962188c8200c08..3c25dbfb14da7ad17f28d64d9ea94ea061016742 100644 (file)
@@ -2,6 +2,7 @@
 
 [Partition]
 Type=root
+Format=btrfs
 CopyFiles=/
 SizeMinBytes=8G
 SizeMaxBytes=8G