mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 01:11:31 +00:00
Build appliance qcow2 images only for amd64 appliances.
This commit is contained in:
parent
0e35dfdb46
commit
69195a0026
@ -56,8 +56,8 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|||||||
# 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 appliance images we also need to generate qcow2 images.
|
# For amd64 appliance images we also need to generate qcow2 images.
|
||||||
case "${SUBARCH:-}" in appliance-*)
|
case "${SUBARCH:-}" in appliance-*-amd64)
|
||||||
convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;;
|
convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;;
|
||||||
esac
|
esac
|
||||||
# Now regular, compressed images.
|
# Now regular, compressed images.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user