mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
Do the same for ubuntu-image snap builds.
This commit is contained in:
parent
8a33b23dd0
commit
05a8be839f
@ -27,9 +27,13 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|||||||
CHANNEL="${CHANNEL:-edge}"
|
CHANNEL="${CHANNEL:-edge}"
|
||||||
env SNAPPY_STORE_NO_CDN=1 \
|
env SNAPPY_STORE_NO_CDN=1 \
|
||||||
ubuntu-image snap -c "$CHANNEL" $UBUNTU_IMAGE_ARGS \
|
ubuntu-image snap -c "$CHANNEL" $UBUNTU_IMAGE_ARGS \
|
||||||
-o "$PREFIX".img "$PREFIX".model-assertion
|
-O output "$PREFIX".model-assertion
|
||||||
|
# XXX: currently we only have one image generated, but really
|
||||||
|
# we should be supporting more than one for models that
|
||||||
|
# define those.
|
||||||
|
mv output/*.img "$PREFIX".img
|
||||||
xz -0 -T4 "$PREFIX".img
|
xz -0 -T4 "$PREFIX".img
|
||||||
mv seed.manifest "$PREFIX".manifest
|
mv output/seed.manifest "$PREFIX".manifest
|
||||||
else
|
else
|
||||||
# First we need to build the gadget tree
|
# First we need to build the gadget tree
|
||||||
make -C "config/$PREFIX-gadget"
|
make -C "config/$PREFIX-gadget"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user