Added logger calls to show if image is modified by the
plugin or not.
Signed-off-by: Ed Bartosh <[email protected]>
---
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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core