u/fuel: Bump & rebase for doc updates
[armband.git] / patches / opnfv-fuel / 0004-maas-boot-resources-Add-arm64-architecture.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2018 Enea AB 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: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Fri, 11 Aug 2017 00:07:29 +0200
11 Subject: [PATCH] maas: boot-resources: Add arm64 architecture
12
13 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
14 ---
15  mcp/patches/0003-maas-region-force-artifact-download.patch | 7 ++++++-
16  1 file changed, 6 insertions(+), 1 deletion(-)
17
18 diff --git a/mcp/patches/0003-maas-region-force-artifact-download.patch b/mcp/patches/0003-maas-region-force-artifact-download.patch
19 index b61a3d1b..e38b6c1a 100644
20 --- a/mcp/patches/0003-maas-region-force-artifact-download.patch
21 +++ b/mcp/patches/0003-maas-region-force-artifact-download.patch
22 @@ -50,7 +50,7 @@ diff --git a/maas/files/maas-artifact-sync.sh b/maas/files/maas-artifact-sync.sh
23  new file mode 100644
24  --- /dev/null
25  +++ b/maas/files/maas-artifact-sync.sh
26 -@@ -0,0 +1,20 @@
27 +@@ -0,0 +1,25 @@
28  +{%- from "maas/map.jinja" import region with context %}
29  +#!/bin/bash
30  +function wait_for {
31 @@ -71,3 +71,8 @@ new file mode 100644
32  +wait_for 90 "! maas opnfv boot-resources is-importing | grep -q 'true'"
33  +maas opnfv rack-controllers import-boot-images || exit 3
34  +wait_for 30 "test -d /var/lib/maas/boot-resources/current/ubuntu/amd64"
35 ++maas opnfv boot-source-selection update 1 1 arches='amd64' arches='arm64' || exit 4
36 ++maas opnfv boot-resources import || exit 2
37 ++wait_for 90 "! maas opnfv boot-resources is-importing | grep -q 'true'"
38 ++maas opnfv rack-controllers import-boot-images || exit 3
39 ++wait_for 30 "test -d /var/lib/maas/boot-resources/current/ubuntu/arm64"