summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
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
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')
-rw-r--r--documentation/ref-manual/ref-classes.xml26
-rw-r--r--documentation/ref-manual/ref-variables.xml27
2 files changed, 53 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index d5445d6a8f..3be247a7dc 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -1243,6 +1243,32 @@
1243 </para> 1243 </para>
1244</section> 1244</section>
1245 1245
1246<section id='ref-classes-ownmirrors'>
1247 <title><filename>ownmirrors.bbclass</filename></title>
1248
1249 <para>
1250 The own mirrors (<filename>ownmirrors</filename>) class makes it
1251 easier to set up your own
1252 <link linkend='var-PREMIRRORS'><filename>PREMIRRORS</filename></link>
1253 from which to first fetch source before attempting to fetch it from the
1254 upstream specified in
1255 <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link>
1256 within each recipe.
1257 </para>
1258
1259 <para>
1260 To use this class, inherit it globally and specify
1261 <link linkend='var-SOURCE_MIRROR_URL'><filename>SOURCE_MIRROR_URL</filename></link>.
1262 Here is an example:
1263 <literallayout class='monospaced'>
1264 INHERIT += "own-mirrors"
1265 SOURCE_MIRROR_URL = "http://example.com/my-source-mirror"
1266 </literallayout>
1267 You can specify only a single URL in
1268 <filename>SOURCE_MIRROR_URL</filename>.
1269 </para>
1270</section>
1271
1246<section id='ref-classes-pkgconfig'> 1272<section id='ref-classes-pkgconfig'>
1247 <title>Pkg-config - <filename>pkgconfig.bbclass</filename></title> 1273 <title>Pkg-config - <filename>pkgconfig.bbclass</filename></title>
1248 1274
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>