diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-horizon_git.bb | 9 |
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 | ||
| 91 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache" | 94 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache ${SRCNAME}-standalone" |
| 92 | 95 | ||
| 93 | FILES_${PN} = "${libdir}/*" | 96 | FILES_${PN} = "${libdir}/*" |
| 94 | 97 | ||
| 95 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | 98 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" |
| 96 | 99 | ||
| 97 | FILES_${SRCNAME} = "${bindir}/* \ | 100 | FILES_${SRCNAME} = "${bindir}/* \ |
| 98 | ${sysconfdir}/init.d/* \ | ||
| 99 | ${datadir}/* \ | 101 | ${datadir}/* \ |
| 100 | " | 102 | " |
| 101 | 103 | ||
| 104 | FILES_${SRCNAME}-standalone = "${sysconfdir}/init.d/horizon" | ||
| 105 | |||
| 102 | FILES_${SRCNAME}-apache = "/etc/apache2 \ | 106 | FILES_${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 | ||
| 108 | RDEP_ARCH_VAR = "" | 111 | RDEP_ARCH_VAR = "" |
