wok-current rev 25684

Fix issue efi for tazlito on current
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 12:45:31 2024 +0000 (9 months ago)
parents b040c8f63a29
children 3c2b1b2d0d59
files tazlito/receipt tazlito/stuff/fix-mountiso.patch
line diff
     1.1 --- a/tazlito/receipt	Wed Mar 13 08:23:59 2024 +0000
     1.2 +++ b/tazlito/receipt	Thu Mar 14 12:45:31 2024 +0000
     1.3 @@ -30,6 +30,9 @@
     1.4  	# Patch for support pae kernel
     1.5  	patch -p1 < $stuff/support-kernel-pae.patch
     1.6  
     1.7 +	# Fix mount iso image bug
     1.8 +	patch -p1 < $stuff/fix-mountiso.patch
     1.9 +
    1.10  	sed -i "s/^VERSION=.*/VERSION=$VERSION/" tazlito
    1.11  	make DESTDIR=$DESTDIR VERSION=$VERSION install
    1.12  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tazlito/stuff/fix-mountiso.patch	Thu Mar 14 12:45:31 2024 +0000
     2.3 @@ -0,0 +1,11 @@
     2.4 +--- a/tazlito
     2.5 ++++ b/tazlito
     2.6 +@@ -711,7 +711,7 @@
     2.7 + 	dd if=/dev/zero bs=2k count=16 >> $1 2> /dev/null
     2.8 + 
     2.9 + 	mkdir /tmp/mnt$$
    2.10 +-	mount -o loop,ro $1 /tmp/mnt$$
    2.11 ++	mount -t iso9660 -o loop,ro $1 /tmp/mnt$$
    2.12 + 	fixup_uefi_part $1 /tmp/mnt$$
    2.13 + 	for i in boot/isolinux/isolinux.bin boot/isolinux/boot.cat \
    2.14 + 		 ${uefi:+$efi_img} ; do