ne10: Use cp -d ... instead of cp -a ... to install a symbolic link

Using `cp -a ...` to install the link will preserv the owner of the
original link, which will be the user who ran the do_compile task,
rather than root.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Kjellerstedt
2018-06-12 21:03:26 +02:00
committed by Khem Raj
parent a752aefa9e
commit 7ad706c61a
+1 -1
View File
@@ -38,7 +38,7 @@ do_install() {
install -m 0644 ${S}/inc/NE10*.h ${D}${includedir}/
install -m 0644 ${B}/modules/libNE10.a ${D}${libdir}/
install -m 0755 ${B}/modules/libNE10.so.* ${D}${libdir}/
cp -a ${B}/modules/libNE10.so ${D}${libdir}/
cp -d ${B}/modules/libNE10.so ${D}${libdir}/
}
# ERROR: QA Issue: ELF binary 'ne10/1.2.1-r0/packages-split/ne10/usr/lib/libNE10.so.10' has relocations in .text [textrel]