wpa-supplicant: fix breakage during rebuild
authorSteve Sakoman <steve@sakoman.com>
Fri, 2 Mar 2012 19:58:43 +0000 (11:58 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Mar 2012 22:35:08 +0000 (22:35 +0000)
commit5a0d74dd4014212a0f2e0afa62313a6b0f0ac953
tree29ad874c0954209ff69eab289ea17638a5688705
parent3e6bbbf18df0d4423be34a8da640c9db48a2de06
wpa-supplicant: fix breakage during rebuild

Install phase currently edits files in $S with sed. This causes breakage
if install is run a second time (due to sstate hash rebuild for example)

The result is hidden build breakage, in particular
/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service now contains:

Exec=/usr/usr/sbin/wpa_supplicant -u

rather than:

Exec=/usr/sbin/wpa_supplicant -u

This patch does the sed edit after the files are copied to $D, which should be safe.

(From OE-Core rev: 857840472705af1c0fbb8db917b4bb6809b929a6)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb