Produce OVA files for i386 cloud builds

ubuntu/yakkety
Daniel Watkins 9 years ago
parent aad0f75fe4
commit cf2e1f3cdc

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.370) UNRELEASED; urgency=medium
* Produce OVA files for i386 cloud builds.
-- Daniel Watkins <daniel.watkins@canonical.com> Wed, 13 Jan 2016 11:43:54 +0000
livecd-rootfs (2.369) xenial; urgency=medium
[ Łukasz 'sil2100' Zemczak ]

@ -9,20 +9,23 @@
#
# For this step, we re-use the VMDK's made in 040-vmdk-image.binary
cur_d=${PWD}
my_d=$(dirname $(readlink -f ${0}))
architecture=$(chroot chroot dpkg --print-architecture)
base_vmdk="livecd.ubuntu-cpc.disk1.vmdk"
case ${architecture} in
amd64) base_vmdk="livecd.ubuntu-cpc.uefi.vmdk";;
*) echo "OVA images are not supported for ${architecture} yet.";
exit 0;;
amd64|i386) ;;
*) echo "OVA images are not supported for ${architecture} yet.";
exit 0;;
esac
cur_d=${PWD}
my_d=$(dirname $(readlink -f ${0}))
base_vmdk="livecd.ubuntu-cpc.disk1.vmdk"
if [ $architecture = "amd64" ]; then
base_vmdk="livecd.ubuntu-cpc.uefi.vmdk"
fi
if [ ! -e ${base_vmdk} ]; then
find . | grep vmdk
find . | grep vmdk
exit 0
fi

Loading…
Cancel
Save