Message ID | 20250624-git-default-destsuffix-v1-1-a0cc44734f94@bootlin.com |
---|---|
State | Not Applicable |
Headers | show |
Series | doc: bitbake-user-manual-ref-variables: document BB_GIT_DEFAULT_DESTSUFFIX | expand |
Hi Antonin, On 6/24/25 11:38 AM, Antonin Godard via lists.openembedded.org wrote: > This variable was recently added with 378db0fdd95f ("fetch2/git: allow > overriding default unpack directory with a variable"). > > Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Minor comment below. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> > --- > doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst > index 477443e228..1069604438 100644 > --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst > +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst > @@ -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
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 477443e228..1069604438 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -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>`_.
This variable was recently added with 378db0fdd95f ("fetch2/git: allow overriding default unpack directory with a variable"). Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 5 +++++ 1 file changed, 5 insertions(+) --- base-commit: f1175778108a559e1dd0d55cb68f42816c86f393 change-id: 20250624-git-default-destsuffix-104fa7006237 Best regards, -- Antonin Godard <antonin.godard@bootlin.com>