From: Ed Bartosh Date: Sun, 30 Aug 2015 15:37:58 +0000 (+0300) Subject: devtool: build-image: add extra logging X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f719e956a6263784963b6ae9514030a1a1dc2aeb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py index d246fad0e36..563563b3e76 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)