diff options
Diffstat (limited to 'bitbake/doc/user-manual/user-manual-fetching.xml')
-rw-r--r-- | bitbake/doc/user-manual/user-manual-fetching.xml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bitbake/doc/user-manual/user-manual-fetching.xml b/bitbake/doc/user-manual/user-manual-fetching.xml index cbf08d949c..c66596ed6e 100644 --- a/bitbake/doc/user-manual/user-manual-fetching.xml +++ b/bitbake/doc/user-manual/user-manual-fetching.xml | |||
@@ -42,7 +42,7 @@ | |||
42 | fetcher = bb.fetch2.Fetch(src_uri, d) | 42 | fetcher = bb.fetch2.Fetch(src_uri, d) |
43 | fetcher.download() | 43 | fetcher.download() |
44 | </literallayout> | 44 | </literallayout> |
45 | This code sets up an instance of the fetch module. | 45 | This code sets up an instance of the fetch class. |
46 | The instance uses a space-separated list of URLs from the | 46 | The instance uses a space-separated list of URLs from the |
47 | <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link> | 47 | <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link> |
48 | variable and then calls the <filename>download</filename> | 48 | variable and then calls the <filename>download</filename> |
@@ -155,14 +155,13 @@ | |||
155 | <filename>SRC_URI</filename> variable with the appropriate | 155 | <filename>SRC_URI</filename> variable with the appropriate |
156 | varflags as follows: | 156 | varflags as follows: |
157 | <literallayout class='monospaced'> | 157 | <literallayout class='monospaced'> |
158 | SRC_URI[md5sum] | 158 | SRC_URI[md5sum] = "value" |
159 | SRC_URI[sha256sum] | 159 | SRC_URI[sha256sum] = "value" |
160 | </literallayout> | 160 | </literallayout> |
161 | You can also specify the checksums as parameters on the | 161 | You can also specify the checksums as parameters on the |
162 | <filename>SRC_URI</filename> as shown below: | 162 | <filename>SRC_URI</filename> as shown below: |
163 | <literallayout class='monospaced'> | 163 | <literallayout class='monospaced'> |
164 | SRC_URI = "http://example.com/foobar.tar.bz2;md5sum=4a8e0f237e961fd7785d19d07f | 164 | SRC_URI = "http://example.com/foobar.tar.bz2;md5sum=4a8e0f237e961fd7785d19d07fdb994d" |
165 | db994d" | ||
166 | </literallayout> | 165 | </literallayout> |
167 | If multiple URIs exist, you can specify the checksums either | 166 | If multiple URIs exist, you can specify the checksums either |
168 | directly as in the previous example, or you can name the URLs. | 167 | directly as in the previous example, or you can name the URLs. |
@@ -578,7 +577,7 @@ db994d" | |||
578 | Fetch submodules also exist for the following: | 577 | Fetch submodules also exist for the following: |
579 | <itemizedlist> | 578 | <itemizedlist> |
580 | <listitem><para> | 579 | <listitem><para> |
581 | Bazzar (<filename>bzr://</filename>) | 580 | Bazaar (<filename>bzr://</filename>) |
582 | </para></listitem> | 581 | </para></listitem> |
583 | <listitem><para> | 582 | <listitem><para> |
584 | Perforce (<filename>p4://</filename>) | 583 | Perforce (<filename>p4://</filename>) |