44 lines
2.5 KiB
HTML
44 lines
2.5 KiB
HTML
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
<title>6.7. Fetchers</title>
|
||
<link rel="stylesheet" type="text/css" href="../book.css">
|
||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
||
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
|
||
<link rel="up" href="ref-bitbake.html" title="Chapter 6. BitBake">
|
||
<link rel="prev" href="ref-bitbake-commandline.html" title="6.6. BitBake Command Line">
|
||
<link rel="next" href="ref-classes.html" title="Chapter 7. Classes">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="6.7. Fetchers">
|
||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||
<a name="ref-bitbake-fetchers"></a>6.7. Fetchers</h2></div></div></div>
|
||
<p>
|
||
BitBake also contains a set of "fetcher" modules that allow
|
||
retrieval of source code from various types of sources.
|
||
For example, BitBake can get source code from a disk with the metadata, from websites,
|
||
from remote shell accounts or from Source Code Management (SCM) systems
|
||
like <code class="filename">cvs/subversion/git</code>.
|
||
</p>
|
||
<p>
|
||
Fetchers are usually triggered by entries in
|
||
<code class="filename"><a class="link" href="ref-variables-glos.html#var-SRC_URI" title="SRC_URI">SRC_URI</a></code>.
|
||
You can find information about the options and formats of entries for specific
|
||
fetchers in the BitBake manual located in the
|
||
<code class="filename">bitbake/doc/manual</code> directory of the
|
||
<a class="link" href="../dev-manual/source-directory.html" target="_self">Source Directory</a>.
|
||
</p>
|
||
<p>
|
||
One useful feature for certain Source Code Manager (SCM) fetchers is the ability to
|
||
"auto-update" when the upstream SCM changes version.
|
||
Since this ability requires certain functionality from the SCM, not all
|
||
systems support it.
|
||
Currently Subversion, Bazaar and to a limited extent, Git support the ability to "auto-update".
|
||
This feature works using the <code class="filename"><a class="link" href="ref-variables-glos.html#var-SRCREV" title="SRCREV">SRCREV</a></code>
|
||
variable.
|
||
See the
|
||
"<a class="link" href="../dev-manual/platdev-appdev-srcrev.html" target="_self">Using an External SCM</a>" section
|
||
in the Yocto Project Development Manual for more information.
|
||
</p>
|
||
</div></body>
|
||
</html>
|