# HG changeset patch # User Pascal Bellard # Date 1695756985 0 # Node ID 410764dcf93ad59da05cf34eab837a0663375240 # Parent db2cc84a89170fc7fda0e5fe088817212b891631 helper: don't build slitaz.iso twice (again) diff -r db2cc84a8917 -r 410764dcf93a helper --- a/helper Tue Sep 26 17:11:06 2023 +0000 +++ b/helper Tue Sep 26 19:36:25 2023 +0000 @@ -494,8 +494,8 @@ find . | grep -v ^./boot | cpio -o -H newc | compressto ../rootfs.gz rootfs fi if [ "x$1" = "x--mkiso" ]; then + tmp=$2 [ -s $tmp/slitaz.iso ] && exit 0 - tmp=$2 mkdir -p $tmp/iso/boot/isolinux $tmp/iso/data compressto $tmp/iso/data/sysmap.gz < $tmp/fs/boot/System.map compressto $tmp/iso/data/linconf.gz < $tmp/fs/boot/config