mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-08 08:32:19 +00:00
Be more verbose when using ubuntu-image, use the ubuntu-image stable snap.
This commit is contained in:
parent
381a8febb2
commit
fdf685fc5e
@ -90,7 +90,7 @@ 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 --channel=candidate ubuntu-image
|
snap install --classic 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.
|
||||||
@ -106,7 +106,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|||||||
xz -0 -T4 "$PREFIX".img
|
xz -0 -T4 "$PREFIX".img
|
||||||
mv output/seed.manifest "$PREFIX".manifest
|
mv output/seed.manifest "$PREFIX".manifest
|
||||||
else
|
else
|
||||||
ubuntu-image classic $UBUNTU_IMAGE_ARGS \
|
ubuntu-image classic --verbose $UBUNTU_IMAGE_ARGS \
|
||||||
-O output "$PREFIX".yaml
|
-O output "$PREFIX".yaml
|
||||||
# Since the output of the ubuntu-image call can vary based on what
|
# Since the output of the ubuntu-image call can vary based on what
|
||||||
# kind of an image we build, the safest bet is to 'export' all the
|
# kind of an image we build, the safest bet is to 'export' all the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user