mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-08-24 02:34:12 -05:00
Fix Debian 13 displaying for i386 architecture
- Add unsupported_arches field to Debian versions that don't support i386 - Mark Debian 13 (trixie), forky (testing), and sid (unstable) as unsupported for i386 - Modify debian.ipxe.j2 template to conditionally hide unsupported versions for i386 - Ensures only Debian 12 (bookworm) is shown for i386 users, which is correct Resolves issue #1672 where Debian 13 was incorrectly shown as available for i386 architecture despite dropping support after Debian 12. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Antony Messerli <antonym@users.noreply.github.com>
This commit is contained in:
co-authored by
Antony Messerli
parent
3964ce5c67
commit
7ee409cb02
@@ -212,13 +212,16 @@ releases:
|
||||
stable:
|
||||
- code_name: trixie
|
||||
name: 13.0 (trixie)
|
||||
unsupported_arches: ["i386"]
|
||||
- code_name: bookworm
|
||||
name: 12.0 (bookworm)
|
||||
testing:
|
||||
- code_name: forky
|
||||
name: forky (testing)
|
||||
unsupported_arches: ["i386"]
|
||||
- code_name: sid
|
||||
name: sid (unstable)
|
||||
unsupported_arches: ["i386"]
|
||||
devuan:
|
||||
base_dir: devuan
|
||||
enabled: true
|
||||
|
||||
@@ -16,11 +16,19 @@ clear older_release
|
||||
menu ${os} - ${os_arch}
|
||||
item --gap Latest Releases
|
||||
{% for item in releases.debian.versions.stable %}
|
||||
{% if item.unsupported_arches and "i386" in item.unsupported_arches %}
|
||||
iseq ${os_arch} i386 || item {{ item.code_name }} ${space} ${os} {{ item.name }}
|
||||
{% else %}
|
||||
item {{ item.code_name }} ${space} ${os} {{ item.name }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
item --gap Testing Releases
|
||||
{% for item in releases.debian.versions.testing %}
|
||||
{% if item.unsupported_arches and "i386" in item.unsupported_arches %}
|
||||
iseq ${os_arch} i386 || item {{ item.code_name }} ${space} ${os} {{ item.name }}
|
||||
{% else %}
|
||||
item {{ item.code_name }} ${space} ${os} {{ item.name }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
item --gap Older Releases
|
||||
item older_release ${space} Set release codename...
|
||||
|
||||
Reference in New Issue
Block a user