summaryrefslogtreecommitdiffstats
path: root/patches/fuel-library/multiarch-mirrors/0001-Add-arm64-for-auxiliary-repos.patch
blob: f6fd0a6018c1bd0bd52fb32d0324a150fa16881b (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
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: Copyright (c) 2017 Enea AB, Cavium 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: 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'] ->