diff options
Diffstat (limited to 'meta-openstack-controller-deploy')
| -rw-r--r-- | meta-openstack-controller-deploy/recipes-extended/guest-images/cirros_0.3.0.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-openstack-controller-deploy/recipes-extended/guest-images/cirros_0.3.0.bb b/meta-openstack-controller-deploy/recipes-extended/guest-images/cirros_0.3.0.bb new file mode 100644 index 0000000..c3fad1f --- /dev/null +++ b/meta-openstack-controller-deploy/recipes-extended/guest-images/cirros_0.3.0.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 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 = "https://launchpad.net/cirros/trunk/0.3.0/+download/${PN}-${PV}-x86_64-disk.img" | ||
| 8 | SRC_URI[md5sum] = "5005e29ebadd0644af9008657fead245" | ||
| 9 | SRC_URI[sha256sum] = "4820b23e33f388f3b95766fb67a6a211b111ab8349f41e2274b471bd288be21a" | ||
| 10 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
| 11 | |||
| 12 | |||
| 13 | do_install() { | ||
| 14 | install -d ${D}/root/images | ||
| 15 | install -m 755 ${WORKDIR}/${PN}-${PV}-x86_64-disk.img ${D}/root/images | ||
| 16 | } | ||
| 17 | |||
| 18 | PACKAGES = "cirros-guest-image" | ||
| 19 | FILES_cirros-guest-image = "/root/images/*" | ||
