tazlito rev 359

tazlito: no md5sum for vmlinuz* (non-rockridge collisions and already checked with bzImage*)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 25 15:55:46 2014 +0200 (2014-08-25)
parents 23bc2f20b255
children 0687ed780754
files tazlito
line diff
     1.1 --- a/tazlito	Thu Aug 07 20:12:52 2014 +0100
     1.2 +++ b/tazlito	Mon Aug 25 15:55:46 2014 +0200
     1.3 @@ -220,7 +220,7 @@
     1.4  {
     1.5  	cd $2
     1.6  	echo -n "Computing md5..."
     1.7 -	find * -type f ! -name md5sum -exec md5sum {} \; > md5sum
     1.8 +	find * -type f ! -name md5sum ! -name 'vmlinuz*' -exec md5sum {} \; > md5sum
     1.9  	sed -i  -e '/  boot\/isolinux\/isolinux.bin$/d' \
    1.10  		-e '/  boot\/isolinux\/boot.cat$/d' md5sum
    1.11  	status
    1.12 @@ -238,7 +238,7 @@
    1.13  	genisoimage -R -o $1 -b boot/isolinux/isolinux.bin \
    1.14   		-c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
    1.15  		-V "$VOLUM_NAME" -p "$PREPARED" -input-charset iso8859-1 \
    1.16 -		-boot-info-table $2
    1.17 +		-copyright README -P "www.slitaz.org" -boot-info-table $2
    1.18  	if [ -x /usr/bin/isohybrid ]; then
    1.19  		echo -n "Creating hybrid ISO..."
    1.20  		/usr/bin/isohybrid $1 -entry 2 2> /dev/null
    1.21 @@ -2342,7 +2342,8 @@
    1.22  		echo "Generating ISO image..."
    1.23  		genisoimage -R -o $ISO_NAME.iso -b boot/isolinux/isolinux.bin \
    1.24  		-c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
    1.25 -		-V "SliTaz" -input-charset iso8859-1 -boot-info-table $ROOTCD
    1.26 +		-V "SliTaz" -p "$(id -un)" -input-charset iso8859-1 \
    1.27 +		-P "$(hostname)" -boot-info-table $ROOTCD
    1.28  		if [ -x /usr/bin/isohybrid ]; then
    1.29  			echo -n "Creating hybrid ISO..."
    1.30  			/usr/bin/isohybrid $ISO_NAME.iso -entry 2 2> /dev/null