From f214b1be0e5d91551b18906e792de187a7a7b663 Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Fri, 30 Apr 2010 10:47:23 -0500 Subject: cron: disable extra logfile for CoreCDP, only use syslog --- recipes/cron/cron-3.0pl1/corecdp/disable_logfile.patch | 12 ++++++++++++ recipes/cron/cron_3.0pl1.bb | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 recipes/cron/cron-3.0pl1/corecdp/disable_logfile.patch 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" -- cgit v1.2.3