diff options
-rw-r--r-- | scripts/lib/recipetool/create.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index b65e59de6a..5d7fcbbb98 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -764,6 +764,7 @@ def create_recipe(args): | |||
764 | extrafiles = extravalues.pop('extrafiles', {}) | 764 | extrafiles = extravalues.pop('extrafiles', {}) |
765 | extra_pn = extravalues.pop('PN', None) | 765 | extra_pn = extravalues.pop('PN', None) |
766 | extra_pv = extravalues.pop('PV', None) | 766 | extra_pv = extravalues.pop('PV', None) |
767 | run_tasks = extravalues.pop('run_tasks', "").split() | ||
767 | 768 | ||
768 | if extra_pv and not realpv: | 769 | if extra_pv and not realpv: |
769 | realpv = extra_pv | 770 | realpv = extra_pv |
@@ -918,6 +919,10 @@ def create_recipe(args): | |||
918 | log_info_cond('Recipe %s has been created; further editing may be required to make it fully functional' % outfile, args.devtool) | 919 | log_info_cond('Recipe %s has been created; further editing may be required to make it fully functional' % outfile, args.devtool) |
919 | tinfoil.modified_files() | 920 | tinfoil.modified_files() |
920 | 921 | ||
922 | for task in run_tasks: | ||
923 | logger.info("Running task %s" % task) | ||
924 | tinfoil.build_file_sync(outfile, task) | ||
925 | |||
921 | if tempsrc: | 926 | if tempsrc: |
922 | if args.keep_temp: | 927 | if args.keep_temp: |
923 | logger.info('Preserving temporary directory %s' % tempsrc) | 928 | logger.info('Preserving temporary directory %s' % tempsrc) |