[syslinux] 5.01 whichsys.c32 / ifcpu64.c32 does not execute labels

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri Feb 1 07:52:32 PST 2013


Hello

I am working as developer of archiso (Arch Linux ISO creator). I am
triying to get working with syslinux 5.01 (previously using 4.06).

whichsys.c32 does not execute labels and does not throws any error, just
a help message (the same thing happens with ifcpu64.c32 and ifcpu.c32)

Example:


boot: <<TAB>>
 select pxe sys

boot: whichsys -iso- sys -pxe- pxe -sys- sys
Usage:    whichsys.c32 [-iso- command] [-pxe- command] [-sys- command]
Examples: whichsys.c32 -iso- chain.c32 hd0 -sys- chain.c32 hd1 swap
          whichsys.c32 -iso- config iso.cfg -pxe- config pxe.cfg
boot:

The same things happens if anything command is passed as arguments, ie:

boot: whichsys -sys- coco -iso- pepe
Usage:    whichsys.c32 [-iso- command] [-pxe- command] [-sys- command]
Examples: whichsys.c32 -iso- chain.c32 hd0 -sys- chain.c32 hd1 swap
          whichsys.c32 -iso- config iso.cfg -pxe- config pxe.cfg
boot:

also if I try to execute a c32 file without extension, ie:

boot: whichsys -iso- ls -sys- pwd
Usage:    whichsys.c32 [-iso- command] [-pxe- command] [-sys- command]
Examples: whichsys.c32 -iso- chain.c32 hd0 -sys- chain.c32 hd1 swap
          whichsys.c32 -iso- config iso.cfg -pxe- config pxe.cfg
boot:

But if I pass with .c32, it works, but shows the helper message at end:

boot: whichsys -iso- ls.c32 -sys- pwd.c32
[dir] .                    [dir] i686                       pkglist_i686.txt
[dir] ..                         aitab
[dir] boot                       checksum_i686.md5
Usage:    whichsys.c32 [-iso- command] [-pxe- command] [-sys- command]
Examples: whichsys.c32 -iso- chain.c32 hd0 -sys- chain.c32 hd1 swap
          whichsys.c32 -iso- config iso.cfg -pxe- config pxe.cfg
boot:


I detected this, because it does not work from config file:

---
DEFAULT select

LABEL select
COM32 boot/syslinux/whichsys.c32
APPEND -pxe- pxe -sys- sys -iso- sys

LABEL pxe
CONFIG boot/syslinux/archiso_pxe_choose.cfg

LABEL sys
CONFIG boot/syslinux/archiso_sys_choose.cfg
---

If more info/tests is needed please let me know.


-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20130201/be59a4e4/attachment.sig>


More information about the Syslinux mailing list