summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-03-25 15:35:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-26 09:27:43 +0000
commit336b89ecd886b0450fc05e88941772c807b2eb83 (patch)
tree8d7dfa699402e4b8cc0c279e78e6e7c755acdea2
parent5cbdd2b4831fe069e5b441f0c6f427b2b9dc086b (diff)
downloadpoky-336b89ecd886b0450fc05e88941772c807b2eb83.tar.gz
bitbake: doc: bitbake-user-manual: add branch parameter to git SRC_URI examples
This parameter is now required by the git fetcher module (Bitbake rev: d61b349581c219e7f9d50f683177184fa473cb83) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst8
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst4
2 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
index 9ff4e16194..07885392d3 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
@@ -405,7 +405,7 @@ This fetcher supports the following parameters:
405 ``git@gitlab.freedesktop.org:mesa/mesa.git``, however the expected URL in 405 ``git@gitlab.freedesktop.org:mesa/mesa.git``, however the expected URL in
406 :term:`SRC_URI` is the following:: 406 :term:`SRC_URI` is the following::
407 407
408 SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;protocol=ssh;..." 408 SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
409 409
410 Note the ``:`` character changed for a ``/`` before the path to the project. 410 Note the ``:`` character changed for a ``/`` before the path to the project.
411 411
@@ -457,9 +457,9 @@ This fetcher supports the following parameters:
457 457
458Here are some example URLs:: 458Here are some example URLs::
459 459
460 SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1" 460 SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}"
461 SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http" 461 SRC_URI = "git://github.com/asciidoc/asciidoc-py;protocol=https;branch=main"
462 SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;protocol=ssh;..." 462 SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
463 463
464.. note:: 464.. note::
465 465
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index 25af563dbf..96cfdc82da 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -1413,8 +1413,8 @@ overview of their function and contents.
1413 :term:`SRC_URI` checksums or :term:`SRCREV` when you have more than one 1413 :term:`SRC_URI` checksums or :term:`SRCREV` when you have more than one
1414 file or git repository specified in :term:`SRC_URI`. For example:: 1414 file or git repository specified in :term:`SRC_URI`. For example::
1415 1415
1416 SRC_URI = "git://example.com/foo.git;name=first \ 1416 SRC_URI = "git://example.com/foo.git;branch=main;name=first \
1417 git://example.com/bar.git;name=second \ 1417 git://example.com/bar.git;branch=main;name=second \
1418 http://example.com/file.tar.gz;name=third" 1418 http://example.com/file.tar.gz;name=third"
1419 1419
1420 SRCREV_first = "f1d2d2f924e986ac86fdf7b36c94bcdf32beec15" 1420 SRCREV_first = "f1d2d2f924e986ac86fdf7b36c94bcdf32beec15"