set NOCOMPRESS flag on /boot

This commit is contained in:
xfnw 2022-02-06 19:00:46 -05:00
parent 6868d2548c
commit aa3e0c2c3e

View file

@ -46,5 +46,10 @@ step 'Creating authorized_keys for root'
mkdir -p /root/.ssh/
echo "$SSHPUBKEY" >> /root/.ssh/authorized_keys
# without this, the system will fail to boot on the next
# initramfs rebuild
if [ "$ROOTFS" = 'btrfs' ]; then
step 'Disabling compression on /boot'
btrfs property set /boot compression ""
fi