summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-03-11 14:33:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:44:12 +0000
commitc2a1e044c811c6a1174e17373b184d40caa829ed (patch)
tree652f064c8de6556cf2e1c028b9013f8b42fca8f3 /bitbake
parentfb84086f7dd509d4c0e282af3b3cedde0802bd60 (diff)
downloadast2050-yocto-poky-c2a1e044c811c6a1174e17373b184d40caa829ed.zip
ast2050-yocto-poky-c2a1e044c811c6a1174e17373b184d40caa829ed.tar.gz
bitbake: toastergui: replace ETA with percentage
We replace the ETA (which was an inaccurate estimation) with the percentage of completed tasks. (Bitbake rev: 220f5b853fd3236b49faa5ec54c9c96050a84fa9) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html
index edaa08e..51610e4 100644
--- a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html
+++ b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html
@@ -64,7 +64,7 @@
<div style="width: {{build.completeper}}%;" class="bar"></div>
</div>
</div>
- <div class="lead pull-right">ETA: in {{build.eta|naturaltime}}</div>
+ <div class="lead pull-right">{{build.completeper}}% tasks completed</div>
{%endif%}
</div>
</div>
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index f4a3a75..badc8a6 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -202,7 +202,7 @@ vim: expandtab tabstop=2
<div style="width: {[b.build[0].completeper]}%;" class="bar"></div>
</div>
</div>
- <div class="text-right lead">ETA in {[b.build[0].eta|toeta|timediff]}</div>
+ <div class="text-right lead">{[b.build[0].completeper]}% tasks completed</div>
</case>
</case>
OpenPOWER on IntegriCloud