summaryrefslogtreecommitdiff
path: root/configs/releng/syslinux.dual/archiso_sys_choose.cfg
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-02 00:44:02 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-02 14:24:12 -0300
commitd7966acd156547b7c236156e4afca0f3036362b0 (patch)
treecd1f311a35a857098b345359d4d88c7aee75ddb9 /configs/releng/syslinux.dual/archiso_sys_choose.cfg
parent3df0be6a228745e9ea3102ede4fb865089d73b15 (diff)
downloadarchiso32-d7966acd156547b7c236156e4afca0f3036362b0.tar.xz
[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 <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/syslinux.dual/archiso_sys_choose.cfg')
-rw-r--r--configs/releng/syslinux.dual/archiso_sys_choose.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/releng/syslinux.dual/archiso_sys_choose.cfg b/configs/releng/syslinux.dual/archiso_sys_choose.cfg
new file mode 100644
index 0000000..24c597a
--- /dev/null
+++ b/configs/releng/syslinux.dual/archiso_sys_choose.cfg
@@ -0,0 +1,11 @@
+DEFAULT choose
+
+LABEL choose
+COM32 boot/syslinux/ifcpu64.c32
+APPEND have64 -- nohave64
+
+LABEL have64
+CONFIG boot/syslinux/archiso_sys_both_inc.cfg
+
+LABEL nohave64
+CONFIG boot/syslinux/archiso_sys_32_inc.cfg