# HG changeset patch # User Pascal Bellard # Date 1482231953 -3600 # Node ID 1a94764ae7b6947c1d284b38101b130b8dad7336 # Parent e800d2f7e6368dd98b6963604d85f32278b5b620 sort iso files diff -r e800d2f7e636 -r 1a94764ae7b6 tazlito --- a/tazlito Sat Nov 19 23:47:56 2016 +0200 +++ b/tazlito Tue Dec 20 12:05:53 2016 +0100 @@ -269,6 +269,15 @@ cd $2 deduplicate + cat > /tmp/cdsort$$ < md5sum sed -i -e '/ boot\/isolinux\/isolinux.bin$/d' \ @@ -281,7 +290,7 @@ _ 'Generating %s' "$1" make_bzImage_hardlink $2/boot uefi="$(cd $2 ; ls boot/isolinux/*efi*img 2> /dev/null)" - genisoimage -R -o $1 -hide-rr-moved \ + genisoimage -R -o $1 -hide-rr-moved -sort /tmp/cdsort$$ \ -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \ -no-emul-boot -boot-load-size 4 -boot-info-table \ ${uefi:+-eltorito-alt-boot -efi-boot $uefi -no-emul-boot} \ @@ -289,6 +298,7 @@ -volset "SliTaz $SLITAZ_VERSION" -input-charset utf-8 \ -A "tazlito $VERSION/$(genisoimage --version)" \ -copyright README -P "www.slitaz.org" $2 + rm -f /tmp/cdsort$$ if [ -s '/etc/tazlito/info' ]; then if [ $(stat -c %s /etc/tazlito/info) -lt $(( 31*1024 )) ]; then action 'Storing ISO info...'