]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqueue: report progress for "Preparing RunQueue" step
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 23 Jun 2016 10:59:12 +0000 (22:59 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Jul 2016 12:38:16 +0000 (13:38 +0100)
commit591e9741e108487ff437e77cb439ef2dbca42e03
tree0cdb21be6b5c51e30a12cfbbea9fb931e5d57009
parent624722c067a7fdd0c0f5d8be611e1f6666ecc4a2
runqueue: report progress for "Preparing RunQueue" step

When "Preparing RunQueue" shows up you can expect to wait up to 30
seconds while it works - which is a bit long to leave the user waiting
without any kind of output. Since the work being carried out during this
time is divided into stages such that it's practical to determine
internally how it's progressing, replace the message with a progress
bar.

Actually what happens during this time is two major steps rather than
just one - the runqueue preparation itself, followed by the
initialisation prior to running setscene tasks. I elected to have the
progress bar cover both as one (there doesn't appear to be much point in
doing otherwise from a user perspective). I did however describe it as
"initialising tasks".

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/progress.py
lib/bb/runqueue.py