mbox series

[v5,0/2] bitbake-setup: add descriptions for fragment choices

Message ID 20260206-bitbake-setup-choose-builtin-v5-0-3038da12dd2f@bootlin.com
Headers show
Series bitbake-setup: add descriptions for fragment choices | expand

Message

Antonin Godard Feb. 6, 2026, 8:40 a.m. UTC
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Changes in v5:
- Rebase on master, which makes me drop PATCH 1 from v4, which was
  merged.
- This is also based on https://lore.kernel.org/r/20260205115414.3956729-1-alex.kanavin@gmail.com
  to avoid conflicts
- Shorten fragment descriptions
- Link to v4: https://patch.msgid.link/20260123-bitbake-setup-choose-builtin-v4-0-99361f2128f6@bootlin.com

Changes in v4:
- setup.py: move the fragments to gizmo-notemplate, add a second option
  (that isn't used, but it doesn't make much sense otherwise)
- rebase on top of https://lore.kernel.org/r/20260116095741.3654153-1-alex.kanavin@gmail.com
- Link to v3: https://patch.msgid.link/20260122-bitbake-setup-choose-builtin-v3-0-c55291acc1a7@bootlin.com

Changes in v3:
- Rework logic as suggested by Alex
- Remove modifications of {oe-nodistro,poky}-whinlatter.conf.json
- Add a test case for oe-fragments-one-of
- Link to v2: https://patch.msgid.link/20260120-bitbake-setup-choose-builtin-v2-0-ade604ff2351@bootlin.com

Changes in v2:
- As suggested by Alex, change the new way of specifying fragments to
  remain a dictionary so they can be extended in the future
- Link to v1: https://patch.msgid.link/20260116-bitbake-setup-choose-builtin-v1-0-8d66666a9efd@bootlin.com

---
Antonin Godard (2):
      default-registry: update fragments choices with descriptions
      lib/bb/tests/setup.py: add tests for oe-fragments-one-of

 .../configurations/oe-nodistro-master.conf.json    |  6 ++++-
 .../configurations/poky-master.conf.json           | 16 ++++++++---
 lib/bb/tests/setup.py                              | 31 +++++++++++++++++++---
 3 files changed, 45 insertions(+), 8 deletions(-)
---
base-commit: 1ee053e1b1f9f8f008fbf7d7a5c93ebc8718d4b5
change-id: 20260116-bitbake-setup-choose-builtin-fb199054cc25