From 5d0e1c602aa2e0d071a223eb89f292314eca63e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Thu, 15 Oct 2020 11:44:26 +0200 Subject: [PATCH] duh, Laney is right, we can do 1G straight away. --- live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot index 65e06cd9..d59d6c69 100644 --- a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot +++ b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot @@ -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