summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-12-03 10:03:46 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-11 14:17:44 +0000
commit267c0a39cc379321c9b00daf045450011b0508c1 (patch)
tree6881165f944fbfa31854a1b7ac2da1773c78e5ba /documentation/ref-manual/ref-variables.xml
parent9a38035b4effdfa7313a36de50b0259b0df11b9f (diff)
downloadpoky-267c0a39cc379321c9b00daf045450011b0508c1.tar.gz
ref-manual: Added the ownmirrors class and the SOURCE_MIRROR_URL variable.
(From yocto-docs rev: 8979676949e1c32ff71835b8d506e176a7b5c941) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r--documentation/ref-manual/ref-variables.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index a33595cd6f..5e3edcd937 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -5664,6 +5664,33 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
5664 </glossdef> 5664 </glossdef>
5665 </glossentry> 5665 </glossentry>
5666 5666
5667 <glossentry id='var-SOURCE_MIRROR_URL'><glossterm>SOURCE_MIRROR_URL</glossterm>
5668 <glossdef>
5669 <para>
5670 Defines your own
5671 <link linkend='var-PREMIRRORS'><filename>PREMIRRORS</filename></link>
5672 from which to first fetch source before attempting to fetch
5673 from the upstream specified in
5674 <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link>.
5675 </para>
5676
5677 <para>
5678 To use this variable, you must globally inherit the
5679 <link linkend='ref-classes-ownmirrors'><filename>ownmirrors</filename></link>
5680 class and then provide the URL to your mirrors.
5681 Here is an example:
5682 <literallayout class='monospaced'>
5683 INHERIT += "own-mirrors"
5684 SOURCE_MIRROR_URL = "http://example.com/my-source-mirror"
5685 </literallayout>
5686 <note>
5687 You can specify only a single URL in
5688 <filename>SOURCE_MIRROR_URL</filename>.
5689 </note>
5690 </para>
5691 </glossdef>
5692 </glossentry>
5693
5667 <glossentry id='var-SPECIAL_PKGSUFFIX'><glossterm>SPECIAL_PKGSUFFIX</glossterm> 5694 <glossentry id='var-SPECIAL_PKGSUFFIX'><glossterm>SPECIAL_PKGSUFFIX</glossterm>
5668 <glossdef> 5695 <glossdef>
5669 <para> 5696 <para>