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
|
||||
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
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ alpine-base
|
|||
busybox
|
||||
btrfs-progs
|
||||
btrfs-compsize
|
||||
e2fsprogs-extra
|
||||
network-extras
|
||||
openssl
|
||||
openssh
|
||||
|
|
Loading…
Reference in a new issue