From: Stefano Stabellini Date: Wed, 8 Nov 2017 22:46:27 +0000 (-0800) Subject: Don't allocate the image disk twice X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7fb5b2a17bab5504d0c1b2bfd6f9813a0e1f0a1b;p=people%2Fsstabellini%2Fmojo.git%2F.git Don't allocate the image disk twice Signed-off-by: Stefano Stabellini --- diff --git a/build.sh b/build.sh index 1000280..07e9756 100644 --- a/build.sh +++ b/build.sh @@ -46,7 +46,6 @@ if ! test -f image then # 1GB image: make this customizable allocate_disk image $((1024*1024*1024)) - dd if=/dev/zero of=image count=262144 bs=4096 loop=`create_loop image` loop_p0=`create_one_partition image` mkfs.ext3 $loop_p0