diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/build-image.py | 2 |
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) |