Add support for bookworm.

This commit is contained in:
Cyril Brulebois 2021-11-20 03:56:59 +01:00
parent 252a694848
commit 5f7a28d8ec
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ all: shasums
# List all the supported and built Pi platforms here. They get expanded # List all the supported and built Pi platforms here. They get expanded
# to names like 'raspi_2_buster.yaml' and 'raspi_3_bullseye.img.xz'. # to names like 'raspi_2_buster.yaml' and 'raspi_3_bullseye.img.xz'.
BUILD_FAMILIES := 1 2 3 4 BUILD_FAMILIES := 1 2 3 4
BUILD_RELEASES := buster bullseye BUILD_RELEASES := buster bullseye bookworm
platforms := $(foreach plat, $(BUILD_FAMILIES),$(foreach rel, $(BUILD_RELEASES), raspi_$(plat)_$(rel))) platforms := $(foreach plat, $(BUILD_FAMILIES),$(foreach rel, $(BUILD_RELEASES), raspi_$(plat)_$(rel)))

View File

@ -17,7 +17,7 @@ if version not in ["1", "2", "3", "4"]:
sys.exit(1) sys.exit(1)
suite = sys.argv[2] suite = sys.argv[2]
if suite not in ['buster', 'bullseye']: if suite not in ['buster', 'bullseye', 'bookworm']:
print("E: unsupported suite %s" % suite, file=sys.stderr) print("E: unsupported suite %s" % suite, file=sys.stderr)
sys.exit(1) sys.exit(1)
target_yaml = 'raspi_%s_%s.yaml' % (version, suite) target_yaml = 'raspi_%s_%s.yaml' % (version, suite)