Using 'cp -a' to install files in do_install function leaks user/group
attributes from build machine to target packages.
WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user xxxxx does not exist - using root
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
install -d ${D}${includedir}
cp ${S}/usr/lib/*.so ${D}${libdir}
- cp -axr ${S}/usr/include/* ${D}${includedir}
- cp -axr ${S}/opt ${D}
+ cp -Pr ${S}/usr/include/* ${D}${includedir}
+ cp -Pr ${S}/opt ${D}
find ${D}${libdir} -type f -exec chmod 644 {} \;
find ${D}${includedir} -type f -exec chmod 644 {} \;