summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-08-03 09:50:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 23:50:46 +0100
commit836b80cca2fc26ce7239c1f2cba72ad19a4eaed5 (patch)
treec5d6f9e6e399eec74f565a2a8d500122969f8828 /documentation
parentb88973f637bc72b362991653af1577b93f8d16ca (diff)
downloadpoky-836b80cca2fc26ce7239c1f2cba72ad19a4eaed5.tar.gz
ref-manual: Added note to PROVIDES variable description.
Fixes [YOCTO #10069] Added a note at the end of the variable description to explain how runtime virual dependencies work. (From yocto-docs rev: de1d16017c27b6b2502735fc41acd22660f6e7b9) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 2507d4b520..8ff0d671d1 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -10042,6 +10042,23 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
10042 <link linkend='var-PREFERRED_PROVIDER'><filename>PREFERRED_PROVIDER</filename></link> 10042 <link linkend='var-PREFERRED_PROVIDER'><filename>PREFERRED_PROVIDER</filename></link>
10043 variable is used to select which particular recipe 10043 variable is used to select which particular recipe
10044 provides a virtual target. 10044 provides a virtual target.
10045 <note>
10046 <para>A corresponding mechanism for virtual runtime
10047 dependencies (packages) exists.
10048 However, the mechanism does not depend on any special
10049 functionality beyond ordinary variable assignments.
10050 For example,
10051 <filename>VIRTUAL-RUNTIME_dev_manager</filename>
10052 refers to the package of the component that manages
10053 the <filename>/dev</filename> directory.</para>
10054
10055 <para>Setting the "preferred provider" for runtime
10056 dependencies is as simple as using the following
10057 assignment in a configuration file:</para>
10058 <literallayout class='monospaced'>
10059 VIRTUAL-RUNTIME_dev_manager = "udev"
10060 </literallayout>
10061 </note>
10045 </para> 10062 </para>
10046 </glossdef> 10063 </glossdef>
10047 </glossentry> 10064 </glossentry>