From patchwork Mon May 16 14:02:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: wpa-supplicant-0.7.inc patch Date: Mon, 16 May 2011 14:02:22 -0000 From: Martin Bures X-Patchwork-Id: 4131 Message-Id: To: openembedded-devel@lists.openembedded.org Cc: steve@sakoman.com I have updated the patch and simplified it a bit. I do not want to switch the recipe to use defconfig instead of .config because defconfig is modified by the recipe. The change simplifies down to just changing the directory back to ${S}. Then .config can be found again. The line above the first test changes the pwd and this is the problem. As I already submitted the patch via email, I will continue for this one and use git's submission mechanism in the future. Best regards, martin. >From f3f91d271e2f8664b72ed77fc523a733094f701a Mon Sep 17 00:00:00 2001 From: Martin Bures Date: Mon, 16 May 2011 09:47:51 -0400 Subject: [PATCH] wpa-supplicant: fixed .inc recipe to correctly deploy dbus configuration files when dbus is configured. The current recipe changes the directory, changing the scope such that the recipe cannot resolve .config. When tests are made whether .config contains DBUS configurations, it always fails. This causes the placement of DBUS configuration files to always fail. Signed-off-by: Martin Bures --- recipes/wpa-supplicant/wpa-supplicant-0.7.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d 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} 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