Skip to content

Commit ab6ca6c

Browse files
committed
fix(debos): Bump imagesize to 4.5GiB
Effective rootfs size in current images is about 3.4G and is 99% full; latest builds fail due to lack of space. Bump the default imagesize in image.yaml and README to 4.5GiB, which is roughly 512MiB for ESP and 4GiB for rootfs. The debos imagesize parsing is based on docker/go-units which was confirmed to support fractional sizes correctly. Signed-off-by: Loïc Minier <[email protected]>
1 parent cb12afd commit ab6ca6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ A few options are provided in the debos recipes; for the root filesystem recipe:
129129
For the image recipe:
130130
- `dtb`: override the firmware provided device tree with one from the linux kernel, e.g. `qcom/qcs6490-rb3gen2.dtb`; default: don't override
131131
- `imagetype`: either `ufs` (the default) or (`sdcard`); UFS images are named disk-ufs.img and use 4096 bytes sectors and SD card images are named disk-sdcard.img and use 512 bytes sectors
132-
- `imagesize`: set the output disk image size; default: `4GiB`
132+
- `imagesize`: set the output disk image size; default: `4.5GiB`
133133
134134
For the flash recipe:
135135
- `u_boot_rb1`: prebuilt U-Boot binary for RB1 in Android boot image format -- see below (NB: debos expects relative pathnames)

debos-recipes/qualcomm-linux-debian-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- $dtb := or .dtb "firmware" }}
2-
{{- $imagesize := or .imagesize "4GiB" }}
2+
{{- $imagesize := or .imagesize "4.5GiB" }}
33
{{- $imagetype := or .imagetype "ufs" }}
44
{{- $image := printf "disk-%s.img" $imagetype }}
55

0 commit comments

Comments
 (0)