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:18:46 +0000
commitccca482412dcba9a408188f5d0127801ac167e61 (patch)
tree4ca185e316d518c08d9248b80564e9b74aa77648 /documentation/ref-manual/ref-variables.xml
parent5c63b7af0540a65b73e288db40503c5d2bad14ec (diff)
downloadpoky-ccca482412dcba9a408188f5d0127801ac167e61.tar.gz
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>
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>