summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-horizon_git.bb
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2014-04-10 16:53:53 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-04-11 00:25:52 -0400
commit1efbee3d421996f558333987a10af5ecd9e79bcc (patch)
treed7146d368ba73391a00a3e157707d296a4512fb8 /meta-openstack/recipes-devtools/python/python-horizon_git.bb
parent1ef7d1a3cdda0b50fca0828be4ba43bab08f1d9b (diff)
downloadmeta-cloud-services-1efbee3d421996f558333987a10af5ecd9e79bcc.tar.gz
python-horizon: apache mod_wsgi path error
openstack-dashboard-apache hardcoded libdir, modify this to %LIBDIR% and substitude in the install phase... Signed-off-by: Amy Fong <amy.fong@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-horizon_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
index 59d875a..f4cc16f 100644
--- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
@@ -84,6 +84,7 @@ do_install_append() {
84 install -D -m 644 ${WORKDIR}/openstack-dashboard-apache.conf \ 84 install -D -m 644 ${WORKDIR}/openstack-dashboard-apache.conf \
85 ${D}/etc/apache2/conf.d/openstack-dashboard-apache.conf 85 ${D}/etc/apache2/conf.d/openstack-dashboard-apache.conf
86 sed -i -e 's#%PYTHON_SITEPACKAGES%#${PYTHON_SITEPACKAGES_DIR}#' ${D}/etc/apache2/conf.d/openstack-dashboard-apache.conf 86 sed -i -e 's#%PYTHON_SITEPACKAGES%#${PYTHON_SITEPACKAGES_DIR}#' ${D}/etc/apache2/conf.d/openstack-dashboard-apache.conf
87 sed -i -e 's#%LIBDIR%#${libdir}#' ${D}/etc/apache2/conf.d/openstack-dashboard-apache.conf
87 88
88 ln -fs openstack_dashboard/static ${D}/usr/share/openstack-dashboard/static 89 ln -fs openstack_dashboard/static ${D}/usr/share/openstack-dashboard/static
89 90