Set LIVE_PASSES manually and install ubuntu-image.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2024-01-19 15:13:54 +01:00
parent aa27044518
commit 14301d4c9d
2 changed files with 9 additions and 0 deletions

View File

@ -156,6 +156,11 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
fi
if [ "$PROJECT" = "ubuntu-core-desktop" ]; then
export SNAPPY_STORE_NO_CDN=1
LB_UBUNTU_IMAGE_CHANNEL="${LB_UBUNTU_IMAGE_CHANNEL:-edge}"
snap install \
--classic --channel="$LB_UBUNTU_IMAGE_CHANNEL" ubuntu-image
# Special case for ubuntu-core-desktop - we need to call
# ubuntu-image twice, once for the core image payload and
# then for the actual image.

View File

@ -833,6 +833,10 @@ case $PROJECT in
size: @SIZE@
variant: core
EOF
# we have to manually mark the live layer as the LIVE_PASS, since it's also
# the only layer we build
LIVE_PASSES="live"
;;
ubuntu-oem)