From 80c8ac85e0967b8ed4e398048f079fea8a71751d Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Wed, 18 Jun 2014 10:03:45 -0400 Subject: nova: package plugin directory and fix its path The tests included with nova require some files that are within the "plugin" directory. This fix includes the "plugin" directory on the target system as part of the recipe. This fix also includes a patch that updates the tests to find the "plugin" directory where it is installed on the target system. Signed-off-by: Keith Holman --- meta-openstack/recipes-devtools/python/python-nova_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb') diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 5af8108..7b390d3 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb @@ -17,6 +17,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ file://Fix-rbd-backend-not-working-for-none-admin-ceph-user.patch \ file://nova-convert-path-from-relative-to-absolute.patch \ file://nova-fix-location-to-doc-directory.patch \ + file://nova-fix-location-to-plugin-directory.patch \ " SRC_URI += "file://nova-all \ @@ -122,6 +123,7 @@ do_install_append() { install -m 664 ${S}/tools/nova-manage.bash_completion ${D}/${sysconfdir}/bash_completion.d cp -r "${S}/doc" "${D}/${PYTHON_SITEPACKAGES_DIR}/nova" + cp -r "${S}/plugins" "${D}/${PYTHON_SITEPACKAGES_DIR}/nova" } pkg_postinst_${SRCNAME}-setup () { -- cgit v1.2.3-54-g00ecf