summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-06-19 08:36:19 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-06-20 13:33:24 +0200
commitb84f1a473856e8560761e1e3f045f805a7fe9362 (patch)
tree63d6b232a6b58ca9905d58e46da4da16362cfc56
parente77e933724552b5a31fd7451929cd7115500312d (diff)
downloadmeta-openembedded-b84f1a473856e8560761e1e3f045f805a7fe9362.tar.gz
rfkill: use update-alternatives
* Since oe-core added rfkill to busybox, this recipe needs to use u-a also. * MJ: added ALERNATIVE_LINK_NAME[rfkill] * MJ: increased ALTERNATIVE_PRIORITY (busybox also have 50) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb b/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb
index 561fdc7a9..430cf65bf 100644
--- a/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb
+++ b/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb
@@ -3,6 +3,7 @@ HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/rfkill"
3SECTION = "base" 3SECTION = "base"
4LICENSE = "BSD" 4LICENSE = "BSD"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c6036d0eb7edbfced28c4160e5d3fa94" 5LIC_FILES_CHKSUM = "file://COPYING;md5=c6036d0eb7edbfced28c4160e5d3fa94"
6PR = "r1"
6 7
7SRC_URI = "http://wireless.kernel.org/download/${PN}/${P}.tar.bz2 \ 8SRC_URI = "http://wireless.kernel.org/download/${PN}/${P}.tar.bz2 \
8 file://0001-rfkill-makefile-don-t-use-t-the-OE-install-wrapper-d.patch" 9 file://0001-rfkill-makefile-don-t-use-t-the-OE-install-wrapper-d.patch"
@@ -16,3 +17,10 @@ do_compile() {
16do_install() { 17do_install() {
17 oe_runmake DESTDIR=${D} install 18 oe_runmake DESTDIR=${D} install
18} 19}
20
21inherit update-alternatives
22
23ALTERNATIVE_${PN} = "rfkill"
24ALTERNATIVE_PRIORITY = "60"
25ALTERNATIVE_LINK_NAME[rfkill] = "${sbindir}/rfkill"
26