erofs: disable tar when installing in erofs mode

This commit is contained in:
Harald Sitter
2025-08-18 10:49:49 +02:00
parent ed1fa4105a
commit 5cfee54f28

View File

@@ -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