Merge "neutron-server-opendaylight: make it buildable on non-x86"

This commit is contained in:
Zuul 2017-12-12 21:09:21 +00:00 committed by Gerrit Code Review
commit a38fc244d1

View File

@ -18,6 +18,20 @@ USER root
{% elif install_type == 'source' %}
{% if base_arch not in ['x86_64'] %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set neutron_server_opendaylight_packages = [
'libjpeg-devel'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set neutron_server_opendaylight_packages = [
'libjpeg-dev'
] %}
{% endif %}
{{ macros.install_packages(neutron_server_opendaylight_packages | customizable("packages")) }}
{% endif %}
ADD plugins-archive /
{% set neutron_server_opendaylight_plugins_pip_packages = [