Skip to content

Commit 8bf75df

Browse files
committed
Change exposed.map minimal patterns from bookworm to trixie, add forky as fallback
- Update minimal image patterns to use Debian trixie instead of bookworm - Add forky patterns as alternative fallback for matching images - Both trixie and forky patterns are mutually exclusive due to literal matching Signed-off-by: Igor Pecovnik <igor@armbian.com>
1 parent 6be6034 commit 8bf75df

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

scripts/generate_targets.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ def generate_exposed_map(conf_wip_boards, csc_tvb_boards=None):
11261126
"""
11271127
Generate exposed.map with regex patterns for recommended images.
11281128
For each board, generates 2 patterns:
1129-
1. Minimal: Debian bookworm + current branch
1129+
1. Minimal: Debian trixie + current branch
11301130
2. For boards with video: Ubuntu noble + desktop (gnome/xfce)
11311131
For headless: Ubuntu noble + minimal
11321132
For riscv64: Ubuntu noble + xfce desktop
@@ -1179,13 +1179,19 @@ def generate_exposed_map(conf_wip_boards, csc_tvb_boards=None):
11791179
# Capitalize board name for pattern
11801180
board_pattern = capitalize_board_name(board)
11811181

1182-
# 1. Minimal: Debian bookworm + current/vendor branch (all boards)
1182+
# 1. Minimal: Debian trixie + current/vendor branch (all boards)
11831183
# Generate two patterns: one with dir prefix (for dl.armbian.com), one without (for GitHub releases)
1184-
minimal_pattern = f"{dir_prefix}Armbian_{community_prefix}[0-9].*{board_pattern}_bookworm_{branch}_[0-9]*.[0-9]*.[0-9]*_minimal{file_ext}"
1185-
minimal_pattern_no_prefix = f"Armbian_{community_prefix}[0-9].*{board_pattern}_bookworm_{branch}_[0-9]*.[0-9]*.[0-9]*_minimal{file_ext}"
1184+
minimal_pattern = f"{dir_prefix}Armbian_{community_prefix}[0-9].*{board_pattern}_trixie_{branch}_[0-9]*.[0-9]*.[0-9]*_minimal{file_ext}"
1185+
minimal_pattern_no_prefix = f"Armbian_{community_prefix}[0-9].*{board_pattern}_trixie_{branch}_[0-9]*.[0-9]*.[0-9]*_minimal{file_ext}"
11861186
lines.append(minimal_pattern)
11871187
lines.append(minimal_pattern_no_prefix)
11881188

1189+
# Also add forky as fallback alternative
1190+
minimal_pattern_forky = f"{dir_prefix}Armbian_{community_prefix}[0-9].*{board_pattern}_forky_{branch}_[0-9]*.[0-9]*.[0-9]*_minimal{file_ext}"
1191+
minimal_pattern_no_prefix_forky = f"Armbian_{community_prefix}[0-9].*{board_pattern}_forky_{branch}_[0-9]*.[0-9]*.[0-9]*_minimal{file_ext}"
1192+
lines.append(minimal_pattern_forky)
1193+
lines.append(minimal_pattern_no_prefix_forky)
1194+
11891195
# 2. Second pattern: depends on board type
11901196
# For loongarch: only bookworm minimal (no noble)
11911197
if is_fast == 'loongarch':

0 commit comments

Comments
 (0)