From b6c0413accc3ba1d11406bc0a331055b9b3564bc Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 14 Jul 2011 18:27:04 +0100 Subject: [PATCH] Import patches-unapplied version 2.15 to ubuntu/oneiric Imported using git-ubuntu import. Changelog parent: 50cf3a267cef6c38f635fa6fc9d81a43c0ea75d3 New changelog entries: * 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). --- debian/changelog | 8 ++++++++ live-build/auto/config | 17 ++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5444d3d3..a14b084e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.15) oneiric; 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:27:04 +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