mcelog/mcelog-fix-trigger-path-and-cacheing.patch
Prarit Bhargava a75e28c3c3 - Updated sources to deal with various warning issues [701083] [704302]
- Update URL for new location of Andi's mcelog tree
- Update n-v-r to include latest git hash
2011-11-17 18:06:12 -05:00

25 lines
865 B
Diff

diff --git a/Makefile b/Makefile
index fcfd0da..5893ce4 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ install: mcelog
install -m 644 -p mcelog.8 ${prefix}/share/man/man8
install -m 644 -p -b mcelog.conf ${etcprefix}/etc/mcelog/mcelog.conf
for i in ${TRIGGERS} ; do \
- install -m 755 -p -b triggers/$$i ${etcprefix}/etc/mcelog ; \
+ install -m 755 -p -b triggers/$$i ${etcprefix}/etc/mcelog/triggers ; \
done
ifdef DOCDIR
install -m 644 -p ${DOC} ${DOCDIR}
diff --git a/mcelog.cron b/mcelog.cron
index 4335caa..317b699 100755
--- a/mcelog.cron
+++ b/mcelog.cron
@@ -1,2 +1,5 @@
#!/bin/bash
-/usr/sbin/mcelog --ignorenodev --filter >> /var/log/mcelog
+
+# Disabled by default on Fedora since this is run as daemon
+# using the mcelog.service systemd configuration entries.
+#/usr/sbin/mcelog --ignorenodev --filter >> /var/log/mcelog