diff options
-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 | ||