aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-07-31 11:53:59 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-31 11:56:15 -0400
commite2fe95121b530553929aa7d4ef60a3e63ebfc6c0 (patch)
tree0487d7560f5f56217d1e3c250c5ab75d43a367c6
parentd75c7507fa0e5f25a3d991db5af20bdc4fe59476 (diff)
downloadmeta-cloud-services-e2fe95121b530553929aa7d4ef60a3e63ebfc6c0.tar.gz
meta-cloud-services-e2fe95121b530553929aa7d4ef60a3e63ebfc6c0.tar.bz2
meta-cloud-services-e2fe95121b530553929aa7d4ef60a3e63ebfc6c0.zip
cirros: make root home configurable
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb6
1 files changed, 3 insertions, 3 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
index 9ebd2b7..cb58e9d 100644
--- a/meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb
+++ b/meta-openstack/recipes-extended/guest-images/cirros_0.3.2.bb
@@ -14,9 +14,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=80
INHIBIT_PACKAGE_STRIP="1"
do_install() {
- install -d ${D}/root/images
- install -m 755 ${WORKDIR}/${PN}-${PV}-x86_64-disk.img ${D}/root/images
+ install -d ${D}/${ROOT_HOME}/images
+ install -m 755 ${WORKDIR}/${PN}-${PV}-x86_64-disk.img ${D}/${ROOT_HOME}/images
}
PACKAGES = "cirros-guest-image"
-FILES_cirros-guest-image = "/root/images/*"
+FILES_cirros-guest-image = "${ROOT_HOME}/images/*"