From aaf75e37f0cf759e9b5b04c8f3c23346aa053c78 Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Tue, 8 Apr 2014 18:10:10 -0400 Subject: python-horizon init scripts Split out a new package horizon-standalone that just contains the init script for the built in webserver. Signed-off-by: Amy Fong --- meta-openstack/recipes-devtools/python/python-horizon_git.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-horizon_git.bb') 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() { sed -i -e 's#%PYTHON_SITEPACKAGES%#${PYTHON_SITEPACKAGES_DIR}#' ${D}/etc/apache2/conf.d/openstack-dashboard-apache.conf ln -fs openstack_dashboard/static ${D}/usr/share/openstack-dashboard/static + + # daemon is UID 1 + chown -R 1 ${D}/usr/share/openstack-dashboard/openstack_dashboard/static } -PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache" +PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache ${SRCNAME}-standalone" FILES_${PN} = "${libdir}/*" FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" FILES_${SRCNAME} = "${bindir}/* \ - ${sysconfdir}/init.d/* \ ${datadir}/* \ " +FILES_${SRCNAME}-standalone = "${sysconfdir}/init.d/horizon" + FILES_${SRCNAME}-apache = "/etc/apache2 \ /etc/openstack-dashboard/ \ /usr/share/openstack-dashboard/ \ - /var/lib/openstack-dashboard \ " RDEP_ARCH_VAR = "" -- cgit v1.2.3-54-g00ecf