use chattr +m instead of btrfs property set

This commit is contained in:
xfnw 2022-02-21 20:33:58 -05:00
parent fd34fdd86e
commit 18ab9c645c
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,6 @@ echo "$SSHPUBKEY" >> /root/.ssh/authorized_keys
# initramfs rebuild
if [ "$ROOTFS" = 'btrfs' ]; then
step 'Disabling compression on /boot'
btrfs property set /boot compression ""
ls /boot | xargs -I{} btrfs property set /boot/{} compression ""
chattr -R +m /boot 2>/dev/null || true
fi

View File

@ -2,6 +2,7 @@ alpine-base
busybox
btrfs-progs
btrfs-compsize
e2fsprogs-extra
network-extras
openssl
openssh