All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: wpa-supplicant-0.7.inc patch
Date: Mon, 16 May 2011 16:30:38 +0200	[thread overview]
Message-ID: <4DD1350E.5010108@opendreambox.org> (raw)
In-Reply-To: <4DD132C2.5050303@opendreambox.org>

On 05/16/2011 04:20 PM, Andreas Oberritter wrote:
> On 05/16/2011 04:02 PM, Martin Bures wrote:
>> diff --git a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
>> b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
>> index 7649038..abf01c2 100644
>> --- a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
>> +++ b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
>> @@ -63,6 +63,7 @@ do_install () {
>>      cd ${D}${sysconfdir}/network/ && \
>>      ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant
>>
>> +    cd ${S}
> 
> Sorry for not having replied earlier, but I think the more obvious fix
> is to not use "cd" at all. How about this?
> 
> ln -s ../if-pre-up.d/wpa-supplicant
> ${D}${sysconfdir}/network/if-post-down.d/wpa-supplicant
> 
> (Using ln -f just hides possible errors in this case.)

Btw, I think your patch is for an outdated version. The problem was
solved in master by this commit:

commit aa35ba5cf7e1bf30fb2edb1408c0b599ec89290a
Author: Steve Sakoman <steve@sakoman.com>
Date:   Tue Apr 19 08:40:52 2011 -0700

    wpa-supplicant: Enable CONFIG_CTRL_IFACE_DBUS and CONFIG_CTRL_IFACE_DBUS_NEW
    
    Signed-off-by: Steve Sakoman <steve@sakoman.com>
    Signed-off-by: Koen Kooi <koen@openembedded.org>

The comment about avoiding "cd" still applies, though.

Regards,
Andreas



      reply	other threads:[~2011-05-16 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 20:53 wpa-supplicant-0.7.inc patch Martin Bures
2011-05-12 21:33 ` Paul Menzel
2011-05-12 21:54   ` Martin Bures
2011-05-12 22:13     ` Paul Menzel
2011-05-16 14:02       ` Martin Bures
2011-05-16 14:20         ` Andreas Oberritter
2011-05-16 14:30           ` Andreas Oberritter [this message]

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=4DD1350E.5010108@opendreambox.org \
    --to=obi@opendreambox.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.