aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2016-01-14 16:19:09 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-01-27 12:36:32 +0100
commite27a8ed92b53c6ae8504b0d573c7352d6a07bbf8 (patch)
tree948f08317c348cce8ba686930e3eab7bbd4f3d8c /meta-oe
parente1e5e884add74f287f27ecae07bd734f6516d4b7 (diff)
downloadmeta-openembedded-contrib-e27a8ed92b53c6ae8504b0d573c7352d6a07bbf8.tar.gz
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>
Diffstat (limited to 'meta-oe')
-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