use 50% to remount

This commit is contained in:
eoli3n 2020-05-01 17:08:45 +02:00
parent b1feac9316
commit e079a35328

5
init
View file

@ -38,10 +38,7 @@ pacman -Syyu --noconfirm
print "Increase cowspace to half of RAM"
ram=$(free -b | grep 'Mem' | awk '{print $2}')
ram_half=$(echo "$ram / 2" | bc)
ram_half_h=$(numfmt --to=si $ram_half)
mount -o remount,size=$ram_half_h /run/archiso/cowspace
mount -o remount,size=50% /run/archiso/cowspace
print "Install current kernel headers"