From 8fa8c644c2da0dda9a556382e3a48e97e87b4c75 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 24 Jun 2014 02:18:31 +0100 Subject: [PATCH] Install linux-signed-generic directly in live passes rather than relying on it being in the corresponding tasks. linux-signed-generic shouldn't be in a task because that expands to ABI-versioned packages, and tasks can't be updated post-release. --- debian/changelog | 9 +++++++++ live-build/auto/config | 27 +++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/debian/changelog b/debian/changelog index 33822903..27d0ff28 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +livecd-rootfs (2.218) UNRELEASED; urgency=medium + + * Install linux-signed-generic directly in live passes rather than relying + on it being in the corresponding tasks. linux-signed-generic shouldn't + be in a task because that expands to ABI-versioned packages, and tasks + can't be updated post-release. + + -- Colin Watson Tue, 24 Jun 2014 02:16:51 +0100 + livecd-rootfs (2.217) utopic; urgency=medium * drop swapfile creation for preinstalled images diff --git a/live-build/auto/config b/live-build/auto/config index ef0ed203..185693b9 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -188,12 +188,18 @@ case $PROJECT in ;; esac LIVE_TASK='ubuntu-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac ;; ubuntu-desktop-next) add_task install minimal standard ubuntu-desktop-next ubuntu-sdk-libs COMPONENTS='main restricted universe' LIVE_TASK='ubuntu-touch-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac ;; kubuntu|kubuntu-dvd) @@ -213,6 +219,9 @@ case $PROJECT in ;; esac LIVE_TASK='kubuntu-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac COMPONENTS='main restricted universe' add_chroot_hook remove-gnome-icon-cache ;; @@ -227,6 +236,9 @@ case $PROJECT in edubuntu|edubuntu-dvd) add_task install minimal standard ubuntu-desktop edubuntu-desktop-gnome LIVE_TASK='edubuntu-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac COMPONENTS='main restricted universe' ;; @@ -234,6 +246,9 @@ case $PROJECT in add_task install minimal standard xubuntu-desktop add_package install xterm LIVE_TASK='xubuntu-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac COMPONENTS='main restricted universe multiverse' case $ARCH in amd64|i386) KERNEL_FLAVOURS=generic ;; @@ -248,12 +263,18 @@ case $PROJECT in mythbuntu) add_task install minimal standard mythbuntu-desktop LIVE_TASK='mythbuntu-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac COMPONENTS='main restricted universe multiverse' ;; lubuntu) add_task install minimal standard lubuntu-desktop LIVE_TASK='lubuntu-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac COMPONENTS='main restricted universe multiverse' case $ARCH in amd64|i386) KERNEL_FLAVOURS=generic ;; @@ -267,6 +288,9 @@ case $PROJECT in ubuntu-gnome) add_task install minimal standard ubuntu-gnome-desktop LIVE_TASK='ubuntu-gnome-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac COMPONENTS='main restricted universe' ;; @@ -282,6 +306,9 @@ case $PROJECT in add_task install minimal standard ubuntu-desktop add_package install ubuntukylin-default-settings LIVE_TASK='ubuntu-live' + case $ARCH in + amd64) add_package live linux-signed-generic ;; + esac COMPONENTS='main restricted universe' ;;