Add support for the 'kassel' subflavor of UC18 images.

uc18-kassel
Steve Langasek 6 years ago
parent d5c0bd170b
commit b83f70a2ea

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.579) UNRELEASED; urgency=medium
* Add support for the 'kassel' subflavor of UC18 images.
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 19 Apr 2019 15:24:13 -0700
livecd-rootfs (2.578) disco; urgency=medium
* Fix the sed script that Tobias had right in the first place and I

@ -332,6 +332,7 @@ case $IMAGEFORMAT in
;;
ubuntu-image)
UBUNTU_IMAGE_ARGS=""
case "$ARCH+${SUBARCH:-}" in
amd64+*)
MODEL=pc-amd64 ;;
@ -355,12 +356,14 @@ case $IMAGEFORMAT in
if [ $PROJECT = "ubuntu-core" ]; then
# snap-based core images
EXTRA_SNAPS=""
case $MODEL in
pc-amd64|pc-i386)
UBUNTU_IMAGE_ARGS="--image-size 3700M" ;;
*)
UBUNTU_IMAGE_ARGS="" ;;
[ -z "${SUBARCH:-}" ] \
&& UBUNTU_IMAGE_ARGS="--image-size 3700M"
;;
*) ;;
esac
case $SUITE in
xenial)
@ -371,6 +374,15 @@ case $IMAGEFORMAT in
MODEL="ubuntu-core-18-${MODEL#pc-}" ;;
esac
case "$ARCH+${SUBARCH:-}" in
amd64+kassel)
EXTRA_SNAPS="core bluez alsa-utils pulseaudio udisks2"
;;
*) ;;
esac
for snap in $EXTRA_SNAPS; do
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --extra-snaps $snap"
done
echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common
echo "UBUNTU_IMAGE_ARGS=\"$UBUNTU_IMAGE_ARGS\"" >> config/common
# Store model assertion in top dir to get it picked up later as a build artifact
@ -387,7 +399,6 @@ case $IMAGEFORMAT in
MODEL=pi3 ;;
esac
UBUNTU_IMAGE_ARGS=""
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS${PROPOSED:+ --with-proposed}"
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS${EXTRA_PPAS:+ --extra-ppas \"$EXTRA_PPAS\"}"

Loading…
Cancel
Save