summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova_git.bb
diff options
context:
space:
mode:
authorKeith Holman <Keith.Holman@windriver.com>2014-06-18 10:03:45 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-06-23 12:23:13 -0400
commit22ec75e2681284f85e4c71bdc428efe19af77891 (patch)
tree57650a8fa92d7732d5fcae979ead8485ed4a3a10 /meta-openstack/recipes-devtools/python/python-nova_git.bb
parentb2cdd91ad6cf8432f54c8415e1e2930286230fe1 (diff)
downloadmeta-cloud-services-22ec75e2681284f85e4c71bdc428efe19af77891.tar.gz
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 <Keith.Holman@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index 46aa561..a4af280 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/icehouse \
15 file://nova-add-migrate.cfg-to-the-MANIFEST.patch \ 15 file://nova-add-migrate.cfg-to-the-MANIFEST.patch \
16 file://nova-convert-path-from-relative-to-absolute.patch \ 16 file://nova-convert-path-from-relative-to-absolute.patch \
17 file://nova-fix-location-to-doc-directory.patch \ 17 file://nova-fix-location-to-doc-directory.patch \
18 file://nova-fix-location-to-plugin-directory.patch \
18 " 19 "
19 20
20SRC_URI += "file://nova-all \ 21SRC_URI += "file://nova-all \
@@ -124,6 +125,7 @@ do_install_append() {
124 install -m 664 ${S}/tools/nova-manage.bash_completion ${D}/${sysconfdir}/bash_completion.d 125 install -m 664 ${S}/tools/nova-manage.bash_completion ${D}/${sysconfdir}/bash_completion.d
125 126
126 cp -r "${S}/doc" "${D}/${PYTHON_SITEPACKAGES_DIR}/nova" 127 cp -r "${S}/doc" "${D}/${PYTHON_SITEPACKAGES_DIR}/nova"
128 cp -r "${S}/plugins" "${D}/${PYTHON_SITEPACKAGES_DIR}/nova"
127} 129}
128 130
129pkg_postinst_${SRCNAME}-setup () { 131pkg_postinst_${SRCNAME}-setup () {