[OE-core] [CONSOLIDATED REQUEST 18/64] matchbox-session: cleanup update-alternatives deprecated code
Saul Wold
sgw at linux.intel.com
Tue Aug 14 12:13:05 UTC 2012
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
.../matchbox-session/matchbox-session_0.1.bb | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb b/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
index 3faa16c..f4be279 100644
--- a/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
+++ b/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
@@ -11,13 +11,12 @@ RCONFLICTS_${PN} = "matchbox-common"
SRC_URI = "file://matchbox-session"
S = "${WORKDIR}"
-PR = "r2"
+PR = "r3"
inherit update-alternatives
-ALTERNATIVE_NAME = "x-session-manager"
-ALTERNATIVE_LINK = "${bindir}/x-session-manager"
-ALTERNATIVE_PATH = "${bindir}/matchbox-session"
+ALTERNATIVE_${PN} = "x-session-manager"
+ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session"
ALTERNATIVE_PRIORITY = "10"
do_install() {
--
1.7.7.6
More information about the Openembedded-core
mailing list