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