diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 15:55:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:16:38 +0100 |
commit | 6e344e2564456a366682a423d4f061f5d93b2137 (patch) | |
tree | d62ab2d3585a39065ea6a69e71ed54688c69f9b4 | |
parent | 11c169a9b289b0412e512c37d380a99fd1630df5 (diff) | |
download | openembedded-core-6e344e2564456a366682a423d4f061f5d93b2137.tar.gz openembedded-core-6e344e2564456a366682a423d4f061f5d93b2137.tar.bz2 openembedded-core-6e344e2564456a366682a423d4f061f5d93b2137.zip |
mini-x-session: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb b/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb index bc9368af10..6f7efb2560 100644 --- a/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb +++ b/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Mini X session files for poky" HOMEPAGE = "http://www.yoctoproject.org" BUGTRACKER = "http://bugzilla.pokylinux.org" -PR = "r2" +PR = "r3" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://mini-x-session;endline=5;md5=b6430bffbcf05f9760e72938826b7487" @@ -15,9 +15,8 @@ S = "${WORKDIR}" inherit update-alternatives -ALTERNATIVE_NAME = "x-session-manager" -ALTERNATIVE_LINK = "${bindir}/x-session-manager" -ALTERNATIVE_PATH = "${bindir}/mini-x-session" +ALTERNATIVE_${PN} = "x-session-manager" +ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/mini-x-session" ALTERNATIVE_PRIORITY = "50" do_install() { |