From f16d8be9ab97f1d819da45716efa05dfc50088e9 Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Fri, 9 Feb 2018 08:42:07 -0800 Subject: bitbake: bitbake-user-manual: Added google-repo fetcher and REPODIR var. Added a new repo Fetcher section in the same spirit as the existing sections for other supported fetchers. Changes included the new section, removal of the bulleted item that mentioned this fetcher as an "additional" fetcher, and the creation of a new variable in the glossary named REPODIR. (Bitbake rev: 1cf084cee506574b7bb6ed03344597b3b2f2fe08) Signed-off-by: Nicolas Cornu Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../bitbake-user-manual-fetching.xml | 40 ++++++++++++++++++++-- .../bitbake-user-manual-ref-variables.xml | 10 ++++++ 2 files changed, 47 insertions(+), 3 deletions(-) (limited to 'bitbake/doc') diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml index c721e86eb9..29ae486a7c 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml @@ -777,6 +777,43 @@ +
+ Repo Fetcher (<filename>repo://</filename>) + + + This fetcher submodule fetches code from + google-repo source control system. + The fetcher works by initiating and syncing sources of the + repository into + REPODIR, + which is usually + DL_DIR/repo. + + + + This fetcher supports the following parameters: + + + "protocol": + Protocol to fetch the repository manifest (default: git). + + + "branch": + Branch or tag of repository to get (default: master). + + + "manifest": + Name of the manifest file (default: default.xml). + + + Here are some example URLs: + + SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml" + SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml" + + +
+
Other Fetchers @@ -795,9 +832,6 @@ Secure Shell (ssh://) - - Repo (repo://) - OSC (osc://) diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml index d89e123e06..cee6c94753 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml @@ -2089,6 +2089,16 @@ + REPODIR + + + The directory in which a local copy of a + google-repo directory is stored + when it is synced. + + + + RPROVIDES -- cgit v1.2.3-54-g00ecf