From c4e56592179af02da12ab87abafd956f860371cb Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Thu, 13 Dec 2018 10:47:54 +1300 Subject: [PATCH] do not include kernel in base install for ubuntu-server:live this actually makes things closer to the non-live server build and so makes things a bit simpler --- live-build/auto/config | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index 9c39acbb..21cba94d 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -145,20 +145,15 @@ case $IMAGEFORMAT in ;; plain) - INITRAMFS_TYPE=none case $PROJECT:${SUBPROJECT:-} in ubuntu-server:live) - # Stop lb installing casper into filesystem.squashfs - # by skipping lb_chroot_live-packages. - skip_lb_stage chroot_live-packages - INITRAMFS_TYPE=auto touch config/universe-enabled ;; *) PREINSTALLED=true ;; esac - OPTS="${OPTS:+$OPTS }--initramfs $INITRAMFS_TYPE --chroot-filesystem $IMAGEFORMAT" + OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT" ;; ubuntu-image) @@ -519,9 +514,6 @@ case $PROJECT in add_task install standard add_task install server LIVE_TASK='cloud-image' - case $ARCH in - amd64) add_package live linux-signed-generic ;; - esac ;; esac COMPONENTS='main' @@ -837,8 +829,6 @@ case $ARCH in esac case $PROJECT:${SUBPROJECT:-} in - ubuntu-server:live) - ;; ubuntu-server:*|ubuntu-base:*|ubuntu-touch:*|ubuntu-touch-custom:*) OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" KERNEL_FLAVOURS=none