summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-24 23:01:21 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-24 23:01:21 +0100
commitfbf9e2a4d6e346b4a7d452e1d20e6b5a829e016f (patch)
tree8d436da96e0a137ed901bd94368c3f47d194691c /scripts/build
parent40cc1b82291416060957593e25abc93b5a88d728 (diff)
downloadlive-build-fbf9e2a4d6e346b4a7d452e1d20e6b5a829e016f.zip
live-build-fbf9e2a4d6e346b4a7d452e1d20e6b5a829e016f.tar.gz
added ISO sorting
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_binary_iso15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_iso b/scripts/build/lb_binary_iso
index 813919f..7b6fe10 100755
--- a/scripts/build/lb_binary_iso
+++ b/scripts/build/lb_binary_iso
@@ -106,6 +106,21 @@ then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -V \"${LB_ISO_VOLUME}\""
fi
+if [ -f config/binary_iso/isoimage.sort ]
+then
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -sort isoimage.sort"
+
+ case "${LB_BUILD_WITH_CHROOT}" in
+ true)
+ cp config/binary_iso/isoimage.sort chroot
+ ;;
+
+ false)
+ cp config/binary_iso/isoimage.sort .
+ ;;
+ esac
+fi
+
# Handle genisoimage architecture specific options
case "${LB_BOOTLOADER}" in
grub)