summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)