tazlito rev 510

Take care of installed /boot/isolinux/efi.img (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 03 15:43:24 2018 +0200 (13 months ago)
parents d585f8404493
children e11610f472bf
files tazlito
line diff
     1.1 --- a/tazlito	Sun Jun 03 14:17:50 2018 +0200
     1.2 +++ b/tazlito	Sun Jun 03 15:43:24 2018 +0200
     1.3 @@ -1267,6 +1267,9 @@
     1.4  # Remove duplicated files in $1/efi/boot from $1/boot
     1.5  
     1.6  cleanup_efi_boot() {
     1.7 +	[ -s $1/boot/isolinux/efi.img ] &&
     1.8 +	[ ! -x $1/boot/isolinux/efi.img ] &&
     1.9 +	rm -f $1/boot/isolinux/efi.img
    1.10  	for i in $1/efi/boot/* ; do
    1.11  		[ -f $i ] || continue
    1.12  		case "$i" in