summaryrefslogtreecommitdiff
path: root/armv7-versatile/run-baserock-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'armv7-versatile/run-baserock-image.sh')
-rwxr-xr-xarmv7-versatile/run-baserock-image.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/armv7-versatile/run-baserock-image.sh b/armv7-versatile/run-baserock-image.sh
index ad378d2..6204651 100755
--- a/armv7-versatile/run-baserock-image.sh
+++ b/armv7-versatile/run-baserock-image.sh
@@ -23,6 +23,13 @@ KERNEL_IMAGE="$DIR/$IMAGE_BASENAME.zimage"
# If we ever get multiple disks working on qemu ARM, execute:
# ./create-source-disk.sh "$DIR"
+# Because the devel image doesn't have enough space to develop on the
+# main partition, resize it.
+truncate --size=+3G "$DECOMPRESSED_IMAGE"
+sfdisk "DECOMPRESSED_IMAGE" <<EOF
+1, ,83,*
+EOF
+
find_tunctl() {
for path in `which tunctl` /{usr/,usr/local/}{bin,sbin}/tunctl; do