wok diff syslinux/stuff/iso2exe/taziso @ rev 19008

busybox/fbvnc: wheelmouse support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 28 18:04:41 2016 +0200 (2016-03-28)
parents 310fee6a1186
children b9aedd1a72c0
line diff
     1.1 --- a/syslinux/stuff/iso2exe/taziso	Sun Jan 10 10:39:46 2016 +0100
     1.2 +++ b/syslinux/stuff/iso2exe/taziso	Mon Mar 28 18:04:41 2016 +0200
     1.3 @@ -1284,6 +1284,23 @@
     1.4  	${1:-exit}
     1.5  }
     1.6  
     1.7 +infoiso()
     1.8 +{
     1.9 +	isoinfo -d -i "$ISO" > /tmp/isoinfo$$
    1.10 +	if [ -x "$(which iso2exe)" ]; then
    1.11 +		echo "----"
    1.12 +		iso2exe -l "$ISO"
    1.13 +	fi >> /tmp/isoinfo$$
    1.14 +	if [ "$1" ]; then
    1.15 +		cat /tmp/isoinfo$$
    1.16 +	else
    1.17 +		$DIALOG --clear \
    1.18 +			--title " Info ISO " \
    1.19 +			--textbox /tmp/isoinfo$$ 0 0
    1.20 +	fi
    1.21 +	rm -f /tmp/isoinfo$$
    1.22 +}
    1.23 +
    1.24  isotitle()
    1.25  {
    1.26  	echo "$(blkid "$ISO" | sed 's/.*LABEL="\([^"]*\).*/\1/')  $(stat \
    1.27 @@ -1326,6 +1343,7 @@
    1.28  $(gotisomd5		"isomd5"	"Check the ISO image") \
    1.29  $(cdfile 'md5sum*'	"md5"		"Check the ISO files") \
    1.30  $(cdfile 'sha*sum*'	"sha"		"Check the ISO files") \
    1.31 +$(xfile isoinfo		"infoiso"	"ISO image info") \
    1.32  $(cdfilex boot/bzImage	"bootiso"	"Boot the ISO image") \
    1.33  $(burnable		"burniso"	"Burn the ISO image") \
    1.34  $(blankable		"blankcd"	"Blank the CD/DVD") \