The commit causing https://lore.kernel.org/linux-fsdevel/
20250115185608.GA2223535@zen.localdomain/T/#u
got backported to the ubuntu stable kernel. While it has been reverted
upstream, the revert still hasn't reached the ubuntu stable kernel,
so let's use ext4 temporarily until that's the case.
DefaultDeviceTimeoutSec=180
EOF
+ # TODO: Use $SYSTEMD_REPART_OVERRIDE_FSTYPE_ROOT once we drop support for Ubuntu Noble.
+ sed -i 's/return "btrfs"/return "ext4"/' mkosi/distributions/*.py
+
# fail if the script already exists, to avoid hard to debug CI errors
[[ -f mkosi.configure ]] && exit 1
tee mkosi.configure <<EOF
@classmethod
def filesystem(cls) -> str:
- return "btrfs"
+ return "ext4"
@classmethod
def package_type(cls) -> PackageType:
@classmethod
def filesystem(cls) -> str:
- return "btrfs"
+ return "ext4"
@classmethod
def package_type(cls) -> PackageType: