summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-08-30 18:37:58 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-31 11:36:55 +0100
commitf719e956a6263784963b6ae9514030a1a1dc2aeb (patch)
tree6a972239511dfa86fca2fcd50feb9553df13f964
parent53cb00b8af58c326e2a045cd6f8a04a24dc4c1b5 (diff)
downloadopenembedded-core-f719e956a6263784963b6ae9514030a1a1dc2aeb.tar.gz
openembedded-core-f719e956a6263784963b6ae9514030a1a1dc2aeb.tar.bz2
openembedded-core-f719e956a6263784963b6ae9514030a1a1dc2aeb.zip
devtool: build-image: add extra logging
Added logger calls to show if image is modified by the plugin or not. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
-rw-r--r--scripts/lib/devtool/build-image.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py
index d246fad0e3..563563b3e7 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)