]> code.ossystems Code Review - openembedded-core.git/commit
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:03 +0000 (22:35 +0000)
commit857840472705af1c0fbb8db917b4bb6809b929a6
tree43f53da34cf5e03d223ebec0c26128ef6d71131f
parentb24d4bcde21b013e48eaffea5f3a70d8b1df1047
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.

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