p/fuel: Rebase after authorized_keys fix upstream
[armband.git] / patches / opnfv-fuel / 0006-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Thu, 27 Jul 2017 23:42:29 +0200
3 Subject: [PATCH] mcp: salt-formulas: opendaylight: AArch64 leveldb
4
5 ODL requires native leveldbjni support on architectures like AArch64.
6 Armband provides a Debian package that provides exactly that,
7 specially tailored to be applied on top of upstream Opendaylight
8 Debian package.
9
10 Install <armband-odl-leveldb-fix> as part of the existing Opendaylight
11 salt-formula (and not as part of Armband's separate salt-formula, like
12 previous fixups).
13
14 Some dependencies are not self-contained in this formula yet, and
15 should be handled before upstreaming this patch:
16 - Armband DEB repository (mcp-repos) is added by "openstack" state;
17 - only Debian systems are supported (no equivalent RPM provided);
18 - only systemd is supported (unlikely to change);
19
20 JIRA: https://jira.opnfv.org/browse/ARMBAND-283
21
22 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
23 ---
24  mcp/salt-formulas/opendaylight/server.sls | 5 +++++
25  1 file changed, 5 insertions(+)
26
27 diff --git a/mcp/salt-formulas/opendaylight/server.sls b/mcp/salt-formulas/opendaylight/server.sls
28 index 8c6c3b2..a2236ae 100644
29 --- a/mcp/salt-formulas/opendaylight/server.sls
30 +++ b/mcp/salt-formulas/opendaylight/server.sls
31 @@ -58,4 +58,9 @@ opendaylight:
32        - service: opendaylight
33  {%- endif %}
34
35 +opendaylight_aarch64_leveldbjni:
36 +  pkg.installed:
37 +    {% if grains['cpuarch'] == 'aarch64'%}
38 +    - name: armband-odl-leveldb-fix
39 +    {% endif %}
40  {%- endif %}