From 5cfee54f28d7cf7f4d75cc5ebf2bb309228db2be Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Mon, 18 Aug 2025 10:49:49 +0200 Subject: [PATCH] erofs: disable tar when installing in erofs mode --- mkosi.extra/live/usr/bin/_calamares@subvol | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mkosi.extra/live/usr/bin/_calamares@subvol b/mkosi.extra/live/usr/bin/_calamares@subvol index 335760d..dc8d771 100755 --- a/mkosi.extra/live/usr/bin/_calamares@subvol +++ b/mkosi.extra/live/usr/bin/_calamares@subvol @@ -99,8 +99,15 @@ if grep "kde-linux.erofs=1" /proc/cmdline; then # Enable the erofs feature. This file will eventually need removing by a service file or something when erofs is full default. mkdir --parents $ROOT/etc/sysupdate.d/erofs.feature.d/ cat <<- EOF >> $ROOT/etc/sysupdate.d/erofs.feature.d/enable.conf -# Auto generated by KDE Linux installer. Enables EROFS feature. +# Auto generated by KDE Linux installer. Enables EROFS rootfs. [Feature] Enabled=true +EOF + + mkdir --parents $ROOT/etc/sysupdate.d/tar.feature.d/ + cat <<- EOF >> $ROOT/etc/sysupdate.d/tar.feature.d/enable.conf +# Auto generated by KDE Linux installer. Disables tar rootfs. +[Feature] +Enabled=false EOF fi