summaryrefslogtreecommitdiffstats
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-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 650d6f86e..001b3dedc 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() {
36 36
37 install -m 0755 -d ${D}${sysconfdir}/cron.daily 37 install -m 0755 -d ${D}${sysconfdir}/cron.daily
38 install -m 0755 -d ${D}${sbindir} 38 install -m 0755 -d ${D}${sbindir}
39 ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sysconfdir}/cron.daily/0logwatch
40 ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sbindir}/logwatch 39 ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sbindir}/logwatch
41 cat > ${D}${sysconfdir}/cron.daily/0logwatch <<EOF 40 cat > ${D}${sysconfdir}/cron.daily/0logwatch <<EOF
42 DailyReport=\`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"\` 41 DailyReport=\`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"\`