Commit 96274c2
committed
targets: set DESKTOP_TIER per block, keyed on DESKTOP_APPGROUPS_SELECTED
armbian-config's module_desktops treats minimal / mid / full as
three distinct install targets. The build framework hard-requires
an explicit DESKTOP_TIER whenever BUILD_DESKTOP=yes; a missing
value causes 'module_desktops install' to bail at
config-validation time.
generate_targets.py emits 12 'desktop-*' target blocks across the
stable / legacy / edge / nightly flavours. None of them set
DESKTOP_TIER today, so every regenerated targets.yaml will start
failing desktop builds once the build-side migration (armbian/build#9683
— replace config/desktop/ tree with armbian-config module_desktops)
lands.
Map tier from the existing DESKTOP_APPGROUPS_SELECTED value that
each block already carries:
DESKTOP_APPGROUPS_SELECTED='' → DESKTOP_TIER='minimal'
8 blocks: plain DE + display manager, ~500 MB. Matches the
bare desktop the empty-appgroup target produced before.
DESKTOP_APPGROUPS_SELECTED='programming' → DESKTOP_TIER='mid'
4 blocks: DE + browser + everyday user-facing tools (editor,
calculator, media, archive, torrent), ~1 GB. Roughly what the
'programming' appgroup pulled in on top of the bare desktop.
Neither maps to 'full' — none of the current generate_targets.py
blocks wanted the full tier (office suite + creative tools, ~2.5 GB).
Future targets can override per block when needed.1 parent 264b125 commit 96274c2
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| 905 | + | |
905 | 906 | | |
906 | 907 | | |
907 | 908 | | |
| |||
927 | 928 | | |
928 | 929 | | |
929 | 930 | | |
| 931 | + | |
930 | 932 | | |
931 | 933 | | |
932 | 934 | | |
| |||
955 | 957 | | |
956 | 958 | | |
957 | 959 | | |
| 960 | + | |
958 | 961 | | |
959 | 962 | | |
960 | 963 | | |
| |||
980 | 983 | | |
981 | 984 | | |
982 | 985 | | |
| 986 | + | |
983 | 987 | | |
984 | 988 | | |
985 | 989 | | |
| |||
1001 | 1005 | | |
1002 | 1006 | | |
1003 | 1007 | | |
| 1008 | + | |
1004 | 1009 | | |
1005 | 1010 | | |
1006 | 1011 | | |
| |||
1170 | 1175 | | |
1171 | 1176 | | |
1172 | 1177 | | |
| 1178 | + | |
1173 | 1179 | | |
1174 | 1180 | | |
1175 | 1181 | | |
| |||
1191 | 1197 | | |
1192 | 1198 | | |
1193 | 1199 | | |
| 1200 | + | |
1194 | 1201 | | |
1195 | 1202 | | |
1196 | 1203 | | |
| |||
1212 | 1219 | | |
1213 | 1220 | | |
1214 | 1221 | | |
| 1222 | + | |
1215 | 1223 | | |
1216 | 1224 | | |
1217 | 1225 | | |
| |||
1453 | 1461 | | |
1454 | 1462 | | |
1455 | 1463 | | |
| 1464 | + | |
1456 | 1465 | | |
1457 | 1466 | | |
1458 | 1467 | | |
| |||
1478 | 1487 | | |
1479 | 1488 | | |
1480 | 1489 | | |
| 1490 | + | |
1481 | 1491 | | |
1482 | 1492 | | |
1483 | 1493 | | |
| |||
1503 | 1513 | | |
1504 | 1514 | | |
1505 | 1515 | | |
| 1516 | + | |
1506 | 1517 | | |
1507 | 1518 | | |
1508 | 1519 | | |
| |||
1529 | 1540 | | |
1530 | 1541 | | |
1531 | 1542 | | |
| 1543 | + | |
1532 | 1544 | | |
1533 | 1545 | | |
1534 | 1546 | | |
| |||
0 commit comments