diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-08-30 18:37:58 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-31 11:37:13 +0100 |
commit | 96726242f006dc29a3ad84276ce8f1c35147dee6 (patch) | |
tree | 628e64b3a59419ba9a0ee4cd39588c7a7fa0400f /scripts/lib | |
parent | 45ebff42af85f5b798c1815975633f444c8a506f (diff) | |
download | poky-96726242f006dc29a3ad84276ce8f1c35147dee6.tar.gz |
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>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/build-image.py | 6 |
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): | |||
64 | " bb.plain('NOTE: delete %%s to clear this' %% \\\n" | 64 | " bb.plain('NOTE: delete %%s to clear this' %% \\\n" |
65 | " '%s')\n" % os.path.relpath(appendfile, basepath)) | 65 | " '%s')\n" % os.path.relpath(appendfile, basepath)) |
66 | afile.write("}\n") | 66 | afile.write("}\n") |
67 | |||
68 | logger.info('Building image %s with the following ' | ||
69 | 'additional packages: %s', image, ' '.join(recipes)) | ||
70 | else: | ||
71 | logger.warning('No recipes in workspace, building image %s unmodified', image) | ||
72 | |||
67 | try: | 73 | try: |
68 | exec_build_env_command(config.init_path, basepath, | 74 | exec_build_env_command(config.init_path, basepath, |
69 | 'bitbake %s' % image, watch=True) | 75 | 'bitbake %s' % image, watch=True) |