| Message ID | 20261120135342.2628228-10-stondo@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | npm: list the dependencies in SRC_URI | expand |
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 2df17dd6e4..b2cc92c90b 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py @@ -955,6 +955,11 @@ def create_recipe(args): for task in run_tasks: logger.info("Running task %s" % task) tinfoil.build_file_sync(outfile, task) + if run_tasks: + # Remove the work directory and the stamps of these tasks. Else a + # later build of the recipe can trust the stamps, also when devtool + # has removed the work directory in the meantime. + tinfoil.build_file_sync(outfile, "clean") if tempsrc: if args.keep_temp: