Skip to content

Document how to provide configuration from layer.conf

Antonin Godard yocto-docs 4 versions – In review

Get series with b4
b4 am [email protected] change-id 20241030-layer-confs-54c26ece97d3

Versions newest first

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches5 repliesSuperseded

Changes in v4 from the cover letter

- Fix include -> require mentions after being replaced in v2.
- Suggestions by Quentin:
- until -> unless
- it -> one
- Link to v3: https://lore.kernel.org/r/[email protected]

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2conf.py: add a bitbake_git extlinkdocumentation/conf.py+1 -00 replies
2/2dev-manual: document how to provide confs from layer.confdocumentation/dev-manual/layers.rst+90 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQuentin Schulz
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [yocto-docs PATCH v4 0/2] Document how to provide configuration from layer.conf

This series documents how to provide configurations from layer.conf, be it unconditionally or conditionally. I wanted to reference a file in bitbake, so I added the :bitbake_git: new term for that.

This is a attempt at closing
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12688.

---
Changes in v4:
- Fix include -> require mentions after being replaced in v2.
- Suggestions by Quentin:
- until -> unless
- it -> one
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Replace attention block by warning block.
- Create an anchor for the conditional confs section, I was getting a sphinx error.
- Rephrase the PREFERRED_PROVIDER sentence.
- More precision on PREFERRED_PROVIDER assignments, with other conf
files..
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Create an .. attention:: block to tell users _not_ to set
unconditional confs from layer.conf.
- Fix typos reported by Quentin (thanks!)
- Add "Reviewed-by: Quentin Schulz <[email protected]>" on first commit (thanks!).
- Simplify "your layer is part of BBLAYERS" 🡒 "your layer is part of the build".
- Fix code blocks spacing (three spaces).
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Antonin Godard (2):
conf.py: add a bitbake_git extlink
dev-manual: document how to provide confs from layer.conf

 documentation/conf.py               |  1 +
 documentation/dev-manual/layers.rst | 90 +++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

---
base-commit: 13caec1386708d8609dff5f42956d2329a074f37
change-id: 20241030-layer-confs-54c26ece97d3

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>