salt.sh, user-data: Add Saltstack arm64 repo 97/40797/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 11 Jul 2017 16:57:57 +0000 (18:57 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 31 Aug 2017 23:03:48 +0000 (01:03 +0200)
commitbb2dc1e4d661b51c561a60530639ba439d824870
tree0ca1799044839244ac898ab5b8f9630d63027e97
parent81c74a3da29cabc3fe76d3b5467378d84fd2767e
salt.sh, user-data: Add Saltstack arm64 repo

These changes will only be applied on AArch64, based on `uname -m`.

While at it, add arm64 suppport to salt-master-setup.sh.
Upstream commit [1] broke Salt bootstrap on AArch64, by
introducing an architecture condition that is too strict to allow
Debian package installation (even if we provide our own repo).

Add "arm64" to the list of supported architectures. This needs
to be done on the fly, as the bootstrap script is fetched using
`curl` from <salt-master-setup.sh>.

[1] https://github.com/saltstack/salt-bootstrap/commit/caa6d7d

Change-Id: Id706a74a52ffe2f8b8c9dd3b9f70c78f35b2f745
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/patches/Makefile
mcp/patches/scripts/0001-salt-master-setup.sh-Allow-arm64-salt-bootstrap.patch [new file with mode: 0644]
mcp/scripts/salt.sh
mcp/scripts/user-data.template