From patchwork Wed Aug 1 14:12:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [14/19] matchbox-session: use new update-alternatives Date: Wed, 01 Aug 2012 14:12:15 -0000 From: Morgan Little X-Patchwork-Id: 33569 Message-Id: <1343830340-25351-15-git-send-email-morgan.little@windriver.com> To: Signed-off-by: Morgan Little --- .../matchbox-session/matchbox-session_0.1.bb | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) do_install() { 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..3ac8735 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,13 @@ 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_LINK_NAME[x-session-manager] = "${bindir}/x-session-manager" +ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session" ALTERNATIVE_PRIORITY = "10"