mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-28 22:19:17 +00:00
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>
This commit is contained in:
parent
e77e933724
commit
b84f1a4738
@ -3,6 +3,7 @@ HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/rfkill"
|
|||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
LICENSE = "BSD"
|
LICENSE = "BSD"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c6036d0eb7edbfced28c4160e5d3fa94"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c6036d0eb7edbfced28c4160e5d3fa94"
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "http://wireless.kernel.org/download/${PN}/${P}.tar.bz2 \
|
SRC_URI = "http://wireless.kernel.org/download/${PN}/${P}.tar.bz2 \
|
||||||
file://0001-rfkill-makefile-don-t-use-t-the-OE-install-wrapper-d.patch"
|
file://0001-rfkill-makefile-don-t-use-t-the-OE-install-wrapper-d.patch"
|
||||||
@ -16,3 +17,10 @@ do_compile() {
|
|||||||
do_install() {
|
do_install() {
|
||||||
oe_runmake DESTDIR=${D} install
|
oe_runmake DESTDIR=${D} install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inherit update-alternatives
|
||||||
|
|
||||||
|
ALTERNATIVE_${PN} = "rfkill"
|
||||||
|
ALTERNATIVE_PRIORITY = "60"
|
||||||
|
ALTERNATIVE_LINK_NAME[rfkill] = "${sbindir}/rfkill"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user