From 1cf084cee506574b7bb6ed03344597b3b2f2fe08 Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Fri, 9 Feb 2018 08:42:07 -0800 Subject: 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. 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(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml b/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml index c721e86eb..29ae486a7 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml +++ b/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/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml index d89e123e0..cee6c9475 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml +++ b/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 1.2.3-korg