wok-next diff syslinux/stuff/iso2exe/iso2exe.sh @ rev 19433

syslinux/taziso: parse 64bit kernels
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 02 15:40:25 2016 +0200 (2016-10-02)
parents 31e215a4b9bb
children 37bef16b6789
line diff
     1.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh	Fri Sep 30 21:29:58 2016 +0200
     1.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh	Sun Oct 02 15:40:25 2016 +0200
     1.3 @@ -523,9 +523,9 @@
     1.4  	gpt= ; [ $(get 466 $1) -eq 65263 ] && gpt=1
     1.5  	mac= ; [ $(get 2048 $1) -eq 19792 ] && mac=1
     1.6  	echo "Read hybrid & tazlito data..."
     1.7 -	if [ -n "gpt" ]; then
     1.8 +	if [ -n "$gpt" ]; then
     1.9  		echo "GUID Partition Table..."
    1.10 -		n=3; [ -n "mac" ] && n=9 && echo "Apple Partition Table..."
    1.11 +		n=3; [ -n "$mac" ] && n=9 && echo "Apple Partition Table..."
    1.12  		ddq if=$1 bs=512 count=$n of=/tmp/hybrid$$
    1.13  		ddq if=$1 bs=512 skip=44 count=20 of=/tmp/tazlito$$
    1.14  	else