From d61df63a600a24b2736664dd0de64b95b3612808 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 9 Apr 2013 13:54:21 +0100 Subject: 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 Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'documentation/ref-manual') 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" RREPLACES - The list of packages replaced by the package in which - RREPLACES appears. + + A list of packages replaced by a package. + The package manager uses this variable to determine which + package should be installed to replace other package(s) + during an upgrade. + In order to also have the other package(s) removed at the + same time, you must add the name of the other + package to the + RCONFLICTS variable. + + + As with all package-controlling variables, you must use + this variable in conjunction with a package name + override. + Here is an example: + + RREPLACES_${PN} = "other-package-being-replaced" + + -- cgit v1.2.3-54-g00ecf