@ -51,7 +51,10 @@ add_package ()
OPTS=
OPTS=
COMPONENTS=
COMPONENTS=
BINARY_REMOVE_LINUX=:
BINARY_REMOVE_LINUX=:
BINARY_IMAGES=none
MEMTEST=none
SOURCE='--source false'
SOURCE='--source false'
BOOTLOADER=none
LIVE_TASK=
LIVE_TASK=
case $IMAGEFORMAT in
case $IMAGEFORMAT in
@ -72,6 +75,14 @@ case $IMAGEFORMAT in
;;
;;
esac
esac
case $BINARYFORMAT in
iso*|usb*)
BINARY_IMAGES="$BINARYFORMAT"
MEMTEST=memtest86+
BOOTLOADER=syslinux
;;
esac
case $PROJECT in
case $PROJECT in
ubuntu|ubuntu-dvd)
ubuntu|ubuntu-dvd)
add_task install minimal standard ubuntu-desktop
add_task install minimal standard ubuntu-desktop
@ -170,8 +181,8 @@ lb config noauto \
--mode ubuntu \
--mode ubuntu \
--distribution "$SUITE" \
--distribution "$SUITE" \
--bootstrap-keyring ubuntu-keyring \
--bootstrap-keyring ubuntu-keyring \
--binary-images none \
--binary-images "$BINARY_IMAGES" \
--memtest none \
--memtest "$MEMTEST" \
$SOURCE \
$SOURCE \
--build-with-chroot false \
--build-with-chroot false \
${MIRROR:+--parent-mirror-bootstrap $MIRROR} \
${MIRROR:+--parent-mirror-bootstrap $MIRROR} \
@ -179,7 +190,7 @@ lb config noauto \
--package-lists none \
--package-lists none \
${KERNEL_FLAVOURS:+--linux-flavours "$KERNEL_FLAVOURS"} \
${KERNEL_FLAVOURS:+--linux-flavours "$KERNEL_FLAVOURS"} \
--initsystem none \
--initsystem none \
--bootloader none \
--bootloader "$BOOTLOADER" \
--initramfs-compression lzma \
--initramfs-compression lzma \
$OPTS
$OPTS