recursively disable compression in /boot too

This commit is contained in:
xfnw 2022-02-20 19:30:35 -05:00
parent b0c75ec390
commit fd34fdd86e

View file

@ -50,5 +50,6 @@ echo "$SSHPUBKEY" >> /root/.ssh/authorized_keys
if [ "$ROOTFS" = 'btrfs' ]; then if [ "$ROOTFS" = 'btrfs' ]; then
step 'Disabling compression on /boot' step 'Disabling compression on /boot'
btrfs property set /boot compression "" btrfs property set /boot compression ""
ls /boot | xargs -I{} btrfs property set /boot/{} compression ""
fi fi