From e1fcfaf38cd250cd8383fa66d75b0543a0543311 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Thu, 4 Aug 2005 16:48:57 +0000 Subject: Add /etc/syslog.conf to the CONFFILES for busybox (CONFFILES are previously empty) and update syslog.conf to comment out the 'ROTATE' lines - these cause busybox syslog to error out with BUFFER=file. --- packages/busybox/busybox_1.00.bb | 3 ++- packages/busybox/files/syslog.conf | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'packages/busybox') diff --git a/packages/busybox/busybox_1.00.bb b/packages/busybox/busybox_1.00.bb index f6d03fe69f..988265d72c 100644 --- a/packages/busybox/busybox_1.00.bb +++ b/packages/busybox/busybox_1.00.bb @@ -10,7 +10,7 @@ HOMEPAGE = "http://www.busybox.net" LICENSE = "GPL" SECTION = "base" PRIORITY = "required" -PR = "r29" +PR = "r30" SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ file://add-getkey-applet.patch;patch=1 \ @@ -54,6 +54,7 @@ INITSCRIPT_PACKAGES = "${PN} ${PN}-httpd ${PN}-udhcpd" INITSCRIPT_NAME_${PN}-httpd = "busybox-httpd" INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd" INITSCRIPT_NAME_${PN} = "syslog" +CONFFILES_${PN} = "${sysconfdir}/syslog.conf" # This disables the syslog startup links in openslug (see openslug-init) INITSCRIPT_PARAMS_${PN}_openslug = "start 20 ." diff --git a/packages/busybox/files/syslog.conf b/packages/busybox/files/syslog.conf index e2a2d58412..d4a0e02f5b 100644 --- a/packages/busybox/files/syslog.conf +++ b/packages/busybox/files/syslog.conf @@ -3,7 +3,7 @@ MARKINT=20 # intervall between --mark-- entries LOGFILE=/var/log/messages # where to log (file) REMOTE=loghost:514 # where to log (syslog remote) REDUCE=no # reduce-size logging -ROTATESIZE=0 # rotate log if grown beyond X [kByte] -ROTATEGENS=3 # keep X generations of rotated logs +#ROTATESIZE=0 # rotate log if grown beyond X [kByte] (incompatible with busybox) +#ROTATEGENS=3 # keep X generations of rotated logs (incompatible with busybox) BUFFERSIZE=64 # size of circular buffer [kByte] FOREGROUND=no # run in foreground (don't use!) -- cgit v1.2.3