aboutsummaryrefslogtreecommitdiffstats
path: root/patches/reclass-system-salt-model/0001-linux.system.repo.mcp-Add-Armband-repos.patch
blob: 43d1e6a2184b177d6d374927f64e570bd01bd82c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: Copyright (c) 2017 Enea AB and others.
:
: All rights reserved. This program and the accompanying materials
: are made available under the terms of the Apache License, Version 2.0
: which accompanies this distribution, and is available at
: http://www.apache.org/licenses/LICENSE-2.0
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Mon, 10 Jul 2017 15:31:08 +0000
Subject: [PATCH] linux.system.repo.mcp: Add Armband repos

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
---
 linux/system/repo/mcp/armband/extra.yml     | 14 ++++++++++++++
 linux/system/repo/mcp/armband/openstack.yml | 21 +++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 linux/system/repo/mcp/armband/extra.yml
 create mode 100644 linux/system/repo/mcp/armband/openstack.yml

diff --git a/linux/system/repo/mcp/armband/extra.yml b/linux/system/repo/mcp/armband/extra.yml
new file mode 100644
index 0000000..5b10e19
--- /dev/null
+++ b/linux/system/repo/mcp/armband/extra.yml
@@ -0,0 +1,14 @@
+parameters:
+  # Armband only provides apt_mk_version=nightly for now
+  linux:
+    system:
+      repo:
+        armband_mcp_extra:
+          source: "deb [arch=arm64] http://linux.enea.com/apt-mk/${_param:linux_system_codename}/ nightly extra"
+          architectures: arm64
+          key_url: "https://linux.enea.com/apt-mk/public.gpg"
+          clean_file: true
+          pin:
+          - pin: 'release a=nightly'
+            priority: 1100
+            package: '*'
diff --git a/linux/system/repo/mcp/armband/openstack.yml b/linux/system/repo/mcp/armband/openstack.yml
new file mode 100644
index 0000000..6aa4fa0
--- /dev/null
+++ b/linux/system/repo/mcp/armband/openstack.yml
@@ -0,0 +1,21 @@
+parameters:
+  # Armband only provides apt_mk_version=nightly for now
+  linux:
+    system:
+      repo:
+        armband_openstack:
+          source: "deb http://linux.enea.com/mcp-repos/${_param:openstack_version}/${_param:linux_system_codename} ${_param:openstack_version} main"
+          architectures: arm64
+          key_url: "https://linux.enea.com/mcp-repos/${_param:openstack_version}/${_param:linux_system_codename}/archive-mcp${_param:openstack_version}.key"
+          pin:
+          - pin: 'release a=${_param:openstack_version}'
+            priority: 1100
+            package: '*'
+        armband_mk_openstack:
+          source: "deb [arch=arm64] http://linux.enea.com/apt-mk/${_param:linux_system_codename}/ nightly ${_param:openstack_version}"
+          architectures: arm64
+          key_url: "https://linux.enea.com/apt-mk/public.gpg"
+          pin:
+          - pin: 'release a=nightly'
+            priority: 1100
+            package: '*'