Imported 23.10.33 from mantic-release pocket.

No reason for CPC update specified.
This commit is contained in:
CloudBuilder 2023-09-07 01:51:09 +00:00
parent 6907fc2d19
commit 6ddebd697f
3 changed files with 47 additions and 123 deletions

28
debian/changelog vendored
View File

@ -1,3 +1,31 @@
livecd-rootfs (23.10.33) mantic; urgency=medium
* Drop references to kubuntu-plasma5, obsolete since wily
* ubuntucinnamon-live task has existed for a while now, use it instead of
hard-coded list of packages.
* Don't hard-code addition of xterm package on xubuntu, it's in the task
already.
* Drop references to ubuntu-netbook, obsolete since Ubuntu 11.04.
* ubuntu-unity-live task exists, use it also instead of hard-coded list of
packages.
* live-build/auto/config: various refactors to eliminate code duplication
* Drop references to ubuntu-dvd, obsolete after precise.
* Drop references to mythbuntu, obsolete after xenial.
* Parameterize and consolidate live image definitions for flavors using
a common pattern
* generic is the default kernel flavor in live-build on Ubuntu; remove
hard-coded cargo-culting of this setting.
* Drop references to kubuntu-dvd, obsoleted in 2012.
* ubuntukylin-default-settings is part of the task, don't hard-code the
package.
* Remove unnecessary arch guarding of the UbuntuStudio kernel selection:
we only build this image on amd64 (the arch checking is from i386 days),
and the lowlatency kernel also exists on arm64.
* Drop code only used for d-i based ubuntu-server images, no longer
supported.
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 06 Sep 2023 15:51:11 -0700
livecd-rootfs (23.10.32) mantic; urgency=medium livecd-rootfs (23.10.32) mantic; urgency=medium
* Make the hybrid canary images the default for Ubuntu. * Make the hybrid canary images the default for Ubuntu.

View File

@ -15,11 +15,8 @@ fi
ALL_TRIPLETS=" ALL_TRIPLETS="
edubuntu:: edubuntu::
kubuntu:: kubuntu::
kubuntu-dvd::
kubuntu-plasma5::
lubuntu:: lubuntu::
ubuntu-unity:: ubuntu-unity::
mythbuntu::
ubuntu:: ubuntu::
ubuntu:legacy: ubuntu:legacy:
ubuntu-base:: ubuntu-base::
@ -38,7 +35,6 @@ ALL_TRIPLETS="
ubuntu-mate-core:: ubuntu-mate-core::
ubuntu-mate-desktop:: ubuntu-mate-desktop::
ubuntu-mate-live:: ubuntu-mate-live::
ubuntu-netbook::
ubuntu-server:live:ubuntu-server ubuntu-server:live:ubuntu-server
xubuntu:: xubuntu::
xubuntu:minimal:" xubuntu:minimal:"

View File

@ -15,16 +15,12 @@ echo "Building on $(hostname --fqdn)"
SEEDMIRROR=https://ubuntu-archive-team.ubuntu.com/seeds/ SEEDMIRROR=https://ubuntu-archive-team.ubuntu.com/seeds/
if [ -z "$MIRROR" ]; then if [ -z "$MIRROR" ]; then
case $(hostname --fqdn) in case $(hostname --fqdn) in
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ *.ubuntu.com|*.buildd|*.ppa|*.scalingstack)
MIRROR=http://ftpmaster.internal/ubuntu/
SEEDMIRROR=http://archive-team.internal/seeds/ SEEDMIRROR=http://archive-team.internal/seeds/
;; ;;
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ *)
SEEDMIRROR=http://archive-team.internal/seeds/ case $ARCH in
;;
*.ppa|*.scalingstack) MIRROR=http://ftpmaster.internal/ubuntu/
SEEDMIRROR=http://archive-team.internal/seeds/
;;
*) case $ARCH in
i386|amd64) MIRROR=http://archive.ubuntu.com/ubuntu/ ;; i386|amd64) MIRROR=http://archive.ubuntu.com/ubuntu/ ;;
*) MIRROR=http://ports.ubuntu.com/ubuntu-ports/ ;; *) MIRROR=http://ports.ubuntu.com/ubuntu-ports/ ;;
esac esac
@ -541,17 +537,13 @@ case $IMAGEFORMAT in
;; ;;
*) *)
case $PROJECT in case $PROJECT in
ubuntu-server) ubuntu-server|ubuntu-wsl|ubuntu-oem)
;;
ubuntu-wsl)
;; ;;
ubuntu|ubuntu-budgie) ubuntu|ubuntu-budgie)
if [ "$SUBPROJECT" = "legacy" ]; then if [ "$SUBPROJECT" = "legacy" ]; then
add_package live casper add_package live casper
fi fi
;; ;;
ubuntu-oem)
;;
*) *)
add_package live casper add_package live casper
;; ;;
@ -657,10 +649,10 @@ case $PROJECT in
ubuntu-server|ubuntu-mini-iso) ubuntu-server|ubuntu-mini-iso)
COMPONENTS='main' COMPONENTS='main'
;; ;;
kubuntu|kubuntu-dvd|kubuntu-plasma5|edubuntu|ubuntu-gnome|ubuntu-budgie|ubuntukylin|ubuntucinnamon) edubuntu|kubuntu|ubuntu-budgie|ubuntu-gnome|ubuntucinnamon|ubuntukylin)
COMPONENTS='main restricted universe' COMPONENTS='main restricted universe'
;; ;;
xubuntu|mythbuntu|lubuntu|ubuntu-mate|ubuntu-unity|ubuntustudio-dvd|ubuntu-unity) lubuntu|ubuntu-mate|ubuntu-unity|ubuntustudio-dvd|xubuntu)
COMPONENTS='main restricted universe multiverse' COMPONENTS='main restricted universe multiverse'
;; ;;
esac esac
@ -682,7 +674,7 @@ if ! [ -e config/germinate-output/structure ]; then
fi fi
case $PROJECT in case $PROJECT in
ubuntu|ubuntu-dvd) ubuntu)
case ${SUBPROJECT:-} in case ${SUBPROJECT:-} in
legacy) legacy)
@ -791,40 +783,21 @@ case $PROJECT in
EOF EOF
;; ;;
kubuntu|kubuntu-dvd) kubuntu)
add_task install minimal standard add_task install minimal standard
add_task install kubuntu-desktop add_task install kubuntu-desktop
LIVE_TASK='kubuntu-live' LIVE_TASK='kubuntu-live'
add_chroot_hook remove-gnome-icon-cache add_chroot_hook remove-gnome-icon-cache
;; ;;
kubuntu-plasma5)
add_task install minimal standard
add_package install kubuntu-plasma5-desktop
# Technically cheating, but PPAs don't have tasks and the
# live seed doesn't have a corresponding metapackage. We'll
# get away with this as long as kubuntu-desktop and
# kubuntu-plasma5-desktop don't grow too far apart.
LIVE_TASK='kubuntu-live'
add_chroot_hook remove-gnome-icon-cache
;;
edubuntu) edubuntu)
add_task install minimal standard edubuntu-desktop-gnome add_task install minimal standard edubuntu-desktop-gnome
LIVE_TASK='edubuntu-live' LIVE_TASK='edubuntu-live'
;; ;;
ubuntucinnamon) lubuntu|ubuntu-gnome|ubuntu-unity|ubuntucinnamon|ubuntukylin)
add_task install minimal standard ubuntucinnamon-desktop add_task install minimal standard ${PROJECT}-desktop
# XXX: Adding live packages manually temporarily until we have LIVE_TASK=${PROJECT}-live
# the live task for ubuntucinnamon set up properly.
add_package live ubiquity-frontend-gtk
add_package live ubiquity-ubuntu-artwork ubiquity-slideshow-ubuntu
add_package live gtk-im-libthai ibus-hangul ibus-mozc ibus-unikey
add_package live zfsutils-linux zfs-initramfs zsys
add_package live sssd realmd adcli
add_package live gparted cifs-utils
KERNEL_FLAVOURS=generic
;; ;;
xubuntu) xubuntu)
@ -836,34 +809,7 @@ case $PROJECT in
add_task install minimal standard xubuntu-desktop add_task install minimal standard xubuntu-desktop
;; ;;
esac esac
add_package install xterm
LIVE_TASK='xubuntu-live' LIVE_TASK='xubuntu-live'
case $ARCH in
amd64) KERNEL_FLAVOURS=generic ;;
esac
;;
ubuntu-netbook)
add_task install minimal standard ubuntu-netbook
LIVE_TASK='netbook-live'
;;
mythbuntu)
add_task install minimal standard mythbuntu-desktop
LIVE_TASK='mythbuntu-live'
;;
lubuntu)
add_task install minimal standard lubuntu-desktop
LIVE_TASK='lubuntu-live'
case $ARCH in
amd64) KERNEL_FLAVOURS=generic ;;
esac
;;
ubuntu-gnome)
add_task install minimal standard ubuntu-gnome-desktop
LIVE_TASK='ubuntu-gnome-live'
;; ;;
ubuntu-budgie) ubuntu-budgie)
@ -918,28 +864,9 @@ case $PROJECT in
LIVE_TASK='ubuntu-mate-live' LIVE_TASK='ubuntu-mate-live'
;; ;;
ubuntu-unity)
add_task install minimal standard ubuntu-unity-desktop
# XXX: Adding live packages manually temporarily until we have
# the live task for ubuntu-unity set up properly.
add_package live metacity ubiquity-frontend-gtk
add_package live ubiquity-ubuntu-artwork ubiquity-slideshow-ubuntu
add_package live a11y-profile-manager
add_package live gparted cifs-utils
add_package live memtest86+
;;
ubuntustudio-dvd) ubuntustudio-dvd)
add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-graphics ubuntustudio-video ubuntustudio-photography add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-graphics ubuntustudio-video ubuntustudio-photography
case $ARCH in KERNEL_FLAVOURS=lowlatency
amd64) KERNEL_FLAVOURS=lowlatency ;;
esac
;;
ubuntukylin)
add_task install minimal standard ubuntukylin-desktop
add_package install ubuntukylin-default-settings
LIVE_TASK='ubuntukylin-live'
;; ;;
ubuntu-server) ubuntu-server)
@ -1045,11 +972,7 @@ case $PROJECT in
esac esac
;; ;;
ubuntu-base) ubuntu-base|ubuntu-oci)
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
;;
ubuntu-oci)
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal" OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
;; ;;
@ -1186,10 +1109,7 @@ case $PROJECT:${SUBPROJECT:-} in
ubuntu-server:live) ubuntu-server:live)
BASE_SEED='server' BASE_SEED='server'
;; ;;
ubuntu-base:*|ubuntu-core:*|ubuntu-mini-iso:) ubuntu-base:*|ubuntu-core:*|ubuntu-mini-iso:|ubuntu-oci:*|\
;;
ubuntu-oci:*)
;;
xubuntu:minimal) xubuntu:minimal)
;; ;;
edubuntu:*) edubuntu:*)
@ -1215,7 +1135,7 @@ fi
# grab a list of packags to remove for a "minimal" installation from the seed # grab a list of packags to remove for a "minimal" installation from the seed
# mirror for this project # mirror for this project
if [ -n "${BASE_SEED}" ] && [ -n "${BASE_SEED}" ]; then if [ -n "${BASE_SEED}" ]; then
minimal_packages_url=${SEEDMIRROR}/${SEED}/${BASE_SEED}.minimal-remove minimal_packages_url=${SEEDMIRROR}/${SEED}/${BASE_SEED}.minimal-remove
echo -n "Checking ${minimal_packages_url} for a minimal installation list... " echo -n "Checking ${minimal_packages_url} for a minimal installation list... "
minimal_packages_remove=$(wget -q -O- ${minimal_packages_url} | sed -e '/\s*#.*$/d' -e '/^\s*$/d') minimal_packages_remove=$(wget -q -O- ${minimal_packages_url} | sed -e '/\s*#.*$/d' -e '/^\s*$/d')
@ -1234,11 +1154,6 @@ if [ "$PREINSTALLED" != "true" ] && [ "$PASSES_TO_LAYERS" != "true" ] && [ "$LIV
fi fi
case $PROJECT in case $PROJECT in
ubuntu-dvd)
add_task install ubuntu-usb
add_task live ubuntu-usb-live
;;
*-dvd) *-dvd)
add_task live "$PROJECT-live" add_task live "$PROJECT-live"
;; ;;
@ -1291,14 +1206,6 @@ case $PROJECT in
_) _)
add_chroot_hook remove-python-py add_chroot_hook remove-python-py
;; ;;
amd64)
KERNEL_FLAVOURS="${SUBARCH:-$KERNEL_FLAVOURS}"
case $SUBARCH in
intel-iot)
KERNEL_FLAVOURS='intel-iotg'
;;
esac
;;
esac esac
lb config noauto \ lb config noauto \
@ -1452,13 +1359,6 @@ EOF
;; ;;
esac esac
if [ $PROJECT = ubuntu-server ] && [ "${SUBPROJECT:-}" != live ]; then
cat > config/hooks/100-remove-fstab.chroot <<EOF
#! /bin/sh
rm -f /etc/fstab
EOF
fi
if [ $PROJECT != ubuntu-cpc ]; then if [ $PROJECT != ubuntu-cpc ]; then
cat > config/hooks/100-preserve-apt-prefs.chroot <<\EOF cat > config/hooks/100-preserve-apt-prefs.chroot <<\EOF
#! /bin/sh -ex #! /bin/sh -ex