Add copyright header to patch files
[armband.git] / patches / fuel-library / multiarch-mirrors / 0001-Add-arm64-for-auxiliary-repos.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 Enea AB, Cavium and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Stanislaw Kardach <stanislaw.kardach@cavium.com>
10 Date: Wed, 24 Feb 2016 20:05:25 +0100
11 Subject: [PATCH] Add arm64 for auxiliary repos
12
13 ---
14  deployment/puppet/fuel/files/Release-auxiliary     | 2 +-
15  deployment/puppet/fuel/manifests/auxiliaryrepos.pp | 4 +++-
16  2 files changed, 4 insertions(+), 2 deletions(-)
17
18 diff --git a/deployment/puppet/fuel/files/Release-auxiliary b/deployment/puppet/fuel/files/Release-auxiliary
19 index 2d5ce58..03f84b8 100644
20 --- a/deployment/puppet/fuel/files/Release-auxiliary
21 +++ b/deployment/puppet/fuel/files/Release-auxiliary
22 @@ -3,6 +3,6 @@ Label: auxiliary
23  Suite: auxiliary
24  Codename: auxiliary
25  Date: Mon, 15 Apr 2015 00:00:01 UTC
26 -Architectures: amd64
27 +Architectures: amd64 arm64
28  Components: main restricted
29  Description: Auxiliary
30 diff --git a/deployment/puppet/fuel/manifests/auxiliaryrepos.pp b/deployment/puppet/fuel/manifests/auxiliaryrepos.pp
31 index 909fc92..4ec5d05 100644
32 --- a/deployment/puppet/fuel/manifests/auxiliaryrepos.pp
33 +++ b/deployment/puppet/fuel/manifests/auxiliaryrepos.pp
34 @@ -45,7 +45,9 @@ class fuel::auxiliaryrepos(
35    $release_files = [
36      "${ubuntu_dir}/dists/auxiliary/Release",
37      "${ubuntu_dir}/dists/auxiliary/main/binary-amd64/Release",
38 -    "${ubuntu_dir}/dists/auxiliary/restricted/binary-amd64/Release"]
39 +    "${ubuntu_dir}/dists/auxiliary/restricted/binary-amd64/Release",
40 +    "${ubuntu_dir}/dists/auxiliary/main/binary-arm64/Release",
41 +    "${ubuntu_dir}/dists/auxiliary/restricted/binary-arm64/Release"]
42
43    Exec['create_ubuntu_repo_dirs'] ->
44      Exec['create_ubuntu_repo_Packages'] ->