From d7966acd156547b7c236156e4afca0f3036362b0 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Fri, 2 Dec 2011 00:44:02 -0300 Subject: [configs/releng] Use whichsys.c32 to determine bootloader type * In that way we can have two differents syslinux menus depending if booting from PXE or from non-PXE. Some file renames are made to keep things ordered: archiso_pxe* all things related to PXELINUX archiso_sys* all things related to SYSLINUX *_inc.cfg only contains INCLUDE directive * By default NBD PXE option is selected for booting on timeout. * As (NDB/NFS/HTTP/FTP) server is used the same IP from pxeserver. Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/syslinux/archiso.cfg | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'configs/releng/syslinux/archiso.cfg') diff --git a/configs/releng/syslinux/archiso.cfg b/configs/releng/syslinux/archiso.cfg index 1228355..126fc77 100644 --- a/configs/releng/syslinux/archiso.cfg +++ b/configs/releng/syslinux/archiso.cfg @@ -1,3 +1,11 @@ -INCLUDE boot/syslinux/archiso_head.cfg -INCLUDE boot/syslinux/archiso_arch.cfg -INCLUDE boot/syslinux/archiso_tail.cfg +DEFAULT select + +LABEL select +COM32 boot/syslinux/whichsys.c32 +APPEND -pxe- pxe -sys- sys -iso- sys + +LABEL pxe +CONFIG boot/syslinux/archiso_pxe_inc.cfg + +LABEL sys +CONFIG boot/syslinux/archiso_sys_inc.cfg -- cgit v1.2.3-54-g00ecf