mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2026-04-21 06:03:42 +00:00
use 50% to remount
This commit is contained in:
parent
b1feac9316
commit
e079a35328
1 changed files with 1 additions and 4 deletions
5
init
5
init
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue