devtool: build-image: add extra logging

Added logger calls to show if image is modified by the
plugin or not.

(From OE-Core rev: f719e956a6263784963b6ae9514030a1a1dc2aeb)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh 2015-08-30 18:37:58 +03:00 committed by Richard Purdie
parent 45ebff42af
commit 96726242f0
1 changed files with 6 additions and 0 deletions

View File

@ -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)