Correcting order of genisoimage option assembling, the exludes do have to be processed last.
This commit is contained in:
parent
4fb3f71975
commit
4d3525ab0f
|
@ -91,14 +91,6 @@ then
|
||||||
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -V \"${LH_ISO_VOLUME}\""
|
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -V \"${LH_ISO_VOLUME}\""
|
||||||
fi
|
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
|
# Handle genisoimage architecture specific options
|
||||||
case "${LH_BOOTLOADER}" in
|
case "${LH_BOOTLOADER}" in
|
||||||
grub)
|
grub)
|
||||||
|
@ -132,6 +124,14 @@ case "${LH_BOOTLOADER}" in
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
cat > binary.sh << EOF
|
||||||
genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso binary
|
genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso binary
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue