diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:10 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:29 +0100 |
commit | d1ee66e44c8272bb7a0053a456a3d8b0bd152268 (patch) | |
tree | 9e6722124d18f9358999b0da840f27857f97fede /helpers/lh_binary_iso | |
parent | 86726af9f5e7873d6cdbbe108fae1c41b1b67db0 (diff) | |
download | vyos-live-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.tar.gz vyos-live-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.zip |
Adding live-helper 1.0~a12-1.
Diffstat (limited to 'helpers/lh_binary_iso')
-rwxr-xr-x | helpers/lh_binary_iso | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso index 2f9fc2e5c..0bea7e3bc 100755 --- a/helpers/lh_binary_iso +++ b/helpers/lh_binary_iso @@ -67,6 +67,26 @@ do GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -v" fi + if [ -n "${LIVE_ISO_APPLICATION}" ] && [ "${LIVE_ISO_APPLICATION}" != "none" ] + then + GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -A \"${LIVE_ISO_APPLICATION}\"" + fi + + if [ -n "${LIVE_ISO_PREPARER}" ] && [ "${LIVE_ISO_PREPARER}" != "none" ] + then + GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -p \"${LIVE_ISO_PREPARER}\"" + fi + + if [ -n "${LIVE_ISO_PUBLISHER}" ] && [ "${LIVE_ISO_PUBLISHER}" != "none" ] + then + GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -publisher \"${LIVE_ISO_PUBLISHER}\"" + fi + + if [ -n "${LIVE_ISO_VOLUME}" ] && [ "${LIVE_ISO_VOLUME}" != "none" ] + then + GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -V \"${LIVE_ISO_VOLUME}\"" + fi + # Moving image mv binary chroot @@ -102,7 +122,7 @@ do fi cat >> chroot/binary.sh << EOF -${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -A "Debian Live" -p "Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org" -publisher "Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org" -V "${LIVE_ISO_VOLUME}" -o binary.iso -r -J -l -cache-inodes binary +${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o binary.iso -r -J -l -cache-inodes binary EOF Chroot "sh binary.sh" |