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): extrafiles = extravalues.pop('extrafiles', {}) extra_pn = extravalues.pop('PN', None) extra_pv = extravalues.pop('PV', None) + run_tasks = extravalues.pop('run_tasks', "").split() if extra_pv and not realpv: realpv = extra_pv @@ -918,6 +919,10 @@ def create_recipe(args): log_info_cond('Recipe %s has been created; further editing may be required to make it fully functional' % outfile, args.devtool) tinfoil.modified_files() + for task in run_tasks: + logger.info("Running task %s" % task) + tinfoil.build_file_sync(outfile, task) + if tempsrc: if args.keep_temp: logger.info('Preserving temporary directory %s' % tempsrc)