[oe] wpa-supplicant-0.7.inc patch

Andreas Oberritter obi at opendreambox.org
Mon May 16 14:20:50 UTC 2011


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.)

Regards,
Andreas

>      if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q
> ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
>          install -d ${D}/${sysconfdir}/dbus-1/system.d
>          install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf
> ${D}/${sysconfdir}/dbus-1/system.d





More information about the Openembedded-devel mailing list