diff options
author | Jesse Gilles <jgilles@multitech.com> | 2010-04-30 10:47:23 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2010-04-30 10:47:23 -0500 |
commit | f214b1be0e5d91551b18906e792de187a7a7b663 (patch) | |
tree | 03f3021192bc1f59a9f2e5abef49a917af8e6b29 /recipes/cron | |
parent | 9802e241e737255d99471e16843b699bfc3a78ff (diff) |
cron: disable extra logfile for CoreCDP, only use syslog
Diffstat (limited to 'recipes/cron')
-rw-r--r-- | recipes/cron/cron-3.0pl1/corecdp/disable_logfile.patch | 12 | ||||
-rw-r--r-- | recipes/cron/cron_3.0pl1.bb | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/recipes/cron/cron-3.0pl1/corecdp/disable_logfile.patch b/recipes/cron/cron-3.0pl1/corecdp/disable_logfile.patch new file mode 100644 index 0000000000..1cd50f2c56 --- /dev/null +++ b/recipes/cron/cron-3.0pl1/corecdp/disable_logfile.patch @@ -0,0 +1,12 @@ +--- cron.orig/pathnames.h 2010-04-16 14:49:22.129854821 -0500 ++++ cron/pathnames.h 2010-04-16 14:51:02.870389134 -0500 +@@ -49,7 +49,8 @@ + */ + #define ALLOW_FILE "allow" /*-*/ + #define DENY_FILE "deny" /*-*/ +-#define LOG_FILE "log" /*-*/ ++/* Disable logging to a separate file in CRONDIR */ ++/*#define LOG_FILE "log"*/ /*-*/ + + /* where should the daemon stick its PID? + */ diff --git a/recipes/cron/cron_3.0pl1.bb b/recipes/cron/cron_3.0pl1.bb index ff1d380406..93b67c140a 100644 --- a/recipes/cron/cron_3.0pl1.bb +++ b/recipes/cron/cron_3.0pl1.bb @@ -7,6 +7,10 @@ SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \ file://nonrootinstall.patch;patch=1 \ file://time.patch;patch=1 \ file://init" + +SRC_URI_append_corecdp = "\ + file://disable_logfile.patch;patch=1" + S = "${WORKDIR}/cron${PV}" INITSCRIPT_NAME = "cron" |