summaryrefslogtreecommitdiff
path: root/packages/busybox
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-04 16:48:57 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-04 16:48:57 +0000
commite1fcfaf38cd250cd8383fa66d75b0543a0543311 (patch)
treefafe3b51bb519366044e5bd1d2b89a511d41be10 /packages/busybox
parent2273c62b8dd1440b9cb04e18827174a587025f8b (diff)
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.
Diffstat (limited to 'packages/busybox')
-rw-r--r--packages/busybox/busybox_1.00.bb3
-rw-r--r--packages/busybox/files/syslog.conf4
2 files changed, 4 insertions, 3 deletions
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!)