Fix two QA warnings caused by setting the wrong user and group for
files installed in the destination directory on do_install task.

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user xxxx does not exist - using root

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: group xxxx does not exist - using root

Signed-off-by: Daniel Dragomir <[email protected]>
---
 meta/recipes-devtools/gcc/libgcc-common.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc 
b/meta/recipes-devtools/gcc/libgcc-common.inc
index c81a80c..eba8ec2 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -41,6 +41,8 @@ do_install () {
        # as well as target gcc and they are identical so we dont
        # ship one with libgcc here
        rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include
+       
+       chown -R root:root ${D}
 }
 
 BBCLASSEXTEND = "nativesdk"
-- 
1.8.1.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to