mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-10 18:21:07 +01:00
Increase the rootfs to 1G in size.
We are coming close to filling the rootfs size, so just make it bigger. TEST=build_image, image_to_live, recovery, USB install, trybot BUG=chromium-os:35086 CQ-DEPEND=CL:*27626 CQ-DEPEND=CL:*27627 CQ-DEPEND=CL:*27628 CQ-DEPEND=CL:*27632 Change-Id: Ida27761dbcf59e5553b10789a068e9cd6c1887ee Reviewed-on: https://gerrit.chromium.org/gerrit/35477 Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Don Garrett <dgarrett@chromium.org> Commit-Ready: Don Garrett <dgarrett@chromium.org>
This commit is contained in:
parent
26c4241341
commit
de262e86c7
@ -70,7 +70,9 @@ def LoadPartitionConfig(filename):
|
||||
part['fs_bytes'] = part['fs_blocks'] * metadata['fs_block_size']
|
||||
|
||||
if part['fs_bytes'] > part['bytes']:
|
||||
raise InvalidLayout('Filesystem may not be larger than partition')
|
||||
raise InvalidLayout(
|
||||
'Filesystem may not be larger than partition: %s %s: %d > %d' %
|
||||
(layout_name, part['label'], part['fs_bytes'], part['bytes']))
|
||||
except KeyError as e:
|
||||
raise InvalidLayout('Layout is missing required entries: %s' % e)
|
||||
|
||||
|
||||
@ -80,14 +80,14 @@
|
||||
"label":"ROOT-B",
|
||||
"type":"rootfs",
|
||||
"blocks":"4194304",
|
||||
"fs_blocks":"217600"
|
||||
"fs_blocks":"262144"
|
||||
},
|
||||
{
|
||||
"num": 3,
|
||||
"label":"ROOT-A",
|
||||
"type":"rootfs",
|
||||
"blocks":"4194304",
|
||||
"fs_blocks":"217600"
|
||||
"fs_blocks":"262144"
|
||||
}
|
||||
],
|
||||
"usb": [
|
||||
@ -95,8 +95,8 @@
|
||||
"num": 3,
|
||||
"label":"ROOT-A",
|
||||
"type":"rootfs",
|
||||
"blocks":"1757184",
|
||||
"fs_blocks":"217600"
|
||||
"blocks":"2113672",
|
||||
"fs_blocks":"262144"
|
||||
},
|
||||
{
|
||||
"num": 5,
|
||||
@ -143,15 +143,15 @@
|
||||
"num": 3,
|
||||
"label":"ROOT-A",
|
||||
"type":"rootfs",
|
||||
"blocks":"2097152",
|
||||
"fs_blocks":"217600"
|
||||
"blocks":"2113672",
|
||||
"fs_blocks":"262144"
|
||||
},
|
||||
{
|
||||
"num": 5,
|
||||
"label":"ROOT-B",
|
||||
"type":"rootfs",
|
||||
"blocks":"2097152",
|
||||
"fs_blocks":"217600"
|
||||
"blocks":"2113672",
|
||||
"fs_blocks":"262144"
|
||||
}
|
||||
],
|
||||
"recovery": [
|
||||
@ -165,8 +165,8 @@
|
||||
"num": 3,
|
||||
"label":"ROOT-A",
|
||||
"type":"rootfs",
|
||||
"blocks":"1757184",
|
||||
"fs_blocks":"217600"
|
||||
"blocks":"2113672",
|
||||
"fs_blocks":"262144"
|
||||
},
|
||||
{
|
||||
"num": 5,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user