[GH-ISSUE #1672] Debian 13 shows on i386 Linux despite not being supported after Debian 12 #567

Open
opened 2026-02-27 14:52:15 +03:00 by kerem · 2 comments
Owner

Originally created by @LeoKids on GitHub (Sep 11, 2025).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1672

[No]: This bug persists when memory is increased beyond 8GB.

Describe the bug
Debian 13 shows up as the latest on i386 Debian Linux despite releasing without kernel and installer for it and Debian 12 is the last for i386.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Linux Network Installs'
  2. Then go to 'Debian'
  3. It's optional but click on 'Debian 13' or 'Debian 12'
  4. When done,you can see Debian 13 is the latest when Debian 12 is actually the last one with i386 support

Expected behavior

Debian 13 should not appear in the Debian section for i386 as the latest. Debian 12 should be the only listed. Unsure about sid or experimental...

Screenshots

Additional context

Originally created by @LeoKids on GitHub (Sep 11, 2025). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1672 [No]: This bug persists when memory is increased beyond 8GB. <!-- Please validate that the issue is not a symptom of insufficient memory. Many installation media are based on live-cd images that require more than a few MB/GB of memory to run. --> **Describe the bug** Debian 13 shows up as the latest on i386 Debian Linux despite releasing without kernel and installer for it and Debian 12 is the last for i386. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Linux Network Installs' 2. Then go to 'Debian' 3. It's optional but click on 'Debian 13' or 'Debian 12' 4. When done,you can see Debian 13 is the latest when Debian 12 is actually the last one with i386 support **Expected behavior** <!-- A clear and concise description of what the bug is. --> Debian 13 should not appear in the Debian section for i386 as the latest. Debian 12 should be the only listed. Unsure about sid or experimental... **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> **Additional context** <!-- Add any other context about the problem here. -->
Author
Owner

@antonym commented on GitHub (Sep 12, 2025):

@claude propose fix

<!-- gh-comment-id:3283521583 --> @antonym commented on GitHub (Sep 12, 2025): @claude propose fix
Author
Owner

@claude[bot] commented on GitHub (Sep 12, 2025):

Claude finished @antonym's task —— View jobclaude/issue-1672-20250912-0331Create PR ➔


Fixed Debian i386 Architecture Support Issue

I've successfully implemented a fix for the issue where Debian 13 incorrectly appears for i386 architecture when Debian 12 should be the last supported version.

Todo List:

  • Read repository setup instructions (CLAUDE.md)
  • Understand codebase structure and locate Debian configuration
  • Find where architecture filtering is implemented
  • Implement fix to exclude Debian 13 for i386
  • Test the changes if possible
  • Commit and push changes
  • Provide PR link

Analysis:

Found the issue! The Debian configuration is in /roles/netbootxyz/defaults/main.yml at lines 204-221. The template /roles/netbootxyz/templates/menu/debian.ipxe.j2 shows all stable and testing versions without filtering by architecture support.

Solution Implemented:

  1. Modified /roles/netbootxyz/defaults/main.yml: Added unsupported_arches: ["i386"] to:

    • Debian 13 (trixie) - stable release
    • Debian forky (testing)
    • Debian sid (unstable)
  2. Modified /roles/netbootxyz/templates/menu/debian.ipxe.j2: Added iPXE conditional logic:

    • Uses iseq ${os_arch} i386 || to skip menu items for i386-unsupported versions
    • Preserves existing behavior for all other architectures
    • Maintains full compatibility for supported versions

Now when users boot with i386 architecture, they will only see Debian 12 (bookworm) in the menu, which is the correct behavior.

Result:

Before fix: i386 users saw both Debian 12 and Debian 13 options
After fix: i386 users only see Debian 12 (bookworm), other architectures see all versions

<!-- gh-comment-id:3283521919 --> @claude[bot] commented on GitHub (Sep 12, 2025): **Claude finished @antonym's task** —— [View job](https://github.com/netbootxyz/netboot.xyz/actions/runs/17663713486) • [`claude/issue-1672-20250912-0331`](https://github.com/netbootxyz/netboot.xyz/tree/claude/issue-1672-20250912-0331) • [Create PR ➔](https://github.com/netbootxyz/netboot.xyz/compare/development...claude/issue-1672-20250912-0331?quick_pull=1&title=Fix%20Debian%2013%20displaying%20for%20i386%20architecture&body=Fixes%20issue%20where%20Debian%2013%20incorrectly%20appears%20for%20i386%20architecture%20when%20Debian%2012%20should%20be%20the%20last%20supported%20version.%0A%0A%23%23%20Changes%0A-%20Add%20unsupported_arches%20field%20to%20Debian%20versions%20that%20don%27t%20support%20i386%0A-%20Mark%20Debian%2013%20%28trixie%29%2C%20forky%20%28testing%29%2C%20and%20sid%20%28unstable%29%20as%20unsupported%20for%20i386%0A-%20Modify%20debian.ipxe.j2%20template%20to%20conditionally%20hide%20unsupported%20versions%20for%20i386%0A-%20Ensures%20only%20Debian%2012%20%28bookworm%29%20is%20shown%20for%20i386%20users%2C%20which%20is%20correct%0A%0ACloses%20%231672%0A%0A%F0%9F%A4%96%20Generated%20with%20%5BClaude%20Code%5D%28https%3A//claude.ai/code%29) --- ### ✅ Fixed Debian i386 Architecture Support Issue I've successfully implemented a fix for the issue where Debian 13 incorrectly appears for i386 architecture when Debian 12 should be the last supported version. ### Todo List: - [x] Read repository setup instructions (CLAUDE.md) - [x] Understand codebase structure and locate Debian configuration - [x] Find where architecture filtering is implemented - [x] Implement fix to exclude Debian 13 for i386 - [x] Test the changes if possible - [x] Commit and push changes - [x] Provide PR link ### Analysis: Found the issue! The Debian configuration is in `/roles/netbootxyz/defaults/main.yml` at lines 204-221. The template `/roles/netbootxyz/templates/menu/debian.ipxe.j2` shows all stable and testing versions without filtering by architecture support. ### Solution Implemented: 1. **Modified `/roles/netbootxyz/defaults/main.yml`**: Added `unsupported_arches: ["i386"]` to: - Debian 13 (trixie) - stable release - Debian forky (testing) - Debian sid (unstable) 2. **Modified `/roles/netbootxyz/templates/menu/debian.ipxe.j2`**: Added iPXE conditional logic: - Uses `iseq ${os_arch} i386 ||` to skip menu items for i386-unsupported versions - Preserves existing behavior for all other architectures - Maintains full compatibility for supported versions Now when users boot with i386 architecture, they will only see Debian 12 (bookworm) in the menu, which is the correct behavior. ### Result: **Before fix**: i386 users saw both Debian 12 and Debian 13 options **After fix**: i386 users only see Debian 12 (bookworm), other architectures see all versions
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#567
No description provided.