[PATCH 0/7] cooker/tinfoil: fix -b bbappend handling and add single-task prepared-task API
AdrianF <[email protected]>
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Adrian Freihofer <[email protected]> Hi Richard, Probably you remember how many attempts I tried to solve this nasty issue for devtool ide-sdk already. I hope you consider this usage of AI as a positive one. I also flagged these commits as AI-generated to be transparent. I also tested them extensively with my WIP devtool ide-sdk branch. This series makes the BitBake side of the devtool ide-sdk workflow reliable by: 1. fixing `bitbake -b` so recipe `.bbappend` files are actually applied, 2. adding a single-task execution path for already-prepared tasks, and 3. adding regression coverage for both behaviors. It also includes two related correctness fixes: 1. setConfig now preserves boolean types (instead of turning False into truthy "False"), 2. include_all now ignores empty BBPATH segments to avoid false duplicate-include warnings. Thanks for reviewing. Adrian Freihofer (7): cooker: fix bitbake -b silently ignoring bbappends tests/cooker: add a bitbake -b bbappend test command: fix setConfig coercing bool config values to truthy strings cooker: add a buildFile mode that runs a single task tinfoil: add a prepared task runner tests/cooker: add TinfoilTests for run_prepared_task parse/ast: skip empty BBPATH segments in include_all lib/bb/command.py | 8 +- lib/bb/cooker.py | 14 ++- lib/bb/parse/ast.py | 4 + lib/bb/tests/cooker.py | 211 +++++++++++++++++++++++++++++++++++++++++ lib/bb/tinfoil.py | 23 ++++- 5 files changed, 253 insertions(+), 7 deletions(-) base-commit: 2c236d8bdc51742cbc5a97e30fb126d82d4a908a -- 2.55.0