diff options
Diffstat (limited to 'recipes')
-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" |