mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 21:43:07 +00:00
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). (From OE-Core rev: 8f3be1925b9da20526a722149b03f697247ea1bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
04e2dd9e0b
commit
ed3b4248af
@ -36,5 +36,6 @@ do_install_append_class-native() {
|
||||
}
|
||||
|
||||
sysroot_stage_all_append_class-target () {
|
||||
rm ${SYSROOT_DESTDIR}/${datadir}/aclocal/wayland-scanner.m4
|
||||
cp ${STAGING_DATADIR_NATIVE}/aclocal/wayland-scanner.m4 ${SYSROOT_DESTDIR}/${datadir}/aclocal/
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user