mirror of
https://salsa.debian.org/raspi-team/image-specs
synced 2026-05-30 06:38:09 +02:00
Bump image size to 1800M for 3+4 families on bookworm.
This commit is contained in:
@@ -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) \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- mkimg: "{{ output }}"
|
- mkimg: "{{ output }}"
|
||||||
size: 1500M
|
size: __IMGSIZE__
|
||||||
|
|
||||||
- mklabel: msdos
|
- mklabel: msdos
|
||||||
device: "{{ output }}"
|
device: "{{ output }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user