[OE-core] [PATCH] libgcc-common: Fix file ownership for installed files
Daniel Dragomir
daniel.dragomir at windriver.com
Mon Jan 19 14:27:33 UTC 2015
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 <daniel.dragomir at windriver.com>
---
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
More information about the Openembedded-core
mailing list