aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-02-12 14:24:10 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-02-27 09:40:22 +0100
commita79ccdacc2cbd2d1732e2b8f5cd3814d20ba376d (patch)
treefba73272a3f283a6acb3d7c0193116b4409e741d /meta-oe
parentbac9922af7506f94bf4ce0ad8634c2828c9726df (diff)
downloadmeta-openembedded-contrib-a79ccdacc2cbd2d1732e2b8f5cd3814d20ba376d.tar.gz
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@cn.fujitsu.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, 0 insertions, 1 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 650d6f86e3..001b3dedc2 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*||"\`