generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/ref-bitbake-fetchers.html

44 lines
2.5 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>