diff options
Diffstat (limited to 'meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb')
| -rw-r--r-- | meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb | 22 |
1 files changed, 22 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "An image containing the cirros cloud guest" | ||
| 2 | DESCRIPTION = "CirrOS a tiny cloud guest" | ||
| 3 | HOMEPAGE = "https://launchpad.net/cirros" | ||
| 4 | |||
| 5 | LICENSE="GPLv2" | ||
| 6 | |||
| 7 | SRC_URI = "http://download.cirros-cloud.net/${PV}/${PN}-${PV}-x86_64-disk.img" | ||
| 8 | |||
| 9 | SRC_URI[md5sum] = "64d7c1cd2b6f60c92c14662941cb7913" | ||
| 10 | SRC_URI[sha256sum] = "a2ca56aeded5a5bcaa6104fb14ec07b1ceb65222e2890bef8a89b8d2da729ad5" | ||
| 11 | |||
| 12 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
| 13 | |||
| 14 | INHIBIT_PACKAGE_STRIP="1" | ||
| 15 | |||
| 16 | do_install() { | ||
| 17 | install -d ${D}/root/images | ||
| 18 | install -m 755 ${WORKDIR}/${PN}-${PV}-x86_64-disk.img ${D}/root/images | ||
| 19 | } | ||
| 20 | |||
| 21 | PACKAGES = "cirros-guest-image" | ||
| 22 | FILES_cirros-guest-image = "/root/images/*" | ||
