diff --git a/debian/changelog b/debian/changelog index 5444d3d3..4d88a4fe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.15) UNRELEASED; urgency=low + + * Support generating different binary image types using + BINARYFORMAT=iso-hybrid and so on (although this won't actually work + until we create a syslinux-themes-ubuntu package). + + -- Colin Watson Thu, 14 Jul 2011 18:26:02 +0100 + livecd-rootfs (2.14) oneiric; urgency=low * Handle package/task list changes in live-build 3.0~a22-1. diff --git a/live-build/auto/config b/live-build/auto/config index 3be7d853..7da28618 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -51,7 +51,10 @@ add_package () OPTS= COMPONENTS= BINARY_REMOVE_LINUX=: +BINARY_IMAGES=none +MEMTEST=none SOURCE='--source false' +BOOTLOADER=none LIVE_TASK= case $IMAGEFORMAT in @@ -72,6 +75,14 @@ case $IMAGEFORMAT in ;; esac +case $BINARYFORMAT in + iso*|usb*) + BINARY_IMAGES="$BINARYFORMAT" + MEMTEST=memtest86+ + BOOTLOADER=syslinux + ;; +esac + case $PROJECT in ubuntu|ubuntu-dvd) add_task install minimal standard ubuntu-desktop @@ -170,8 +181,8 @@ lb config noauto \ --mode ubuntu \ --distribution "$SUITE" \ --bootstrap-keyring ubuntu-keyring \ - --binary-images none \ - --memtest none \ + --binary-images "$BINARY_IMAGES" \ + --memtest "$MEMTEST" \ $SOURCE \ --build-with-chroot false \ ${MIRROR:+--parent-mirror-bootstrap $MIRROR} \ @@ -179,7 +190,7 @@ lb config noauto \ --package-lists none \ ${KERNEL_FLAVOURS:+--linux-flavours "$KERNEL_FLAVOURS"} \ --initsystem none \ - --bootloader none \ + --bootloader "$BOOTLOADER" \ --initramfs-compression lzma \ $OPTS