diff options
author | Daniel Baumann <daniel@debian.org> | 2009-12-13 21:21:59 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:03 +0100 |
commit | 09c2e7943c44cd56cda443b9c59cf9e475e257b0 (patch) | |
tree | 00f814e9b5709e1a5e4940a7e84672268e89fc3d /helpers/lh_binary_iso | |
parent | 701b5affd403d9a25df311fc422dd33eb4526c34 (diff) | |
download | vyos-live-build-09c2e7943c44cd56cda443b9c59cf9e475e257b0.tar.gz vyos-live-build-09c2e7943c44cd56cda443b9c59cf9e475e257b0.zip |
Adding experimental support for isohybrid (Closes: #558688).
Diffstat (limited to 'helpers/lh_binary_iso')
-rwxr-xr-x | helpers/lh_binary_iso | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso index 47529d6a7..4012a7021 100755 --- a/helpers/lh_binary_iso +++ b/helpers/lh_binary_iso @@ -45,6 +45,11 @@ Create_lockfile .lock # Checking depends Check_package chroot/usr/bin/genisoimage genisoimage +if [ "${LH_BINARY_ISO_HYBRID}" = "true" ] +then + Check_package chroot/usr/bin/isohybrid syslinux-common +fi + # Restoring cache Restore_cache cache/packages_binary @@ -175,6 +180,16 @@ cat >> binary.sh << EOF genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso binary EOF +if [ "${LH_BINARY_ISO_HYRBID}" = "true" ] +then + +cat >> binary.sh << EOF + +isohybrid binary.iso +EOF + +fi + case "${LH_CHROOT_BUILD}" in true) # Moving image |