Add /etc/syslog.conf to the CONFFILES for busybox (CONFFILES are previously
authorJohn Bowler <jbowler@nslu2-linux.org>
Thu, 4 Aug 2005 16:48:57 +0000 (16:48 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 4 Aug 2005 16:48:57 +0000 (16:48 +0000)
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
packages/busybox/files/syslog.conf

index f6d03fe..988265d 100644 (file)
@@ -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 ."
index e2a2d58..d4a0e02 100644 (file)
@@ -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!)