diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-03-09 15:10:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 14:25:01 +0000 |
commit | bafbbd53c4591b420bc9f15aa1fe1bd4e1df88bb (patch) | |
tree | 9c9c805b7725159947dc2ccbc60ca8edbf1ed1cd /documentation/ref-manual/variables.rst | |
parent | 16831cd62b393fde5b52f52371c46af38c0e6520 (diff) | |
download | poky-bafbbd53c4591b420bc9f15aa1fe1bd4e1df88bb.tar.gz |
docs: update examples to add branch info to git URIs
Branch information is now mandatory for git:// and gitsm:// URIs
(From yocto-docs rev: b862655d812e358dd15b06c0548a276a90666423)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r-- | documentation/ref-manual/variables.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index cd9eae7af2..ee77ee27af 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -6443,7 +6443,7 @@ system and gives an overview of their function and contents. | |||
6443 | from the default value of :term:`S`, you must set it specifically so the | 6443 | from the default value of :term:`S`, you must set it specifically so the |
6444 | source can be located:: | 6444 | source can be located:: |
6445 | 6445 | ||
6446 | SRC_URI = "git://path/to/repo.git" | 6446 | SRC_URI = "git://path/to/repo.git;branch=main" |
6447 | S = "${WORKDIR}/git" | 6447 | S = "${WORKDIR}/git" |
6448 | 6448 | ||
6449 | :term:`SANITY_REQUIRED_UTILITIES` | 6449 | :term:`SANITY_REQUIRED_UTILITIES` |