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:01:35 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-06-23 12:37:11 -0400
commit57460bdef9ec947ff1112273b19f739409a8efd2 (patch)
treea51abacda92f4d73fdfbf873f099667ee55343db /meta-openstack/recipes-devtools/python/python-nova_git.bb
parentc85476b4e99d6cee7eaf6f36ab2274950d3963f3 (diff)
downloadmeta-cloud-services-57460bdef9ec947ff1112273b19f739409a8efd2.tar.gz
nova: package doc directory and fix its path
The tests included with nova require some setup and configuration files that are within the "doc" directory. This fix includes the doc directory on the target system as part of the recipe. This fix also includes a patch that updates the tests to find the "doc" 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.bb3
1 files changed, 3 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 a36004b..5af8108 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -16,6 +16,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \
16 file://nova-add-migrate.cfg-to-the-MANIFEST.patch \ 16 file://nova-add-migrate.cfg-to-the-MANIFEST.patch \
17 file://Fix-rbd-backend-not-working-for-none-admin-ceph-user.patch \ 17 file://Fix-rbd-backend-not-working-for-none-admin-ceph-user.patch \
18 file://nova-convert-path-from-relative-to-absolute.patch \ 18 file://nova-convert-path-from-relative-to-absolute.patch \
19 file://nova-fix-location-to-doc-directory.patch \
19 " 20 "
20 21
21SRC_URI += "file://nova-all \ 22SRC_URI += "file://nova-all \
@@ -119,6 +120,8 @@ do_install_append() {
119 120
120 install -d ${D}/${sysconfdir}/bash_completion.d 121 install -d ${D}/${sysconfdir}/bash_completion.d
121 install -m 664 ${S}/tools/nova-manage.bash_completion ${D}/${sysconfdir}/bash_completion.d 122 install -m 664 ${S}/tools/nova-manage.bash_completion ${D}/${sysconfdir}/bash_completion.d
123
124 cp -r "${S}/doc" "${D}/${PYTHON_SITEPACKAGES_DIR}/nova"
122} 125}
123 126
124pkg_postinst_${SRCNAME}-setup () { 127pkg_postinst_${SRCNAME}-setup () {