summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_iso
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-09-27 09:58:02 -0300
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commitb85f12a0451fe77eb5fc99a13b13ab04b7dee7c5 (patch)
tree36d880dd476e5662565e24e6fa27ab2a7a28ba07 /helpers/lh_binary_iso
parentf6d9cd49e204a801cec73009cea18e1e0471e4b2 (diff)
downloadvyos-live-build-b85f12a0451fe77eb5fc99a13b13ab04b7dee7c5.tar.gz
vyos-live-build-b85f12a0451fe77eb5fc99a13b13ab04b7dee7c5.zip
iso: move mini and minimal flavors assigment to a cannonical place
Diffstat (limited to 'helpers/lh_binary_iso')
-rwxr-xr-xhelpers/lh_binary_iso28
1 files changed, 12 insertions, 16 deletions
diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso
index 82ba2a9f1..11280ee4d 100755
--- a/helpers/lh_binary_iso
+++ b/helpers/lh_binary_iso
@@ -102,30 +102,20 @@ case "${LH_BOOTLOADER}" in
grub)
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b boot/grub/stage2_eltorito"
-
- if [ "${LH_PACKAGES_LISTS}" = "mini" ] || [ "${LH_PACKAGES_LISTS}" = "minimal" ]
- then
- GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m boot/grub/stage2_eltorito"
- fi
+ GENISOIMAGE_EXCLUDE="boot/grub/stage2_eltorito"
;;
syslinux)
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat"
-
- if [ "${LH_PACKAGES_LISTS}" = "mini" ] || [ "${LH_PACKAGES_LISTS}" = "minimal" ]
- then
- GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m isolinux/isolinux.bin"
- fi
+ GENISOIMAGE_EXCLUDE="isolinux/isolinux.bin"
;;
yaboot)
- GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r --iso-level 2 --netatalk -hfs -probe -map binary/yaboot/hfs.map --chrp-boot -part -no-desktop -hfs-bless binary/yaboot -hfs-volid Debian/Live_powerpc"
-
- if [ "${LH_PACKAGES_LISTS}" = "mini" ] || [ "${LH_PACKAGES_LISTS}" = "minimal" ]
- then
- GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m yaboot/hfs.map"
- fi
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r --iso-level 2 --netatalk -hfs -probe -map"
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} binary/yaboot/hfs.map --chrp-boot -part -no-desktop"
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -hfs-bless binary/yaboot -hfs-volid Debian/Live_powerpc"
+ GENISOIMAGE_EXCLUDE="yaboot/hfs.map"
;;
*)
@@ -134,6 +124,12 @@ case "${LH_BOOTLOADER}" in
;;
esac
+case "${LH_PACKAGES_LISTS}" in
+ minimal|mini)
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m ${GENISOIMAGE_EXCLUDE}"
+ ;;
+esac
+
case "${LH_CHROOT_BUILD}" in
enabled)
# Moving image