diff options
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml | 40 |
1 files changed, 37 insertions, 3 deletions
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 @@ | |||
777 | </para> | 777 | </para> |
778 | </section> | 778 | </section> |
779 | 779 | ||
780 | <section id='repo-fetcher'> | ||
781 | <title>Repo Fetcher (<filename>repo://</filename>)</title> | ||
782 | |||
783 | <para> | ||
784 | This fetcher submodule fetches code from | ||
785 | <filename>google-repo</filename> source control system. | ||
786 | The fetcher works by initiating and syncing sources of the | ||
787 | repository into | ||
788 | <link linkend='var-REPODIR'><filename>REPODIR</filename></link>, | ||
789 | which is usually | ||
790 | <link linkend='var-DL_DIR'><filename>DL_DIR</filename></link><filename>/repo</filename>. | ||
791 | </para> | ||
792 | |||
793 | <para> | ||
794 | This fetcher supports the following parameters: | ||
795 | <itemizedlist> | ||
796 | <listitem><para> | ||
797 | <emphasis>"protocol":</emphasis> | ||
798 | Protocol to fetch the repository manifest (default: git). | ||
799 | </para></listitem> | ||
800 | <listitem><para> | ||
801 | <emphasis>"branch":</emphasis> | ||
802 | Branch or tag of repository to get (default: master). | ||
803 | </para></listitem> | ||
804 | <listitem><para> | ||
805 | <emphasis>"manifest":</emphasis> | ||
806 | Name of the manifest file (default: <filename>default.xml</filename>). | ||
807 | </para></listitem> | ||
808 | </itemizedlist> | ||
809 | Here are some example URLs: | ||
810 | <literallayout class='monospaced'> | ||
811 | SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml" | ||
812 | SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml" | ||
813 | </literallayout> | ||
814 | </para> | ||
815 | </section> | ||
816 | |||
780 | <section id='other-fetchers'> | 817 | <section id='other-fetchers'> |
781 | <title>Other Fetchers</title> | 818 | <title>Other Fetchers</title> |
782 | 819 | ||
@@ -796,9 +833,6 @@ | |||
796 | Secure Shell (<filename>ssh://</filename>) | 833 | Secure Shell (<filename>ssh://</filename>) |
797 | </para></listitem> | 834 | </para></listitem> |
798 | <listitem><para> | 835 | <listitem><para> |
799 | Repo (<filename>repo://</filename>) | ||
800 | </para></listitem> | ||
801 | <listitem><para> | ||
802 | OSC (<filename>osc://</filename>) | 836 | OSC (<filename>osc://</filename>) |
803 | </para></listitem> | 837 | </para></listitem> |
804 | <listitem><para> | 838 | <listitem><para> |