From b53f039deee13fe869aaceca27d4e30cd40efb48 Mon Sep 17 00:00:00 2001 From: Andy Ning Date: Fri, 13 Jun 2014 14:03:25 -0400 Subject: Upgrade cirros guest image to 0.3.2 cirros 0.3.0 has a bug which ignores classless static routes passed by dhcp option 121. This static route is needed for the instance to access metadata service from 169.254.169.254. 0.3.2 has this bug fixed. Details about this bug can be found at: https://bugs.launchpad.net/cirros/+bug/1190372 Updated documents that reference specific version of cirros as well. Note: 0.3.2 download URI (SRC_URI) has been changed from "https://launchpad.net/cirros/trunk" to "http://download.cirros-cloud.net", since cirros binary downloads are all in the new URI. Signed-off-by: Andy Ning --- .../recipes-extended/guest-images/cirros_0.3.2.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb (limited to 'meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb') diff --git a/meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb b/meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb new file mode 100644 index 0000000..9ebd2b7 --- /dev/null +++ b/meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb @@ -0,0 +1,22 @@ +SUMMARY = "An image containing the cirros cloud guest" +DESCRIPTION = "CirrOS a tiny cloud guest" +HOMEPAGE = "https://launchpad.net/cirros" + +LICENSE="GPLv2" + +SRC_URI = "http://download.cirros-cloud.net/${PV}/${PN}-${PV}-x86_64-disk.img" + +SRC_URI[md5sum] = "64d7c1cd2b6f60c92c14662941cb7913" +SRC_URI[sha256sum] = "a2ca56aeded5a5bcaa6104fb14ec07b1ceb65222e2890bef8a89b8d2da729ad5" + +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +INHIBIT_PACKAGE_STRIP="1" + +do_install() { + install -d ${D}/root/images + install -m 755 ${WORKDIR}/${PN}-${PV}-x86_64-disk.img ${D}/root/images +} + +PACKAGES = "cirros-guest-image" +FILES_cirros-guest-image = "/root/images/*" -- cgit v1.2.3-54-g00ecf