| { |
| "parent": "legacy_disk_layout.json", |
| |
| "layouts": { |
| # These values were chosen by producing a tatl test image, mounting the |
| # resulting image, and increasing the used disk space on ROOT-A and STATE |
| # by roughly 20%. This significantly decreases disk usage by images, while |
| # also leaving some flexibility in case packages move between the rootfs |
| # and dev_image. |
| "common": [ |
| { |
| # Kernel for Slot A, no file system. |
| "num": 2, |
| "label": "KERN-A", |
| "type": "kernel", |
| "size": "32 MiB" |
| }, |
| { |
| # Kernel for Slot B, no file system. |
| "num": 4, |
| "label": "KERN-B", |
| "type": "kernel", |
| "size": "32 MiB" |
| }, |
| { |
| # ROOT-A |
| "num": 3, |
| "size": "100 MiB", |
| "fs_size": "95 MiB", |
| "fs_format": "squashfs" |
| }, |
| { |
| # STATE |
| "num": 1, |
| "size": "100 MiB", |
| "fs_format": "squashfs" |
| } |
| ] |
| } |
| } |