diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2016-10-19 08:43:03 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-16 10:38:35 +0000 |
| commit | 047790941efeac01bf8c5ecec6625a48c4cbbfb3 (patch) | |
| tree | ba9c00b67972d105eabdb86ce5c15e8715f48eef /documentation/ref-manual | |
| parent | 0a2251780110305a0f986db3955af7db543a30c9 (diff) | |
| download | poky-047790941efeac01bf8c5ecec6625a48c4cbbfb3.tar.gz | |
ref-manual: Updated the RDEPENDS variable description.
Fixes [YOCTO #10445]
Pointed out that the EXTENDPKGV variable is hard to locate in the
BB manual. Firstly, we don't document that variable in the
BB manual.... maybe we should. For the ref-manual, however, it is
barely referenced in a side example from the dev-manual. So, I
updated the RDEPENDS variable to have a "Tip" box in the area where
it is shown how to use the package version as part of the RDEPENDs
variable.
(From yocto-docs rev: f42525ba8a4d20722d15c9fa250c494a90ff478b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index ce331d85b9..f0384a8443 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -10657,7 +10657,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 10657 | <literallayout class='monospaced'> | 10657 | <literallayout class='monospaced'> |
| 10658 | RDEPENDS_${PN} = "<replaceable>package</replaceable> (<replaceable>operator</replaceable> <replaceable>version</replaceable>)" | 10658 | RDEPENDS_${PN} = "<replaceable>package</replaceable> (<replaceable>operator</replaceable> <replaceable>version</replaceable>)" |
| 10659 | </literallayout> | 10659 | </literallayout> |
| 10660 | For <filename>operator</filename>, you can specify the | 10660 | For <replaceable>operator</replaceable>, you can specify the |
| 10661 | following: | 10661 | following: |
| 10662 | <literallayout class='monospaced'> | 10662 | <literallayout class='monospaced'> |
| 10663 | = | 10663 | = |
| @@ -10666,6 +10666,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 10666 | <= | 10666 | <= |
| 10667 | >= | 10667 | >= |
| 10668 | </literallayout> | 10668 | </literallayout> |
| 10669 | For <replaceable>version</replaceable>, provide the version | ||
| 10670 | number. | ||
| 10671 | <note><title>Tip</title> | ||
| 10672 | You can use | ||
| 10673 | <link linkend='var-EXTENDPKGV'><filename>EXTENDPKGV</filename></link> | ||
| 10674 | to provide a full package version specification. | ||
| 10675 | </note> | ||
| 10669 | For example, the following sets up a dependency on version | 10676 | For example, the following sets up a dependency on version |
| 10670 | 1.2 or greater of the package <filename>foo</filename>: | 10677 | 1.2 or greater of the package <filename>foo</filename>: |
| 10671 | <literallayout class='monospaced'> | 10678 | <literallayout class='monospaced'> |
