[Debian-live-changes] r910 - dists/trunk/live-helper/helpers
Daniel Baumann
daniel at alioth.debian.org
Sun Apr 1 19:04:10 UTC 2007
Author: daniel
Date: 2007-04-01 19:04:09 +0000 (Sun, 01 Apr 2007)
New Revision: 910
Modified:
dists/trunk/live-helper/helpers/lh_binary_iso
Log:
Modified: dists/trunk/live-helper/helpers/lh_binary_iso
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_iso 2007-04-01 18:59:48 UTC (rev 909)
+++ dists/trunk/live-helper/helpers/lh_binary_iso 2007-04-01 19:04:09 UTC (rev 910)
@@ -75,8 +75,14 @@
# Create image
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
then
- #Chroot "${LH_GENISOIMAGE} -A \"Debian Live\" -p \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel at lists.alioth.debian.org\" -publisher \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel at lists.alioth.debian.org\" -o binary.iso -r -J -l -V \"${LIVE_ISO_VOLUME}\" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
- Chroot "${LH_GENISOIMAGE} -o binary.iso -r -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
+ if [ "${LIVE_SYSLINUX}" = "enabled" ]
+ then
+ #Chroot "${LH_GENISOIMAGE} -A \"Debian Live\" -p \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel at lists.alioth.debian.org\" -publisher \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel at lists.alioth.debian.org\" -o binary.iso -r -J -l -V \"${LIVE_ISO_VOLUME}\" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
+ Chroot "${LH_GENISOIMAGE} -o binary.iso -r -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
+ elif [ "${LIVE_GRUB}" = "enabled" ]
+ then
+ Chroot "${LH_GENISOIMAGE} -o binary.iso -r -J -l -b -b grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table binary"
+ fi
else
echo "W: Bootloader on your architecture not yet supported (Continuing in 5 seconds)."
sleep 5
More information about the Debian-live-changes
mailing list