mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-11 02:41:33 +00:00
Add channel override for ubuntu-image channel
This commit is contained in:
parent
430ec27308
commit
ea8564afe2
@ -90,7 +90,9 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|||||||
# Use ubuntu-image instead of live-build
|
# Use ubuntu-image instead of live-build
|
||||||
|
|
||||||
export SNAPPY_STORE_NO_CDN=1
|
export SNAPPY_STORE_NO_CDN=1
|
||||||
snap install --classic ubuntu-image
|
LB_UBUNTU_IMAGE_CHANNEL="${LB_UBUNTU_IMAGE_CHANNEL:-stable}"
|
||||||
|
snap install \
|
||||||
|
--classic --channel="$LB_UBUNTU_IMAGE_CHANNEL" ubuntu-image
|
||||||
|
|
||||||
# TODO: eventually, this should be handled by a single ubuntu-image
|
# TODO: eventually, this should be handled by a single ubuntu-image
|
||||||
# call without having to do a conditional on ubuntu-core/classic.
|
# call without having to do a conditional on ubuntu-core/classic.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user