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>
This commit is contained in:
Yi Zhao 2016-01-14 16:19:09 +08:00 committed by Armin Kuster
parent 20416eb946
commit 13f7a3a66b

View File

@ -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