Add basic support for trixie.

In passing: the _clean_yaml target should definitely leverage
BUILD_RELEASES instead of duplicating it.
This commit is contained in:
Cyril Brulebois
2023-06-13 21:02:39 +02:00
parent cfce727f4b
commit 36ad6638a9
4 changed files with 10 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ if version not in ["1", "2", "3", "4"]:
sys.exit(1)
suite = sys.argv[2]
if suite not in ['buster', 'bullseye', 'bookworm']:
if suite not in ['buster', 'bullseye', 'bookworm', 'trixie']:
print("E: unsupported suite %s" % suite, file=sys.stderr)
sys.exit(1)
target_yaml = 'raspi_%s_%s.yaml' % (version, suite)
@@ -54,7 +54,7 @@ else:
# raspi-firmware was in 'non-free'
#
# ¹ https://www.debian.org/vote/2022/vote_003
if suite == 'bookworm':
if suite not in ['buster', 'bullseye']:
firmware_component = 'non-free-firmware'
firmware_component_old = 'non-free'
else: