]> xenbits.xensource.com Git - people/sstabellini/mojo.git/.git/commitdiff
Don't allocate the image disk twice
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 8 Nov 2017 22:46:27 +0000 (14:46 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 8 Nov 2017 22:46:27 +0000 (14:46 -0800)
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
build.sh

index 1000280232bcb4fba8858b021259d0101b60f36d..07e9756a34b96f34fc4db9e2953565935925a22d 100644 (file)
--- 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