summaryrefslogtreecommitdiffstats
path: root/patches/reclass-system-salt-model/0001-linux.system.repo.mcp-Add-Armband-repos.patch
blob: b4f765572b946fbcf1b6d4108b7a611aaa198413 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: 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.yml   | 12 ++++++++++++
 linux/system/repo/mcp/extra.yml     | 10 ++++++++++
 linux/system/repo/mcp/openstack.yml | 17 +++++++++++++++++
 3 files changed, 39 insertions(+)
 create mode 100644 linux/system/repo/mcp/armband.yml

diff --git a/linux/system/repo/mcp/armband.yml b/linux/system/repo/mcp/armband.yml
new file mode 100644
index 0000000..d1fa43a
--- /dev/null
+++ b/linux/system/repo/mcp/armband.yml
@@ -0,0 +1,12 @@
+parameters:
+  linux:
+    system:
+      repo:
+        armband:
+          source: "deb http://linux.enea.com/mcp-repos/${_param:openstack_version}/${_param:linux_system_codename} ${_param:openstack_version}-armband 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 l=${_param:openstack_version}-armband'
+            priority: 1100
+            package: '*'
diff --git a/linux/system/repo/mcp/extra.yml b/linux/system/repo/mcp/extra.yml
index 9839a23..ad9b5ce 100644
--- a/linux/system/repo/mcp/extra.yml
+++ b/linux/system/repo/mcp/extra.yml
@@ -14,3 +14,13 @@ parameters:
           - pin: 'release a=${_param:linux_system_repo_mcp_extra_version}'
             priority: 1100
             package: '*'
+        # Armband only provides apt_mk_version=nightly for now
+        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/openstack.yml b/linux/system/repo/mcp/openstack.yml
index 465b75d..22defb7 100644
--- a/linux/system/repo/mcp/openstack.yml
+++ b/linux/system/repo/mcp/openstack.yml
@@ -21,3 +21,20 @@ parameters:
           - pin: 'release l=${_param:linux_system_repo_mk_openstack_version}'
             priority: 1100
             package: '*'
+        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 l=${_param:openstack_version}'
+            priority: 1100
+            package: '*'
+        # Armband only provides apt_mk_version=nightly for now
+        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 l=nightly'
+            priority: 1100
+            package: '*'