All of lore.kernel.org
 help / color / mirror / Atom feed
* wpa-supplicant-0.7.inc patch
@ 2011-05-12 20:53 Martin Bures
  2011-05-12 21:33 ` Paul Menzel
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Bures @ 2011-05-12 20:53 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

The wpa-supplicant recipe does not place dbus configuration files even
though dbus is enabled in the .config.

The following patch fixes this for me.

Best Regards,
martin.

[-- Attachment #2: wpa-supplicant-dbus-placement-fix.patch --]
[-- Type: text/x-patch, Size: 1871 bytes --]

From b8d6a52070f678371aef194fc0df37c6911e1952 Mon Sep 17 00:00:00 2001
From: Martin Bures <mbures@zoll.com>
Date: Thu, 12 May 2011 16:35:29 -0400
Subject: [PATCH] Fixed issue where dbus configuration is not detected.  This prevented
 wpa-supplicant dbus support from being included.

---
 recipes/wpa-supplicant/wpa-supplicant-0.7.inc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
index 722f5fa..6e2f754 100644
--- a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
+++ b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
@@ -50,15 +50,15 @@ do_install () {
 	install -m 600 ${WORKDIR}/defaults-sane ${D}${sysconfdir}/default/wpa
 	install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane ${D}${sysconfdir}/wpa_supplicant.conf
 
-	if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
+	if grep -q ^CONFIG_CTRL_IFACE_DBUS=y ${S}/.config || grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y ${S}/.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
 		install -d ${D}/${datadir}/dbus-1/system-services
-		if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then
+		if grep -q ^CONFIG_CTRL_IFACE_DBUS=y ${S}/.config; then
 			sed -i -e s:/sbin:${sbindir}:g ${S}/dbus/fi.epitest.hostap.WPASupplicant.service
 			install -m 644 ${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus-1/system-services
 		fi
-		if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
+		if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y ${S}/.config; then
 			sed -i -e s:/sbin:${sbindir}:g ${S}/dbus/fi.w1.wpa_supplicant1.service
 			install -m 644 ${S}/dbus/fi.w1.wpa_supplicant1.service ${D}/${datadir}/dbus-1/system-services
 		fi
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-16 14:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.