wok-next diff syslinux/stuff/iso2exe/iso2exe.sh @ rev 18775
syslinux/isohybrid.exe: add -a & -i support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 01 10:53:50 2016 +0100 (2016-01-01) |
parents | 73b721a72d57 |
children | c46b11485c8b |
line diff
1.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh Thu Dec 31 16:02:37 2015 +0100 1.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Fri Jan 01 10:53:50 2016 +0100 1.3 @@ -184,7 +184,7 @@ 1.4 1.5 #define $(echo $name | tr '[a-z]' '[A-Z]')SZ $BOOTISOSZ 1.6 1.7 -#ifdef WIN32 1.8 +#ifndef __MSDOS__ 1.9 static char $name[] = { 1.10 /* head */ 1.11 $(hexdump -v -n $HSZ -e '" " 16/1 "0x%02X, "' -e '" // %04.4_ax |" 16/1 "%_p" "| \n"' $DATA | sed 's/ 0x ,/ /g') 1.12 @@ -257,7 +257,7 @@ 1.13 fi 1.14 done <<EOT 1.15 READSECTORERR Read sector failure. 1.16 -USAGE Usage: isohybrid.exe file.iso [--forced|--undo|--quick] 1.17 +USAGE Usage: isohybrid.exe [--append cmdline] [--initrd file] file.iso [--forced|--undo|--quick] 1.18 OPENERR Can't open r/w the iso file. 1.19 ELTORITOERR No EL TORITO SPECIFICATION signature. 1.20 CATALOGERR Invalid boot catalog. 1.21 @@ -266,6 +266,7 @@ 1.22 FORCEMSG You can add --forced to proceed anyway. 1.23 MD5MSG Computing md5sum... 1.24 UNINSTALLMSG Uninstall done. 1.25 +OPENINITRDERR Can't open the initrd file. 1.26 EOT 1.27 done 1.28 rm -rf $DATA