]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: set default log buffer size to 64 at compile time
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 28 Aug 2013 15:39:19 +0000 (16:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Aug 2013 11:48:39 +0000 (12:48 +0100)
This provides a more reasonable log buffer size to avoid losing earlier
events, and 64K is not a problem for modern systems. When the buffer is
used on sysvinit-based systems, which it isn't by default, 64K is already
the runtime default size unless /etc/syslog-startup.conf is modified or
deleted, so this only really affects systems using systemd. This
completely removes the need for the busybox bbappend in meta-oe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox-1.21.1/defconfig

index bdfdadf0eb79beaae7ce60d598f2b7654ad258b6..e287a0dc4f5c9e3a91c4769c8009d91e482a38f7 100644 (file)
@@ -1012,7 +1012,7 @@ CONFIG_FEATURE_SYSLOGD_DUP=y
 CONFIG_FEATURE_SYSLOGD_CFG=y
 CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256
 CONFIG_FEATURE_IPC_SYSLOG=y
-CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
+CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=64
 CONFIG_LOGREAD=y
 CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y
 CONFIG_KLOGD=y