mbox series

[v4,0/3] bitbake-setup: add descriptions for fragment choices

Message ID 20260123-bitbake-setup-choose-builtin-v4-0-99361f2128f6@bootlin.com
Headers show
Series bitbake-setup: add descriptions for fragment choices | expand

Message

Antonin Godard Jan. 23, 2026, 1:24 p.m. UTC
Signed-off-by: Antonin Godard <antonin.godard@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 (3):
      bin/bitbake-setup: add descriptions for fragment choices
      default-registry: update fragments choices with descriptions
      lib/bb/tests/setup.py: add tests for oe-fragments-one-of

 bin/bitbake-setup                                  | 23 +++++++++++-----
 .../configurations/oe-nodistro-master.conf.json    |  6 ++++-
 .../configurations/poky-master.conf.json           | 14 ++++++++--
 .../bitbake-user-manual-environment-setup.rst      | 26 ++++++++++++++++--
 lib/bb/tests/setup.py                              | 31 +++++++++++++++++++---
 setup-schema/bitbake-setup.schema.json             | 21 ++++++++++++++-
 6 files changed, 105 insertions(+), 16 deletions(-)
---
base-commit: f48cd5c7dc58aa95032f19d4d628acb31512d9d6
change-id: 20260116-bitbake-setup-choose-builtin-fb199054cc25