wok-next rev 17933

syslinux/taziso: fix ishybrid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 13 11:52:40 2015 +0200 (2015-04-13)
parents aece1721c14f
children d522b4dd300b
files syslinux/stuff/iso2exe/init syslinux/stuff/iso2exe/taziso
line diff
     1.1 --- a/syslinux/stuff/iso2exe/init	Mon Apr 13 11:13:34 2015 +0200
     1.2 +++ b/syslinux/stuff/iso2exe/init	Mon Apr 13 11:52:40 2015 +0200
     1.3 @@ -646,6 +646,7 @@
     1.4  
     1.5  ishybrid()
     1.6  {
     1.7 +	[ $(get 510 $ISO) -eq 43605 ] || return
     1.8  	C=$((2048*$(get $(((17*2048) + 71)) /mnt/$ISO 4)))
     1.9  	[ $(get $C /mnt/$ISO 4) -eq 1 ] || return
    1.10  	[ $(get $(($C+30)) /mnt/$ISO 4) -eq $((0x88AA55)) ] || return
     2.1 --- a/syslinux/stuff/iso2exe/taziso	Mon Apr 13 11:13:34 2015 +0200
     2.2 +++ b/syslinux/stuff/iso2exe/taziso	Mon Apr 13 11:52:40 2015 +0200
     2.3 @@ -805,6 +805,7 @@
     2.4  
     2.5  ishybrid()
     2.6  {
     2.7 +	[ $(get 510 $ISO) -eq 43605 ] || return
     2.8  	C=$((2048*$(get $(((17*2048) + 71)) $ISO 4)))
     2.9  	[ $(get $C $ISO 4) -eq 1 ] || return
    2.10  	[ $(get $(($C+30)) $ISO 4) -eq $((0x88AA55)) ] || return