mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-16 05:11:31 +00:00
We need to do it in a different order.
This commit is contained in:
parent
a976382d9a
commit
0e35dfdb46
@ -56,12 +56,13 @@ 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
|
||||||
xz -0 -T4 "$PREFIX".img
|
# For appliance images we also need to generate qcow2 images.
|
||||||
mv output/seed.manifest "$PREFIX".manifest
|
|
||||||
# For appliance images we also need to generate qcow2 images
|
|
||||||
case "${SUBARCH:-}" in appliance-*)
|
case "${SUBARCH:-}" in appliance-*)
|
||||||
convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;;
|
convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;;
|
||||||
esac
|
esac
|
||||||
|
# Now regular, compressed images.
|
||||||
|
xz -0 -T4 "$PREFIX".img
|
||||||
|
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" ARCH=$ARCH SERIES=$SUITE
|
make -C "config/$PREFIX-gadget" ARCH=$ARCH SERIES=$SUITE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user