ubuntu-cpc: Produce OVA files for i386 cloud builds

ubuntu/trusty
Robert C Jennings 8 years ago
parent 65bb92f3a6
commit d870400851

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.209.6) trusty; urgency=medium
[Daniel Watkins]
* Produce OVA files for i386 cloud builds.
-- Robert C Jennings <robert.jennings@canonical.com> Tue, 23 May 2017 20:34:47 -0500
livecd-rootfs (2.209.5) trusty; urgency=medium
[Ben Howard]

@ -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