From 1653e9dffba71cc0e7dcdf481fe05a7b575788a4 Mon Sep 17 00:00:00 2001 From: Daniel Dean Date: Thu, 7 Mar 2019 14:20:42 +0000 Subject: [PATCH] Removed size arg from GCP make-fs command. The make-gcp script in the mkimage-gcp tool creates a virtual fs of 1GB, excactly. If your filesystem needs to be larger, then make-gcp errors in a poorly explained way. Simply removing the arg makes the fs the same size as the image used to build it. Signed-off-by: Daniel Smith --- tools/mkimage-gcp/make-gcp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage-gcp/make-gcp b/tools/mkimage-gcp/make-gcp index d8fcd538c..8c70c5fb9 100755 --- a/tools/mkimage-gcp/make-gcp +++ b/tools/mkimage-gcp/make-gcp @@ -42,7 +42,7 @@ cd .. tar cf files.tar -C files . -virt-make-fs --size=1G --type=ext4 --partition files.tar disk.raw +virt-make-fs --type=ext4 --partition files.tar disk.raw guestfish -a disk.raw -m /dev/sda1 <