From 7fb5b2a17bab5504d0c1b2bfd6f9813a0e1f0a1b Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Wed, 8 Nov 2017 14:46:27 -0800 Subject: [PATCH] Don't allocate the image disk twice Signed-off-by: Stefano Stabellini --- build.sh | 1 - 1 file changed, 1 deletion(-) 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 -- 2.39.5