mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
ref-manual: Added the ownmirrors class and the SOURCE_MIRROR_URL variable.
(From yocto-docs rev: 32c1d7aeecb6face0030def431b10277974f30d5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5c63b7af05
commit
ccca482412
@@ -5664,6 +5664,33 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
<glossentry id='var-SOURCE_MIRROR_URL'><glossterm>SOURCE_MIRROR_URL</glossterm>
|
||||
<glossdef>
|
||||
<para>
|
||||
Defines your own
|
||||
<link linkend='var-PREMIRRORS'><filename>PREMIRRORS</filename></link>
|
||||
from which to first fetch source before attempting to fetch
|
||||
from the upstream specified in
|
||||
<link linkend='var-SRC_URI'><filename>SRC_URI</filename></link>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To use this variable, you must globally inherit the
|
||||
<link linkend='ref-classes-ownmirrors'><filename>ownmirrors</filename></link>
|
||||
class and then provide the URL to your mirrors.
|
||||
Here is an example:
|
||||
<literallayout class='monospaced'>
|
||||
INHERIT += "own-mirrors"
|
||||
SOURCE_MIRROR_URL = "http://example.com/my-source-mirror"
|
||||
</literallayout>
|
||||
<note>
|
||||
You can specify only a single URL in
|
||||
<filename>SOURCE_MIRROR_URL</filename>.
|
||||
</note>
|
||||
</para>
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
<glossentry id='var-SPECIAL_PKGSUFFIX'><glossterm>SPECIAL_PKGSUFFIX</glossterm>
|
||||
<glossdef>
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user