[OE-core] [PATCH] wpa-supplicant: fix breakage during rebuild

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 2 22:36:01 UTC 2012


On Fri, 2012-03-02 at 11:58 -0800, Steve Sakoman wrote:
> 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 at sakoman.com>
> ---
>  .../wpa-supplicant/wpa-supplicant-0.7.inc          |    2 +-
>  .../wpa-supplicant/wpa-supplicant_0.7.3.bb         |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list