diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2017-10-26 17:19:08 +0200 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-11-02 15:56:47 +0100 |
| commit | 5fe3fa0aa9308694d7558f9dc9ecc07ed8e0e4e7 (patch) | |
| tree | 680b7808f26a336f3e92d39e3faeebbb0e6f494b /meta-openstack | |
| parent | f56d20b5f4f5ce625ec9d69ae99568d6aa326912 (diff) | |
| download | meta-cloud-services-5fe3fa0aa9308694d7558f9dc9ecc07ed8e0e4e7.tar.gz | |
python-neutron: Install missing files
Some config files are not installed into the rootfs.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta-openstack')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron_git.bb | 9 |
1 files changed, 9 insertions, 0 deletions
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() { | |||
| 51 | 51 | ||
| 52 | install -d ${NEUTRON_CONF_DIR} | 52 | install -d ${NEUTRON_CONF_DIR} |
| 53 | install -d ${NEUTRON_CONF_DIR}/plugins/ml2 | 53 | install -d ${NEUTRON_CONF_DIR}/plugins/ml2 |
| 54 | install -d ${NEUTRON_CONF_DIR}/rootwrap.d | ||
| 54 | 55 | ||
| 55 | install -m 600 ${TEMPLATE_CONF_DIR}/neutron.conf ${NEUTRON_CONF_DIR}/ | 56 | install -m 600 ${TEMPLATE_CONF_DIR}/neutron.conf ${NEUTRON_CONF_DIR}/ |
| 56 | install -m 600 ${S}/etc/api-paste.ini ${NEUTRON_CONF_DIR}/ | 57 | install -m 600 ${S}/etc/api-paste.ini ${NEUTRON_CONF_DIR}/ |
| 57 | install -m 600 ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/ | 58 | install -m 600 ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/ |
| 58 | install -m 600 ${TEMPLATE_CONF_DIR}/ml2* ${NEUTRON_CONF_DIR}/plugins/ml2 | 59 | install -m 600 ${TEMPLATE_CONF_DIR}/ml2* ${NEUTRON_CONF_DIR}/plugins/ml2 |
| 60 | install -m 600 ${S}/etc/rootwrap.conf ${NEUTRON_CONF_DIR}/ | ||
| 61 | install -m 600 ${S}/etc/neutron/rootwrap.d/* ${NEUTRON_CONF_DIR}/rootwrap.d | ||
| 62 | |||
| 63 | |||
| 59 | 64 | ||
| 60 | # Neutron.conf config changes (replace with .ini file editing) | 65 | # Neutron.conf config changes (replace with .ini file editing) |
| 61 | sed -e "s:^# core_plugin.*:core_plugin = ml2:g" -i ${NEUTRON_CONF_DIR}/neutron.conf | 66 | sed -e "s:^# core_plugin.*:core_plugin = ml2:g" -i ${NEUTRON_CONF_DIR}/neutron.conf |
| @@ -192,12 +197,16 @@ RDEPENDS_${SRCNAME}-tests += " bash" | |||
| 192 | FILES_${SRCNAME} = " \ | 197 | FILES_${SRCNAME} = " \ |
| 193 | ${bindir}/neutron-db-manage \ | 198 | ${bindir}/neutron-db-manage \ |
| 194 | ${bindir}/neutron-rootwrap \ | 199 | ${bindir}/neutron-rootwrap \ |
| 200 | ${bindir}/neutron-rootwrap-daemon \ | ||
| 195 | ${bindir}/neutron-debug \ | 201 | ${bindir}/neutron-debug \ |
| 196 | ${bindir}/neutron-netns-cleanup \ | 202 | ${bindir}/neutron-netns-cleanup \ |
| 197 | ${bindir}/neutron-ovs-cleanup \ | 203 | ${bindir}/neutron-ovs-cleanup \ |
| 204 | ${bindir}/neutron-sanity-check \ | ||
| 198 | ${sysconfdir}/${SRCNAME}/policy.json \ | 205 | ${sysconfdir}/${SRCNAME}/policy.json \ |
| 199 | ${sysconfdir}/${SRCNAME}/neutron.conf \ | 206 | ${sysconfdir}/${SRCNAME}/neutron.conf \ |
| 200 | ${sysconfdir}/${SRCNAME}/api-paste.ini \ | 207 | ${sysconfdir}/${SRCNAME}/api-paste.ini \ |
| 208 | ${sysconfdir}/${SRCNAME}/rootwrap.conf \ | ||
| 209 | ${sysconfdir}/${SRCNAME}/rootwrap.d/* \ | ||
| 201 | ${localstatedir}/* \ | 210 | ${localstatedir}/* \ |
| 202 | " | 211 | " |
| 203 | 212 | ||
