aboutsummaryrefslogtreecommitdiffstats
path: root/patches/fuel-agent
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-05-09 17:08:54 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-05-10 08:36:05 +0000
commit87c3637d0c28c0640114414cc378bfff24d500c3 (patch)
treecf19353ca74c7fb2f029458bc50de0ddaaeddaba /patches/fuel-agent
parent67bfec1e63f73c7c2a0f2d827e24f4d01e0f9bb5 (diff)
UX: Update bootstrap/target build time estimate.
While building for a different architecture (e.g. AArch64 on x86_64), the bootstrap/target image build may take longer, due to latency introduced by using qemu-user-static. Change-Id: I2b57aae73ccc172fea9e53867bcb66e2f950498f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 8b601647ac2b5910e869de444d6942be7d89f610)
Diffstat (limited to 'patches/fuel-agent')
-rw-r--r--patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch b/patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch
new file mode 100644
index 00000000..d8a7588f
--- /dev/null
+++ b/patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch
@@ -0,0 +1,33 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Mon, 9 May 2016 17:08:06 +0200
+Subject: [PATCH] UX: Update bootstrap/target build time estimate.
+
+While building for a different architecture (e.g. AArch64 on x86_64),
+the bootstrap/target image build may take longer, due to latency
+introduced by using qemu-user-static.
+
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+ .../fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+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
+index 6e60fb8..95bc08a 100644
+--- 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
+@@ -180,9 +180,12 @@ def make_bootstrap(data):
+ OSLO_CONF = cfg.CONF
+ OSLO_CONF(opts, project='fuel-agent')
+ mngr = manager.Manager(bootdata)
+- LOG.info("Build process is in progress. Usually it takes 15-20 minutes."
+- " It depends on your internet connection and hardware"
+- " performance.")
++ LOG.info("Build process is in progress. Usually it takes 15-20 minutes for"
++ " a native build (x86_64) and/or 30-45 minutes for each"
++ " cross-build (e.g. AArch64)."
++ " It depends on your internet connection, hardware performance"
++ " and selected bootstrap architecture(s)."
++ " This ISO supports AArch64 only.")
+ mngr.do_mkbootstrap()
+
+ return bootdata['bootstrap']['uuid'], bootdata['output']