tazlito rev 432

uefi support aventually...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 17 21:25:01 2016 +0200 (2016-09-17)
parents 40e6718c6f0c
children 0f23bf36e100
files tazlito
line diff
     1.1 --- a/tazlito	Fri Sep 09 21:26:49 2016 +0200
     1.2 +++ b/tazlito	Sat Sep 17 21:25:01 2016 +0200
     1.3 @@ -280,8 +280,10 @@
     1.4  
     1.5  	_ 'Generating %s' "$1"
     1.6  	make_bzImage_hardlink $2/boot
     1.7 +	uefi="$(cd $2 ; ls boot/isolinux/*efi*img 2> /dev/null)"
     1.8  	genisoimage -R  -o $1  -hide-rr-moved  -b boot/isolinux/isolinux.bin \
     1.9  		-c boot/isolinux/boot.cat   -no-emul-boot   -boot-load-size 4 \
    1.10 +		${uefi:+-eltorito-alt-boot  -e $uefi  -no-emul-boot} \
    1.11  		-V "{$VOLUM_NAME:-SliTaz}"   -p "${PREPARED:-$(id -un)}" \
    1.12  		-input-charset utf-8 \
    1.13  		-A "tazlito $VERSION/$(genisoimage --version)" \
    1.14 @@ -349,7 +351,7 @@
    1.15  #		sz=$(( $sz / 2 ))
    1.16  #	done
    1.17  #	echo $n
    1.18 -	echo ${LZMA_HISTORY_BITS:=24}
    1.19 +	echo ${LZMA_HISTORY_BITS:-24}
    1.20  }
    1.21  
    1.22