aboutsummaryrefslogtreecommitdiffstats
path: root/patches/reclass-system-salt-model/0001-linux.system.repo.mcp-Add-Armband-repos.patch
blob: f1b7824bf61c54c930696a32b0def3b315964e41 (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
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: 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: '*'