summaryrefslogtreecommitdiffstats
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:37:14 +0100
commit15526a859145845100190276809a96146419b304 (patch)
treed8d74ea9296f1df69c2bb2b1eaf2e481738ed0b5 /scripts
parent2dac49db87291589489cdc54420dfead89a5a343 (diff)
downloadpoky-15526a859145845100190276809a96146419b304.tar.gz
devtool: build-image: add comments
Added couple of hopefully useful comments to the code. (From OE-Core rev: 72dfe5b58c637d74971e025aef3ce0a64dc8172c) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):
58 recipes = _get_recipes(workspace, config) 58 recipes = _get_recipes(workspace, config)
59 if recipes: 59 if recipes:
60 with open(appendfile, 'w') as afile: 60 with open(appendfile, 'w') as afile:
61 # include selected recipes into the image
61 afile.write('IMAGE_INSTALL_append = " %s"\n' % ' '.join(recipes)) 62 afile.write('IMAGE_INSTALL_append = " %s"\n' % ' '.join(recipes))
62 63
63 # Generate notification callback devtool_warn_image_extended 64 # Generate notification callback devtool_warn_image_extended
@@ -75,6 +76,7 @@ def build_image(args, config, basepath, workspace):
75 else: 76 else:
76 logger.warning('No recipes in workspace, building image %s unmodified', image) 77 logger.warning('No recipes in workspace, building image %s unmodified', image)
77 78
79 # run bitbake to build image
78 try: 80 try:
79 exec_build_env_command(config.init_path, basepath, 81 exec_build_env_command(config.init_path, basepath,
80 'bitbake %s' % image, watch=True) 82 'bitbake %s' % image, watch=True)