[oe-commits] Li xin : logwatch_7.4.1.bb: Bug fix

git at git.openembedded.org git at git.openembedded.org
Fri Feb 27 08:41:49 UTC 2015


Module: meta-openembedded.git
Branch: master
Commit: a79ccdacc2cbd2d1732e2b8f5cd3814d20ba376d
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a79ccdacc2cbd2d1732e2b8f5cd3814d20ba376d

Author: Li xin <lixin.fnst at cn.fujitsu.com>
Date:   Thu Feb 12 14:24:10 2015 +0800

logwatch_7.4.1.bb: Bug fix

The "ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sysconfdir}/cron.daily/0logwatch" is wrong.
it will lead to the logwatch unable to be used. so delete it.

Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb | 1 -
 1 file changed, 1 deletion(-)

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 650d6f8..001b3de 100644
--- a/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
+++ b/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
@@ -36,7 +36,6 @@ do_install() {
 
     install -m 0755 -d ${D}${sysconfdir}/cron.daily
     install -m 0755 -d ${D}${sbindir}
-    ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sysconfdir}/cron.daily/0logwatch
     ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sbindir}/logwatch
     cat > ${D}${sysconfdir}/cron.daily/0logwatch <<EOF
     DailyReport=\`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"\`



More information about the Openembedded-commits mailing list