summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-08-30 18:48:27 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-31 11:36:58 +0100
commit72dfe5b58c637d74971e025aef3ce0a64dc8172c (patch)
tree8ead60fcf6efccddb2943639bfbcd26859a2203a /scripts
parent82c6452ca953eb32e2919d9f9e64497a15212be5 (diff)
downloadopenembedded-core-72dfe5b58c637d74971e025aef3ce0a64dc8172c.tar.gz
openembedded-core-72dfe5b58c637d74971e025aef3ce0a64dc8172c.tar.bz2
openembedded-core-72dfe5b58c637d74971e025aef3ce0a64dc8172c.zip
devtool: build-image: add comments
Added couple of hopefully useful comments to the code. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/build-image.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py
index 5bc82134c1..817703a0e5 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)