Set LIVE_PASSES manually and install ubuntu-image.

ubuntu-core-desktop
Łukasz 'sil2100' Zemczak 11 months ago
parent aa27044518
commit 14301d4c9d

@ -156,6 +156,11 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
fi fi
if [ "$PROJECT" = "ubuntu-core-desktop" ]; then 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 # Special case for ubuntu-core-desktop - we need to call
# ubuntu-image twice, once for the core image payload and # ubuntu-image twice, once for the core image payload and
# then for the actual image. # then for the actual image.

@ -833,6 +833,10 @@ case $PROJECT in
size: @SIZE@ size: @SIZE@
variant: core variant: core
EOF 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) ubuntu-oem)

Loading…
Cancel
Save