summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-03 10:30:10 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:41 +0100
commit4d3525ab0f50c893e98170154d60503f23a34250 (patch)
treeb93c2803fc138908ea3b7debcb1dcda07219c152 /helpers
parent4fb3f719758f1bfa54d3017215cd43cc9fbd117d (diff)
downloadlive-build-4d3525ab0f50c893e98170154d60503f23a34250.zip
live-build-4d3525ab0f50c893e98170154d60503f23a34250.tar.gz
Correcting order of genisoimage option assembling, the exludes do have to be processed last.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_iso16
1 files changed, 8 insertions, 8 deletions
diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso
index 546c303..0b8bb55 100755
--- a/helpers/lh_binary_iso
+++ b/helpers/lh_binary_iso
@@ -91,14 +91,6 @@ then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -V \"${LH_ISO_VOLUME}\""
fi
-if In_list "stripped minimal" "${LH_PACKAGES_LISTS}"
-then
- if [ "${LH_DEBIAN_INSTALLER}" != "live" ]
- then
- GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m ${GENISOIMAGE_EXCLUDE}"
- fi
-fi
-
# Handle genisoimage architecture specific options
case "${LH_BOOTLOADER}" in
grub)
@@ -132,6 +124,14 @@ case "${LH_BOOTLOADER}" in
;;
esac
+if In_list "stripped minimal" "${LH_PACKAGES_LISTS}"
+then
+ if [ "${LH_DEBIAN_INSTALLER}" != "live" ]
+ then
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m ${GENISOIMAGE_EXCLUDE}"
+ fi
+fi
+
cat > binary.sh << EOF
genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso binary
EOF