]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
devtool: build-image: add extra logging
authorEd Bartosh <ed.bartosh@linux.intel.com>
Sun, 30 Aug 2015 15:37:58 +0000 (18:37 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 Aug 2015 10:36:55 +0000 (11:36 +0100)
Added logger calls to show if image is modified by the
plugin or not.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
scripts/lib/devtool/build-image.py

index d246fad0e36938f24fb4a18f2740367378e946ef..563563b3e76251e712920ed5d5525f6fa4c398bc 100644 (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)