Bump image size to 1800M for 3+4 families on bookworm.

This commit is contained in:
Cyril Brulebois
2021-12-06 07:15:37 +01:00
parent cab748ab0c
commit 5987ea7916
2 changed files with 9 additions and 1 deletions

View File

@@ -25,6 +25,13 @@ target_yaml = 'raspi_%s_%s.yaml' % (version, suite)
### Setting variables based on suite and version starts here ### Setting variables based on suite and version starts here
# Size:
if version in ['3', '4'] and suite in ['bookworm']:
# Needed as of 2021-12:
imgsize = '1800M'
else:
imgsize = '1500M'
# Arch, kernel, DTB: # Arch, kernel, DTB:
if version == '1': if version == '1':
arch = 'armel' arch = 'armel'
@@ -149,6 +156,7 @@ with open('raspi_master.yaml', 'r') as in_file:
in_text = in_file.read() in_text = in_file.read()
out_text = in_text \ out_text = in_text \
.replace('__RELEASE__', suite) \ .replace('__RELEASE__', suite) \
.replace('__IMGSIZE__', imgsize) \
.replace('__ARCH__', arch) \ .replace('__ARCH__', arch) \
.replace('__LINUX_IMAGE__', linux) \ .replace('__LINUX_IMAGE__', linux) \
.replace('__DTB__', dtb) \ .replace('__DTB__', dtb) \

View File

@@ -2,7 +2,7 @@
steps: steps:
- mkimg: "{{ output }}" - mkimg: "{{ output }}"
size: 1500M size: __IMGSIZE__
- mklabel: msdos - mklabel: msdos
device: "{{ output }}" device: "{{ output }}"