mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-07 08:01:30 +00:00
Build qcow2 images for non-SUBARCH core images for lxd purposes.
This commit is contained in:
parent
60d79eebdc
commit
b6135788ba
@ -37,6 +37,11 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ] \
|
|||||||
# we should be supporting more than one for models that
|
# we should be supporting more than one for models that
|
||||||
# define those.
|
# define those.
|
||||||
mv output/*.img "$PREFIX".img
|
mv output/*.img "$PREFIX".img
|
||||||
|
# For standard, non-platform-specific core images, prepare a
|
||||||
|
# qcow2 image as well for LXD consumption.
|
||||||
|
if [ -z "${SUBARCH:-}" ]; then
|
||||||
|
convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;;
|
||||||
|
fi
|
||||||
xz -0 -T4 "$PREFIX".img
|
xz -0 -T4 "$PREFIX".img
|
||||||
mv output/seed.manifest "$PREFIX".manifest
|
mv output/seed.manifest "$PREFIX".manifest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user