Skip to contentSkip to conversation

doc/bitbake-setup: extend doc of "path" option

PATCH In review Antonin Godard 2 participants 2 messages Nov 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc/bitbake-setup: extend doc of "path" option

The commit 6727d0852f3f ("bitbake-setup: make "path" optional") changed the behavior of this bitbake-setup JSON option. Document it.

---
 doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +3 -1
index 2b8051bcb4..edbc749ad6 100644
@@ -688,7 +688,9 @@ They contain the following sections:
    -  ``branch`` (**required**): the Git branch, used to check that the
       specified ``rev`` is indeed on that branch.
 
-   -  ``path`` is where the source is extracted.
+   -  ``path`` (*optional*): where the source is extracted, relative to the
+      ``layers/`` directory of a :term:`Setup`. If unspecified, the name of the
+      source is used.
 
 -  ``expires`` (*optional*): Expiration date of the configuration. This date
    should be in :wikipedia:`ISO 8601 <ISO_8601>` format (``YYYY-MM-DDTHH:MM:SS``).

---
base-commit: 6ee4df8ab58e0175b43106d8a6cbac1f6ab8d022
change-id: 20251127-bbsetup-path-option-ca416ef22fa8

#1 lore raw
Quoted 5 lines · Antonin Godard via lists.openembedded.org

The commit 6727d0852f3f ("bitbake-setup: make "path" optional") changed the behavior of this bitbake-setup JSON option. Document it.

Thanks Antonin!

Quoted 42 lines
---
 doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst b/doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst index 2b8051bcb4..edbc749ad6 100644

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +1 -1
@@ -688,7 +688,9 @@ They contain the following sections:
    -  ``branch`` (**required**): the Git branch, used to check that the
       specified ``rev`` is indeed on that branch.
 
-   -  ``path`` is where the source is extracted.
+   -  ``path`` (*optional*): where the source is extracted, relative to

the
+ ``layers/`` directory of a :term:Setup. If unspecified, the name
of the
+ source is used.

- ``expires`` (*optional*): Expiration date of the configuration. This
date

    should be in :wikipedia:`ISO 8601 <ISO_8601>` format

(``YYYY-MM-DDTHH:MM:SS``).

---
base-commit: 6ee4df8ab58e0175b43106d8a6cbac1f6ab8d022
change-id: 20251127-bbsetup-path-option-ca416ef22fa8

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#18497):
https://lists.openembedded.org/g/bitbake-devel/message/18497
Mute This Topic: https://lists.openembedded.org/mt/116498233/4316185
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
Yoann Congal
Smile ECS