bitbake-setup: update: add a --update-bb-conf option
Get series with b4
b4 am 20251118-bitbake-setup-conf-updates-v4-0-7336b663bca6@bootlin.com change-id 20251114-bitbake-setup-conf-updates-91ae4efa86aeVersions newest first
- v4 Latest2 patches 1 replyIn review
- v32 patches 1 replySuperseded
- v22 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 4 replies | Superseded |
Changes in v4 from the cover letter
- Simplify argument passing in build_status(), as suggested by Alex
- Link to v3: https://lore.kernel.org/r/20251117-bitbake-setup-conf-updates-v3-0-46cdf826e79c@bootlin.com
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bitbake-setup: update: add a --update-bb-conf optionbin/ doc/ lib/ | +49 | 0 replies | |
| 2/2 | bitbake-selftest: setup: add test for --update-bb-conf=nolib/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/2] bitbake-setup: update: add a --update-bb-conf option
---
Changes in v4:
- Simplify argument passing in build_status(), as suggested by Alex
- Link to v3: https://lore.kernel.org/r/20251117-bitbake-setup-conf-updates-v3-0-46cdf826e79c@bootlin.com
Changes in v3:
- bitbake-setup:
- Change the conf diff logic as suggested by Alex.
- Use args in build_status() to get update_bb_conf.
- Use get_diff() instead of git diff in _setup_bitbake_build()
- test:
- Use hashlib update() instead of file_digest() for
backwards-compatibility.
- When computing checkum check that the item returned by glob.glob is
a file and not a link (previously it would have tried to open a
directory).
- Link to v2: https://lore.kernel.org/r/20251117-bitbake-setup-conf-updates-v2-0-209637e01fbe@bootlin.com
Changes in v2:
- As suggested by Alex, Rework the logic to apply upstream configuration
changes first, then print the diff and ask the user whether to apply
or not (default behavior).
- Behavior can still be overridden with --update-bb-conf='yes/no/prompt'
- Link to v1: https://lore.kernel.org/r/20251114-bitbake-setup-conf-updates-v1-0-990583d8251b@bootlin.com
---
Antonin Godard (2):
bitbake-setup: update: add a --update-bb-conf option
bitbake-selftest: setup: add test for --update-bb-conf=nobin/bitbake-setup | 53 ++++++++++++++++------ .../bitbake-user-manual-environment-setup.rst | 8 ++++ lib/bb/tests/setup.py | 41 +++++++++++++++-- 3 files changed, 84 insertions(+), 18 deletions(-)
---
base-commit: ae9a70c919f14ca323eb7c03ef9080fd0bd52c29
change-id: 20251114-bitbake-setup-conf-updates-91ae4efa86ae