use chattr +m instead of btrfs property set
This commit is contained in:
parent
fd34fdd86e
commit
18ab9c645c
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,6 @@ echo "$SSHPUBKEY" >> /root/.ssh/authorized_keys
|
||||||
# initramfs rebuild
|
# initramfs rebuild
|
||||||
if [ "$ROOTFS" = 'btrfs' ]; then
|
if [ "$ROOTFS" = 'btrfs' ]; then
|
||||||
step 'Disabling compression on /boot'
|
step 'Disabling compression on /boot'
|
||||||
btrfs property set /boot compression ""
|
chattr -R +m /boot 2>/dev/null || true
|
||||||
ls /boot | xargs -I{} btrfs property set /boot/{} compression ""
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ alpine-base
|
||||||
busybox
|
busybox
|
||||||
btrfs-progs
|
btrfs-progs
|
||||||
btrfs-compsize
|
btrfs-compsize
|
||||||
|
e2fsprogs-extra
|
||||||
network-extras
|
network-extras
|
||||||
openssl
|
openssl
|
||||||
openssh
|
openssh
|
||||||
|
|
Loading…
Reference in a new issue