Rework: Move xz/gzip switch to post-install.
[armband.git] / patches / fuel-agent / 0010-UX-Update-bootstrap-target-build-time-estimate.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Mon, 9 May 2016 17:08:06 +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  .../fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py   | 9 ++++++---
12  1 file changed, 6 insertions(+), 3 deletions(-)
13
14 diff --git a/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py b/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py
15 index 6e60fb8..95bc08a 100644
16 --- a/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py
17 +++ b/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py
18 @@ -180,9 +180,12 @@ def make_bootstrap(data):
19      OSLO_CONF = cfg.CONF
20      OSLO_CONF(opts, project='fuel-agent')
21      mngr = manager.Manager(bootdata)
22 -    LOG.info("Build process is in progress. Usually it takes 15-20 minutes."
23 -             " It depends on your internet connection and hardware"
24 -             " performance.")
25 +    LOG.info("Build process is in progress. Usually it takes 15-20 minutes for"
26 +             " a native build (x86_64) and/or 30-45 minutes for each"
27 +             " cross-build (e.g. AArch64)."
28 +             " It depends on your internet connection, hardware performance"
29 +             " and selected bootstrap architecture(s)."
30 +             " This ISO supports AArch64 only.")
31      mngr.do_mkbootstrap()
32  
33      return bootdata['bootstrap']['uuid'], bootdata['output']