|
|
@ -43,8 +43,11 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|
|
|
# XXX: currently we only have one image generated, but really
|
|
|
|
# XXX: currently we only have one image generated, but really
|
|
|
|
# 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
|
|
|
|
# Also, we use the .disk1.img suffix so that the resulting
|
|
|
|
xz -0 -T4 "$PREFIX".img
|
|
|
|
# image path is compatible with how raspi2 images are consumed
|
|
|
|
|
|
|
|
# by cdimage.
|
|
|
|
|
|
|
|
mv output/*.img "$PREFIX".disk1.img
|
|
|
|
|
|
|
|
xz -0 -T4 "$PREFIX".disk1.img
|
|
|
|
mv output/filesystem.manifest "$PREFIX".manifest
|
|
|
|
mv output/filesystem.manifest "$PREFIX".manifest
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|