summaryrefslogtreecommitdiffstats
path: root/patches/fuel-library/multiarch-mirrors/0001-Add-arm64-for-auxiliary-repos.patch
blob: 6d8b024885709d0cba9b19bed1d31e65bf4b32f1 (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
From: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Date: Wed, 24 Feb 2016 20:05:25 +0100
Subject: [PATCH] Add arm64 for auxiliary repos

---
 deployment/puppet/fuel/files/Release-auxiliary     | 2 +-
 deployment/puppet/fuel/manifests/auxiliaryrepos.pp | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/deployment/puppet/fuel/files/Release-auxiliary b/deployment/puppet/fuel/files/Release-auxiliary
index 2d5ce58..03f84b8 100644
--- a/deployment/puppet/fuel/files/Release-auxiliary
+++ b/deployment/puppet/fuel/files/Release-auxiliary
@@ -3,6 +3,6 @@ Label: auxiliary
 Suite: auxiliary
 Codename: auxiliary
 Date: Mon, 15 Apr 2015 00:00:01 UTC
-Architectures: amd64
+Architectures: amd64 arm64
 Components: main restricted
 Description: Auxiliary
diff --git a/deployment/puppet/fuel/manifests/auxiliaryrepos.pp b/deployment/puppet/fuel/manifests/auxiliaryrepos.pp
index 909fc92..4ec5d05 100644
--- a/deployment/puppet/fuel/manifests/auxiliaryrepos.pp
+++ b/deployment/puppet/fuel/manifests/auxiliaryrepos.pp
@@ -45,7 +45,9 @@ class fuel::auxiliaryrepos(
   $release_files = [
     "${ubuntu_dir}/dists/auxiliary/Release",
     "${ubuntu_dir}/dists/auxiliary/main/binary-amd64/Release",
-    "${ubuntu_dir}/dists/auxiliary/restricted/binary-amd64/Release"]
+    "${ubuntu_dir}/dists/auxiliary/restricted/binary-amd64/Release",
+    "${ubuntu_dir}/dists/auxiliary/main/binary-arm64/Release",
+    "${ubuntu_dir}/dists/auxiliary/restricted/binary-arm64/Release"]

   Exec['create_ubuntu_repo_dirs'] ->
     Exec['create_ubuntu_repo_Packages'] ->