]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/populate_sdk_ext: show progress when preparing build system paule/startup-oe2
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 31 May 2016 04:40:59 +0000 (16:40 +1200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 18 Jul 2016 04:51:47 +0000 (16:51 +1200)
commit02b891c9c699ec6cfc6eff2767928974fe54af06
tree8b68e16bff1440a748b236e4470fc6549751291a
parentda7a2c7b00b40a8759dbe9f4ab6df3e337e3d6b6
classes/populate_sdk_ext: show progress when preparing build system

During the extensible SDK installation process the final step is to
prepare the internal copy of the build system. This can take some time,
especially if you have SDK_EXT_TYPE set to "minimal" (downloading
sstate artifacts) and SDK_INCLUDE_PKGDATA set to "1" (restoring
pkgdata for world). To make this a bit less painful, use BitBake's new
quiet mode to display status during this operation so you have some idea
of how it's progressing; instead of redirecting the output to
preparing_build_system.log we grab the last console log and append it
instead.

One result of this change is that you get the errors printed on the
console during normal output rather than this going to the
preparing_build_system.log file first. In OE-Core revision
227d2cbf9e0b8c35fa6644e3d72e0699db9607fa, we changed to always print the
contents of preparing_build_system.log on failure, but now at least the
error contents of that log is duplicated. Besides, I intentionally
didn't print out the contents of that log during normal usage because
it's quite verbose - the bug that we were attempting to fix was about
not getting this information when seeing failures in the automated
tests, thus I've moved printing the log to the test handling code
instead.

Part of the implementation for [YOCTO #9613].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/populate_sdk_ext.bbclass
meta/files/ext-sdk-prepare.py