[oe-commits] Javier Viguera : crda: fix udev rule

git at git.openembedded.org git at git.openembedded.org
Sat Mar 15 14:32:29 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 5c9849cd39422ba28f217ba954cdde859a3fe75b
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5c9849cd39422ba28f217ba954cdde859a3fe75b

Author: Javier Viguera <javier.viguera at digi.com>
Date:   Wed Mar 12 16:27:00 2014 +0100

crda: fix udev rule

The SBINDIR variable in makefile's install rule needs to have a trailing
slash so the path to the 'crda' binary in the udev rule is correct.

Otherwise the udev rule has a wrong path:

KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="/usr/sbincrda"

and at runtime udev complains:

failed to execute '/usr/sbincrda'

when a regulatory domain event is triggered.

Signed-off-by: Javier Viguera <javier.viguera at digi.com>
Acked-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Joe MacDonald <joe at deserted.net>

---

 meta-networking/recipes-connectivity/crda/crda_1.1.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-connectivity/crda/crda_1.1.3.bb b/meta-networking/recipes-connectivity/crda/crda_1.1.3.bb
index bee3e82..0bb8998 100644
--- a/meta-networking/recipes-connectivity/crda/crda_1.1.3.bb
+++ b/meta-networking/recipes-connectivity/crda/crda_1.1.3.bb
@@ -24,7 +24,7 @@ do_compile() {
 }
 
 do_install() {
-    oe_runmake SBINDIR=${sbindir} install
+    oe_runmake SBINDIR=${sbindir}/ install
 
     install -d ${D}${libdir}/crda/
 



More information about the Openembedded-commits mailing list