Skip to contentSkip to conversation

doc: bitbake-user-manual-ref-variables: document BB_GIT_DEFAULT_DESTSUFFIX

PATCH In review Antonin Godard 2 participants 2 messages Jun 24, 2025 – Jun 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: bitbake-user-manual-ref-variables: document BB_GIT_DEFAULT_DESTSUFFIX

This variable was recently added with 378db0fdd95f ("fetch2/git: allow overriding default unpack directory with a variable").

---
 doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 5 +++++
 1 file changed, 5 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +5 -0
index 477443e228..1069604438 100644
@@ -310,6 +310,11 @@ overview of their function and contents.
 
       For example usage, see :term:`BB_GIT_SHALLOW`.
 
+   :term:`BB_GIT_DEFAULT_DESTSUFFIX`
+      The default destination directory where the Git fetcher unpacks the
+      source code. If this variable is not set, the source code is unpacked in a
+      directory named "git".
+
    :term:`BB_GIT_SHALLOW`
       Setting this variable to "1" enables the support for fetching, using and
       generating mirror tarballs of `shallow git repositories <https://riptutorial.com/git/example/4584/shallow-clone>`_.

---
base-commit: f1175778108a559e1dd0d55cb68f42816c86f393
change-id: 20250624-git-default-destsuffix-104fa7006237

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw

Hi Antonin,

Quoted 4 lines · Antonin Godard via lists.openembedded.org

This variable was recently added with 378db0fdd95f ("fetch2/git: allow overriding default unpack directory with a variable").

Minor comment below.

Quoted 9 lines
---
  doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 5 +++++
  1 file changed, 5 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0 -0
index 477443e228..1069604438 100644

doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst overview of their function and contents. · line 314

Quoted 5 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +2 -0
@@ -310,6 +310,11 @@ overview of their function and contents.
 
        For example usage, see :term:`BB_GIT_SHALLOW`.
 
+   :term:`BB_GIT_DEFAULT_DESTSUFFIX`
+      The default destination directory where the Git fetcher unpacks the

We could put a reference there since we have the git fetcher documented in BB docs. See https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-fetching.html#git-fetcher-git.

Cheers,
Quentin