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 | 4 |
1 files changed, 2 insertions, 2 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 2a3340b399..6e1642c677 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | The code to execute the first part of this process, a fetch, | 38 | The code to execute the first part of this process, a fetch, |
| 39 | looks something like the following: | 39 | looks something like the following: |
| 40 | <literallayout class='monospaced'> | 40 | <literallayout class='monospaced'> |
| 41 | src_uri = (d.getVar('SRC_URI', True) or "").split() | 41 | src_uri = (d.getVar('SRC_URI') or "").split() |
| 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> |
| @@ -52,7 +52,7 @@ | |||
| 52 | <para> | 52 | <para> |
| 53 | The instantiation of the fetch class is usually followed by: | 53 | The instantiation of the fetch class is usually followed by: |
| 54 | <literallayout class='monospaced'> | 54 | <literallayout class='monospaced'> |
| 55 | rootdir = l.getVar('WORKDIR', True) | 55 | rootdir = l.getVar('WORKDIR') |
| 56 | fetcher.unpack(rootdir) | 56 | fetcher.unpack(rootdir) |
| 57 | </literallayout> | 57 | </literallayout> |
| 58 | This code unpacks the downloaded files to the | 58 | This code unpacks the downloaded files to the |
