tiny-slitaz rev 38 tip

helper: don't build slitaz.iso twice (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 26 19:36:25 2023 +0000 (7 months ago)
parents db2cc84a8917
children
files helper
line diff
     1.1 --- a/helper	Tue Sep 26 17:11:06 2023 +0000
     1.2 +++ b/helper	Tue Sep 26 19:36:25 2023 +0000
     1.3 @@ -494,8 +494,8 @@
     1.4  	find . | grep -v ^./boot | cpio -o -H newc | compressto ../rootfs.gz rootfs
     1.5  fi
     1.6  if [ "x$1" = "x--mkiso" ]; then
     1.7 +	tmp=$2
     1.8  	[ -s $tmp/slitaz.iso ] && exit 0
     1.9 -	tmp=$2
    1.10  	mkdir -p $tmp/iso/boot/isolinux $tmp/iso/data
    1.11  	compressto $tmp/iso/data/sysmap.gz < $tmp/fs/boot/System.map
    1.12  	compressto $tmp/iso/data/linconf.gz < $tmp/fs/boot/config