[oe-commits] Ed Bartosh : devtool: build-image: add comments

git at git.openembedded.org git at git.openembedded.org
Mon Aug 31 10:37:35 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 72dfe5b58c637d74971e025aef3ce0a64dc8172c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=72dfe5b58c637d74971e025aef3ce0a64dc8172c

Author: Ed Bartosh <ed.bartosh at linux.intel.com>
Date:   Sun Aug 30 18:48:27 2015 +0300

devtool: build-image: add comments

Added couple of hopefully useful comments to the code.

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>

---

 scripts/lib/devtool/build-image.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py
index 5bc8213..817703a 100644
--- a/scripts/lib/devtool/build-image.py
+++ b/scripts/lib/devtool/build-image.py
@@ -58,6 +58,7 @@ def build_image(args, config, basepath, workspace):
     recipes = _get_recipes(workspace, config)
     if recipes:
         with open(appendfile, 'w') as afile:
+            # include selected recipes into the image
             afile.write('IMAGE_INSTALL_append = " %s"\n' % ' '.join(recipes))
 
             # Generate notification callback devtool_warn_image_extended
@@ -75,6 +76,7 @@ def build_image(args, config, basepath, workspace):
     else:
         logger.warning('No recipes in workspace, building image %s unmodified', image)
 
+    # run bitbake to build image
     try:
         exec_build_env_command(config.init_path, basepath,
                                'bitbake %s' % image, watch=True)



More information about the Openembedded-commits mailing list