set NOCOMPRESS flag on /boot
This commit is contained in:
parent
6868d2548c
commit
aa3e0c2c3e
1 changed files with 6 additions and 1 deletions
|
@ -46,5 +46,10 @@ step 'Creating authorized_keys for root'
|
||||||
mkdir -p /root/.ssh/
|
mkdir -p /root/.ssh/
|
||||||
echo "$SSHPUBKEY" >> /root/.ssh/authorized_keys
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue