Merge branch 'raspi-server-seed' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master

delete-obsolete-ubuntu-core
Dimitri John Ledkov 4 years ago
commit f58b0693f6
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

5
debian/changelog vendored

@ -12,6 +12,11 @@ livecd-rootfs (2.721) UNRELEASED; urgency=medium
[ Michael Hudson-Doyle ] [ Michael Hudson-Doyle ]
* remove the workaround for bug #1893818 * remove the workaround for bug #1893818
[ Łukasz 'sil2100' Zemczak ]
* Start using the ubuntu-server-raspi seeds for preinstalled raspi server
images, similarly to how it's done for desktop-preinstalled images.
* Drop the unused imx6 support.
-- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 05 May 2021 11:42:27 +0100 -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 05 May 2021 11:42:27 +0100
livecd-rootfs (2.720) impish; urgency=medium livecd-rootfs (2.720) impish; urgency=medium

@ -281,7 +281,7 @@ if [ -z "${IMAGEFORMAT:-}" ]; then
case $PROJECT:${SUBPROJECT:-} in case $PROJECT:${SUBPROJECT:-} in
ubuntu-cpc:*|ubuntu:desktop-preinstalled) ubuntu-cpc:*|ubuntu:desktop-preinstalled)
case $SUBARCH in case $SUBARCH in
raspi|imx6) raspi)
IMAGEFORMAT=ubuntu-image IMAGEFORMAT=ubuntu-image
;; ;;
*) *)
@ -352,8 +352,6 @@ case $IMAGEFORMAT in
MODEL=pi3-arm64 ;; MODEL=pi3-arm64 ;;
armhf+cm3) armhf+cm3)
MODEL=cm3 ;; MODEL=cm3 ;;
armhf+imx6)
MODEL=nitrogen6x ;;
*) *)
echo "Model $ARCH+${SUBARCH:-} unknown to livecd-rootfs" >&2 echo "Model $ARCH+${SUBARCH:-} unknown to livecd-rootfs" >&2
exit 1 exit 1
@ -831,12 +829,15 @@ case $PROJECT in
BINARY_REMOVE_LINUX=false BINARY_REMOVE_LINUX=false
OPTS="${OPTS:+$OPTS }--initramfs=none" OPTS="${OPTS:+$OPTS }--initramfs=none"
case $ARCH in case "$ARCH+${SUBARCH:-}" in
armhf) *+raspi)
add_task install ubuntu-server-raspi
;;
armhf*)
KERNEL_FLAVOURS=generic-lpae KERNEL_FLAVOURS=generic-lpae
add_package install flash-kernel add_package install flash-kernel
;; ;;
arm64) arm64*)
add_package install flash-kernel add_package install flash-kernel
if [ "${SUBARCH:-}" = "generic" ]; then if [ "${SUBARCH:-}" = "generic" ]; then
KERNEL_FLAVOURS=generic KERNEL_FLAVOURS=generic
@ -847,7 +848,7 @@ case $PROJECT in
KERNEL_FLAVOURS=generic KERNEL_FLAVOURS=generic
fi fi
;; ;;
riscv64) riscv64*)
if [ -n "$SUBARCH" ]; then if [ -n "$SUBARCH" ]; then
KERNEL_FLAVOURS=generic KERNEL_FLAVOURS=generic
fi fi
@ -965,25 +966,17 @@ case $PROJECT in
;; ;;
esac esac
case $ARCH in case "$ARCH+${SUBARCH:-}" in
armhf|arm64) arm*+raspi)
KERNEL_FLAVOURS="${SUBARCH:-$KERNEL_FLAVOURS}" # Common configuration for all Raspberry Pi image variants (server,
case $SUBARCH in # desktop etc.)
raspi) KERNEL_FLAVOURS="$SUBARCH"
# Generic Raspberry Pi images
COMPONENTS='main restricted universe multiverse'
add_package install linux-firmware-raspi2 pi-bluetooth u-boot-rpi flash-kernel u-boot-tools wpasupplicant ubuntu-raspi-settings
BINARY_REMOVE_LINUX=false
;;
imx6)
COMPONENTS='main restricted universe multiverse' COMPONENTS='main restricted universe multiverse'
KERNEL_FLAVOURS=generic # Most Pi-specific package installation is handled via the seeds in the
add_package install flash-kernel u-boot-tools wpasupplicant # per-project/subproject cases above
add_package install linux-firmware-raspi2 pi-bluetooth u-boot-rpi u-boot-tool
BINARY_REMOVE_LINUX=false BINARY_REMOVE_LINUX=false
;; ;;
esac
;;
esac esac
case $PROJECT:${SUBPROJECT:-} in case $PROJECT:${SUBPROJECT:-} in

Loading…
Cancel
Save