Reorganise code to avoid kernel installation on

ubuntu-server/ubuntu-core so that it works for all architectures.
ubuntu/trusty
Colin Watson 13 years ago
parent d620abecea
commit 5d0e98c400

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.86) UNRELEASED; urgency=low
* Reorganise code to avoid kernel installation on
ubuntu-server/ubuntu-core so that it works for all architectures.
-- Colin Watson <cjwatson@ubuntu.com> Tue, 11 Sep 2012 16:56:16 +0100
livecd-rootfs (2.85) quantal; urgency=low livecd-rootfs (2.85) quantal; urgency=low
* live-build/auto/config: Set KERNEL_FLAVOURS=none for ubuntu-server as * live-build/auto/config: Set KERNEL_FLAVOURS=none for ubuntu-server as

@ -231,17 +231,12 @@ case $PROJECT in
ubuntu-server) ubuntu-server)
add_task install minimal add_task install minimal
OPTS="${OPTS:+$OPTS }--linux-packages=none"
KERNEL_FLAVOURS=none
COMPONENTS='main' COMPONENTS='main'
PREINSTALL_POOL_SEEDS='server-ship' PREINSTALL_POOL_SEEDS='server-ship'
;; ;;
ubuntu-core) ubuntu-core)
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal" OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
OPTS="${OPTS:+$OPTS }--linux-packages=none"
KERNEL_FLAVOURS=none
BINARY_REMOVE_LINUX=false
;; ;;
*) *)
@ -303,6 +298,14 @@ case $ARCH in
;; ;;
esac esac
case $PROJECT in
ubuntu-server|ubuntu-core)
OPTS="${OPTS:+$OPTS }--linux-packages=none"
KERNEL_FLAVOURS=none
BINARY_REMOVE_LINUX=false
;;
esac
add_chroot_hook update-apt-file-cache add_chroot_hook update-apt-file-cache
add_chroot_hook update-apt-xapian-index add_chroot_hook update-apt-xapian-index
add_chroot_hook update-mlocate-database add_chroot_hook update-mlocate-database

Loading…
Cancel
Save