From bfd43ff41a294440fa1152c2029a4487bb1eb106 Mon Sep 17 00:00:00 2001 From: nocode Date: Mon, 6 Jul 2026 18:40:32 +0200 Subject: [PATCH] refactor(baseline syslinux)!: restructure syslinux configuration for multi-boot selection Replace simple serial-based menu with system detection logic using whichsys.c32 to automatically select between PXE and direct system boot. This enables dynamic boot method selection while maintaining support for both boot scenarios. BREAKING CHANGE: Changes syslinux.cfg structure from single menu-based boot to conditional boot selection. Systems relying on the previous serial menu interface and default 'arch' label will need to adapt to the new whichsys-based selection mechanism. --- configs/baseline/syslinux/syslinux.cfg | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/configs/baseline/syslinux/syslinux.cfg b/configs/baseline/syslinux/syslinux.cfg index 561ac7c..cbda72f 100644 --- a/configs/baseline/syslinux/syslinux.cfg +++ b/configs/baseline/syslinux/syslinux.cfg @@ -1,9 +1,11 @@ -SERIAL 0 115200 -UI menu.c32 -MENU TITLE Arch Linux -MENU CLEAR +DEFAULT select -DEFAULT arch -TIMEOUT 30 +LABEL select +COM32 whichsys.c32 +APPEND -pxe- pxe -sys- sys -iso- sys -INCLUDE syslinux-linux.cfg +LABEL pxe +CONFIG archiso_pxe.cfg + +LABEL sys +CONFIG archiso_sys.cfg