]> code.ossystems Code Review - openembedded-core.git/commit
wayland: Fix hardlink corruption issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jun 2015 22:03:28 +0000 (23:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Jun 2015 13:20:17 +0000 (14:20 +0100)
commit8f3be1925b9da20526a722149b03f697247ea1bf
treeb75c9d9c22522ac87e9bdf605c65de6e1be35fef
parentfe10ea6bd6078828016d3954ad9b290f638d6dbb
wayland: Fix hardlink corruption issue

The way this code was working, the m4 file is hardlinked to the
copies which would be packaged and could lead to the native m4
file being used in the target packages.

By removing the file first the hardlink is broken and this avoids
corruption (since cp uses open to change the file contents).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/wayland_1.6.0.bb