build: Rework patch mechanism for Fuel submodules
[armband.git] / patches / opnfv-fuel / cross-bootstrap / 0001-UX-Update-bootstrap-target-build-time-estimate.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Mon, 9 May 2016 17:05:53 +0200
3 Subject: [PATCH] UX: Update bootstrap/target build time estimate.
4
5 While building for a different architecture (e.g. AArch64 on x86_64),
6 the bootstrap/target image build may take longer, due to latency
7 introduced by using qemu-user-static.
8
9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 ---
11  .../0001-OPNFV-Additions-to-bootstrap_admin_node.sh.patch | 15 +++++++++++++++
12  1 file changed, 15 insertions(+)
13
14 diff --git a/build/f_repos/patch/fuel-main/0001-OPNFV-Additions-to-bootstrap_admin_node.sh.patch b/build/f_repos/patch/fuel-main/0001-OPNFV-Additions-to-bootstrap_admin_node.sh.patch
15 index 446d0b6..c2e664c 100644
16 --- a/build/f_repos/patch/fuel-main/0001-OPNFV-Additions-to-bootstrap_admin_node.sh.patch
17 +++ b/build/f_repos/patch/fuel-main/0001-OPNFV-Additions-to-bootstrap_admin_node.sh.patch
18 @@ -10,6 +10,21 @@ diff --git a/iso/bootstrap_admin_node.sh b/iso/bootstrap_admin_node.sh
19  index 3197c91..db3123d 100755
20  --- a/iso/bootstrap_admin_node.sh
21  +++ b/iso/bootstrap_admin_node.sh
22 +@@ -86,9 +86,11 @@
23 + http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-install-guide/bootstrap/\
24 + bootstrap_troubleshoot.html"
25 + bs_progress_message="There is no active bootstrap. Bootstrap image building \
26 +-is in progress. Usually it takes 15-20 minutes. It depends on your internet \
27 +-connection and hardware performance. After bootstrap image becomes available, \
28 +-reboot nodes that failed to be discovered."
29 ++is in progress. Usually it takes 15-20 minutes for a native build (x86_64) \
30 ++and/or 30-45 minutes for each cross-build (e.g. AArch64). \
31 ++It depends on your internet connection, hardware performance and selected \
32 ++bootstrap architecture(s). This ISO supports AArch64 only. After bootstrap \
33 ++image becomes available, reboot nodes that failed to be discovered."
34 + bs_done_message="Default bootstrap image building done. Now you can boot new \
35 + nodes over PXE, they will be discovered and become available for installing \
36 + OpenStack on them"
37  @@ -339,8 +339,22 @@ fuelmenu --save-only --iface=$ADMIN_INTERFACE || fail
38   set +x
39   echo "Done!"