From 5fe3fa0aa9308694d7558f9dc9ecc07ed8e0e4e7 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Oct 2017 17:19:08 +0200 Subject: python-neutron: Install missing files Some config files are not installed into the rootfs. Signed-off-by: Adrian Dudau --- meta-openstack/recipes-devtools/python/python-neutron_git.bb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-neutron_git.bb') diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index 0133168..b7609fb 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb @@ -51,11 +51,16 @@ do_install_append() { install -d ${NEUTRON_CONF_DIR} install -d ${NEUTRON_CONF_DIR}/plugins/ml2 + install -d ${NEUTRON_CONF_DIR}/rootwrap.d install -m 600 ${TEMPLATE_CONF_DIR}/neutron.conf ${NEUTRON_CONF_DIR}/ install -m 600 ${S}/etc/api-paste.ini ${NEUTRON_CONF_DIR}/ install -m 600 ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/ install -m 600 ${TEMPLATE_CONF_DIR}/ml2* ${NEUTRON_CONF_DIR}/plugins/ml2 + install -m 600 ${S}/etc/rootwrap.conf ${NEUTRON_CONF_DIR}/ + install -m 600 ${S}/etc/neutron/rootwrap.d/* ${NEUTRON_CONF_DIR}/rootwrap.d + + # Neutron.conf config changes (replace with .ini file editing) sed -e "s:^# core_plugin.*:core_plugin = ml2:g" -i ${NEUTRON_CONF_DIR}/neutron.conf @@ -192,12 +197,16 @@ RDEPENDS_${SRCNAME}-tests += " bash" FILES_${SRCNAME} = " \ ${bindir}/neutron-db-manage \ ${bindir}/neutron-rootwrap \ + ${bindir}/neutron-rootwrap-daemon \ ${bindir}/neutron-debug \ ${bindir}/neutron-netns-cleanup \ ${bindir}/neutron-ovs-cleanup \ + ${bindir}/neutron-sanity-check \ ${sysconfdir}/${SRCNAME}/policy.json \ ${sysconfdir}/${SRCNAME}/neutron.conf \ ${sysconfdir}/${SRCNAME}/api-paste.ini \ + ${sysconfdir}/${SRCNAME}/rootwrap.conf \ + ${sysconfdir}/${SRCNAME}/rootwrap.d/* \ ${localstatedir}/* \ " -- cgit v1.2.3-54-g00ecf