aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2016-01-14 16:19:09 +0800
committerArmin Kuster <akuster808@gmail.com>2016-02-06 16:56:47 -0800
commit13f7a3a66b7c350e79ea2753f71b52ecb34e7177 (patch)
tree013023b5eac3fda6c427b68aee4c9e53a68de458
parent20416eb9468a327b269283876f1b1eedd90e2c09 (diff)
downloadmeta-openembedded-contrib-13f7a3a66b7c350e79ea2753f71b52ecb34e7177.tar.gz
meta-openembedded-contrib-13f7a3a66b7c350e79ea2753f71b52ecb34e7177.tar.bz2
meta-openembedded-contrib-13f7a3a66b7c350e79ea2753f71b52ecb34e7177.zip
logwatch: fix host-user-contaminated
Fix QA warning: WARNING: QA Issue: logwatch: /logwatch/usr/share/logwatch/scripts/services/resolver is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb b/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
index 001b3dedc2..b121522f21 100644
--- a/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
+++ b/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
@@ -23,6 +23,7 @@ do_install() {
mv conf/ ${D}${datadir}/logwatch/default.conf
mv scripts/ ${D}${datadir}/logwatch/scripts
mv lib ${D}${datadir}/logwatch/lib
+ chown -R root:root ${D}${datadir}/logwatch
install -m 0755 -d ${D}${mandir}/man1
install -m 0755 -d ${D}${mandir}/man5