tazlito rev 491

Store location of 2nd eltorito boot file (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 17 14:03:04 2018 +0100 (19 months ago)
parents 2ca093c3ff30
children 18cd73d97c08
files tazlito
line diff
     1.1 --- a/tazlito	Fri Mar 16 23:20:47 2018 +0100
     1.2 +++ b/tazlito	Sat Mar 17 14:03:04 2018 +0100
     1.3 @@ -267,7 +267,7 @@
     1.4  	for i in $(seq 0 8 24); do
     1.5  		printf '\\\\x%02X' $((($3 >> $i) & 255))
     1.6  	done | xargs echo -en | dd bs=1 conv=notrunc of=$1 seek=$2 2>/dev/null
     1.7 -	set -- $1 $((4+$4)) $(stat -m $5/boot/isolinux/efi.img | sed q)
     1.8 +	set -- $1 $((2+$4)) $(stat -m $5/boot/isolinux/efi.img | sed q)
     1.9  	for i in $(seq 0 8 24); do
    1.10  		printf '\\\\x%02X' $((($3 >> $i) & 255))
    1.11  	done | xargs echo -en | dd bs=1 conv=notrunc of=$1 seek=$2 2>/dev/null
    1.12 @@ -898,7 +898,7 @@
    1.13  			zcat "$1.$i" | cpio -tv 2>/dev/null > "$1.list$i"; infos="$infos\n$1.list$i"
    1.14  			rm "$1.$i"
    1.15  		done
    1.16 -		touch -t 197001010100.00 "$1.*"
    1.17 +		touch -t 197001010100.00 $1.*
    1.18  		# Info to be stored inside ISO
    1.19  		[ "$2" == info ] && echo -e $infos | cpio -o -H newc | dogzip info
    1.20  		rm $1.list*