Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] crda: fix udev rule
Date: Thu, 13 Mar 2014 09:35:15 +0100	[thread overview]
Message-ID: <lfrqi9$7ka$1@ger.gmane.org> (raw)
In-Reply-To: <1394638020-27867-1-git-send-email-javier.viguera@digi.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Javier Viguera schreef op 12-03-14 16:27:
> 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.

That explains a lot :)

Acked-by: Koen Kooi <koen@dominion.thruhere.net>

> 
> Signed-off-by: Javier Viguera <javier.viguera@digi.com> --- 
> 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
> bee3e826d9a8..0bb899860bc4 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/
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFTIW3DMkyGM64RGpERAocGAKCiI+ynx1m6Il+BsO6/MzbF9OkHigCfbzN6
HaDitNRN4Xl7pLk1AAlBG5E=
=G2ib
-----END PGP SIGNATURE-----



  reply	other threads:[~2014-03-13  8:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 15:27 [meta-networking][PATCH] crda: fix udev rule Javier Viguera
2014-03-13  8:35 ` Koen Kooi [this message]
2014-03-14 14:29 ` [meta-networking] " Joe MacDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lfrqi9$7ka$1@ger.gmane.org' \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox