|
|
@ -134,6 +134,11 @@ case $PROJECT in
|
|
|
|
add_package live linux-signed-generic-lts-quantal
|
|
|
|
add_package live linux-signed-generic-lts-quantal
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
case $ARCH in
|
|
|
|
|
|
|
|
amd64|i386)
|
|
|
|
|
|
|
|
KERNEL_FLAVOURS=generic-lts-quantal
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
kubuntu|kubuntu-dvd)
|
|
|
|
kubuntu|kubuntu-dvd)
|
|
|
@ -158,6 +163,11 @@ case $PROJECT in
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
COMPONENTS='main restricted universe'
|
|
|
|
COMPONENTS='main restricted universe'
|
|
|
|
|
|
|
|
case $ARCH in
|
|
|
|
|
|
|
|
amd64|i386)
|
|
|
|
|
|
|
|
KERNEL_FLAVOURS=generic-lts-quantal
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
xubuntu)
|
|
|
|
xubuntu)
|
|
|
@ -289,6 +299,24 @@ lb config noauto \
|
|
|
|
--initramfs-compression lzma \
|
|
|
|
--initramfs-compression lzma \
|
|
|
|
$OPTS
|
|
|
|
$OPTS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# On some projects/architectures, we want to use backported kernels with
|
|
|
|
|
|
|
|
# improved hardware enablement. Unfortunately, live-build doesn't have very
|
|
|
|
|
|
|
|
# good support for the way these are laid out: the metapackages are
|
|
|
|
|
|
|
|
# *-generic-lts-*, but the files on disk are *-generic. We need some
|
|
|
|
|
|
|
|
# contortions to persuade it to do the right thing.
|
|
|
|
|
|
|
|
case $KERNEL_FLAVOURS in
|
|
|
|
|
|
|
|
*-lts-*)
|
|
|
|
|
|
|
|
cat >> config/binary << EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case \${0##*/} in
|
|
|
|
|
|
|
|
lb_binary*|build)
|
|
|
|
|
|
|
|
LB_LINUX_FLAVOURS="$(echo "$KERNEL_FLAVOURS" | sed 's/-lts-[^ ]*//')"
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
if $BINARY_REMOVE_LINUX; then
|
|
|
|
if $BINARY_REMOVE_LINUX; then
|
|
|
|
cat > config/binary_rootfs/excludes << EOF
|
|
|
|
cat > config/binary_rootfs/excludes << EOF
|
|
|
|
boot/vmlinu?-*
|
|
|
|
boot/vmlinu?-*
|
|
|
|