diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-09 13:54:21 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-13 23:57:15 +0100 |
| commit | 4fc7d04a485bfec344bbed0e8612db5c4198bf58 (patch) | |
| tree | b394e4090b5ad0fef7edd6088906741bf4a3b95b | |
| parent | a3a57c4d9f7c84b6e50c20f265c95539bc5e5e30 (diff) | |
| download | poky-4fc7d04a485bfec344bbed0e8612db5c4198bf58.tar.gz | |
ref-manual/ref-variables: correct and extend RREPLACES entry
The existing definition was sparse and not quite correct.
I did some rewriting for active voice and present tense.
(From yocto-docs rev: da1eb14573e2050dc03046311d9f2621f5dcc825)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 5fd459fc34..1562316958 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -3009,8 +3009,25 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 3009 | 3009 | ||
| 3010 | <glossentry id='var-RREPLACES'><glossterm>RREPLACES</glossterm> | 3010 | <glossentry id='var-RREPLACES'><glossterm>RREPLACES</glossterm> |
| 3011 | <glossdef> | 3011 | <glossdef> |
| 3012 | <para>The list of packages replaced by the package in which | 3012 | <para> |
| 3013 | <filename>RREPLACES</filename> appears.</para> | 3013 | A list of packages replaced by a package. |
| 3014 | The package manager uses this variable to determine which | ||
| 3015 | package should be installed to replace other package(s) | ||
| 3016 | during an upgrade. | ||
| 3017 | In order to also have the other package(s) removed at the | ||
| 3018 | same time, you must add the name of the other | ||
| 3019 | package to the | ||
| 3020 | <filename><link linkend='var-RCONFLICTS'>RCONFLICTS</link></filename> variable. | ||
| 3021 | </para> | ||
| 3022 | <para> | ||
| 3023 | As with all package-controlling variables, you must use | ||
| 3024 | this variable in conjunction with a package name | ||
| 3025 | override. | ||
| 3026 | Here is an example: | ||
| 3027 | <literallayout class='monospaced'> | ||
| 3028 | RREPLACES_${PN} = "other-package-being-replaced" | ||
| 3029 | </literallayout> | ||
| 3030 | </para> | ||
| 3014 | </glossdef> | 3031 | </glossdef> |
| 3015 | </glossentry> | 3032 | </glossentry> |
| 3016 | 3033 | ||
