mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-04 16:01:24 +00:00
duh, Laney is right, we can do 1G straight away.
This commit is contained in:
parent
af0356e402
commit
5d0e1c602a
@ -21,7 +21,7 @@ if [ "$IMAGEFORMAT" == "none" ]; then
|
||||
echo "LABEL=writable / ext4 defaults,x-systemd.growfs 0 0" >>/etc/fstab
|
||||
|
||||
# Create a 1GB swapfile
|
||||
dd if=/dev/zero of=/swapfile bs=1M count=1024
|
||||
dd if=/dev/zero of=/swapfile bs=1G count=1
|
||||
chmod 0600 /swapfile
|
||||
mkswap /swapfile
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user