From d8e670a2b3cbe3c68f2c73dfbfa3e69b280f5d17 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Fri, 16 Aug 2013 21:12:24 -0400 Subject: [PATCH] fix(build_image): Don't over-size root partitions in base images. Right now the initial (pre image_to_vm) images oversize the root partitions, creating the expected 1GB filesystem in a 2GB partition. image_to_vm later shrinks the partition back down to match. Just start out with 1GB partitions to begin with instead. --- build_library/legacy_disk_layout.json | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/build_library/legacy_disk_layout.json b/build_library/legacy_disk_layout.json index 0d976054b0..bee4432685 100644 --- a/build_library/legacy_disk_layout.json +++ b/build_library/legacy_disk_layout.json @@ -23,7 +23,7 @@ "label":"ROOT-A", "uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132", "type":"coreos-rootfs", - "blocks":"4194304", + "blocks":"2097152", "fs_blocks":"262144" }, { @@ -31,7 +31,7 @@ "label":"ROOT-B", "uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c", "type":"coreos-rootfs", - "blocks":"4194304", + "blocks":"2097152", "fs_blocks":"262144" }, { @@ -114,22 +114,6 @@ } ], "vm": [ - { - "num": 3, - "label":"ROOT-A", - "uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132", - "type":"coreos-rootfs", - "blocks":"2097152", - "fs_blocks":"262144" - }, - { - "num": 4, - "label":"ROOT-B", - "uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c", - "type":"coreos-rootfs", - "blocks":"2097152", - "fs_blocks":"262144" - }, { "num": 9, "label":"STATE",