summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-horizon_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-horizon_git.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
index 153f4d4..59d875a 100644
--- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
@@ -86,23 +86,26 @@ do_install_append() {
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 87
88 ln -fs openstack_dashboard/static ${D}/usr/share/openstack-dashboard/static 88 ln -fs openstack_dashboard/static ${D}/usr/share/openstack-dashboard/static
89
90 # daemon is UID 1
91 chown -R 1 ${D}/usr/share/openstack-dashboard/openstack_dashboard/static
89} 92}
90 93
91PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache" 94PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache ${SRCNAME}-standalone"
92 95
93FILES_${PN} = "${libdir}/*" 96FILES_${PN} = "${libdir}/*"
94 97
95FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" 98FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh"
96 99
97FILES_${SRCNAME} = "${bindir}/* \ 100FILES_${SRCNAME} = "${bindir}/* \
98 ${sysconfdir}/init.d/* \
99 ${datadir}/* \ 101 ${datadir}/* \
100 " 102 "
101 103
104FILES_${SRCNAME}-standalone = "${sysconfdir}/init.d/horizon"
105
102FILES_${SRCNAME}-apache = "/etc/apache2 \ 106FILES_${SRCNAME}-apache = "/etc/apache2 \
103 /etc/openstack-dashboard/ \ 107 /etc/openstack-dashboard/ \
104 /usr/share/openstack-dashboard/ \ 108 /usr/share/openstack-dashboard/ \
105 /var/lib/openstack-dashboard \
106 " 109 "
107 110
108RDEP_ARCH_VAR = "" 111RDEP_ARCH_VAR = ""