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

Up tazinst (110)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 17 17:23:12 2021 +0000 (2021-01-17)
parents a946c1651082
children 5b0e64c0628a
line diff
     1.1 --- a/syslinux/stuff/iso2exe/taziso	Fri Jan 08 20:15:35 2021 +0000
     1.2 +++ b/syslinux/stuff/iso2exe/taziso	Sun Jan 17 17:23:12 2021 +0000
     1.3 @@ -693,6 +693,22 @@
     1.4  	rm -f /tmp/data
     1.5  }
     1.6  
     1.7 +filepos()
     1.8 +{
     1.9 +	dotwait "locate files"
    1.10 +	( cd $media; find * -type f | while read f; do
    1.11 +		printf "%8d  %s\n" $(stat -m "$f" | sed q) "$f"
    1.12 +	done | sort -n ) > /tmp/data
    1.13 +	rm -f /tmp/wait
    1.14 +	if [ "$1" ]; then
    1.15 +		cat /tmp/data
    1.16 +	else
    1.17 +		$DIALOG --clear --title " File start sector " \
    1.18 +			--textbox /tmp/data 0 0
    1.19 +	fi
    1.20 +	rm -f /tmp/data
    1.21 +}
    1.22 +
    1.23  gotcdfile()
    1.24  {
    1.25  	for i in "$media/$1" "$media/*/$1" "$media/*/isolinux/$1" ; do
    1.26 @@ -1630,6 +1646,7 @@
    1.27  $(gotisomd5		"isomd5"	"Check the ISO image") \
    1.28  $(cdfile 'md5sum*'	"md5"		"Check the ISO files") \
    1.29  $(cdfile 'sha*sum*'	"sha"		"Check the ISO files") \
    1.30 +$(menuitem		"filepos"	"File start sector") \
    1.31  $(xfile isoinfo		"infoiso"	"ISO image info") \
    1.32  $(cdfilex 'bzImage*'	"bootiso"	"Boot the ISO image") \
    1.33  $(burnable		"burniso"	"Burn the ISO image") \