[OE-core] [PATCH 08/11] devtool: build-image: add extra logging
Ed Bartosh
ed.bartosh at linux.intel.com
Sun Aug 30 16:08:41 UTC 2015
Added logger calls to show if image is modified by the
plugin or not.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
scripts/lib/devtool/build-image.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py
index d246fad..563563b 100644
--- a/scripts/lib/devtool/build-image.py
+++ b/scripts/lib/devtool/build-image.py
@@ -64,6 +64,12 @@ def build_image(args, config, basepath, workspace):
" bb.plain('NOTE: delete %%s to clear this' %% \\\n"
" '%s')\n" % os.path.relpath(appendfile, basepath))
afile.write("}\n")
+
+ logger.info('Building image %s with the following '
+ 'additional packages: %s', image, ' '.join(recipes))
+ else:
+ logger.warning('No recipes in workspace, building image %s unmodified', image)
+
try:
exec_build_env_command(config.init_path, basepath,
'bitbake %s' % image, watch=True)
--
2.1.4
More information about the Openembedded-core
mailing list