From 35a83f99e4bf9dd7224c0366b7c640b0baf2603d Mon Sep 17 00:00:00 2001 From: Chris Masone Date: Mon, 5 Apr 2010 16:51:53 -0700 Subject: [PATCH] Apparently, we have to have a rootfs big enough to hold all dev and test tools too. I need a couple extra tools for testing purposes (about 10MB). I'd love to not add space to the rootfs for these. But...talking to sosa, it doesn't seem there's any other way. Review URL: http://codereview.chromium.org/1576018 --- build_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_image b/build_image index 66b66ed58f..ce2b976d1d 100755 --- a/build_image +++ b/build_image @@ -165,7 +165,7 @@ fi # Create root file system disk image to fit on a 1GB memory stick. # 1 GB in hard-drive-manufacturer-speak is 10^9, not 2^30. 950MB < 10^9 bytes. -ROOT_SIZE_BYTES=$((1024 * 1024 * 640)) +ROOT_SIZE_BYTES=$((1024 * 1024 * 720)) dd if=/dev/zero of="$ROOT_FS_IMG" bs=1 count=1 seek=$((ROOT_SIZE_BYTES - 1)) sudo losetup "$LOOP_DEV" "$ROOT_FS_IMG" sudo mkfs.ext3 "$LOOP_DEV"