[oe-commits] Paul Eggleton : busybox: set default log buffer size to 64 at compile time

git at git.openembedded.org git at git.openembedded.org
Fri Aug 30 15:16:58 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 6d6a3f805b0fad6f904afb52dc12bfb543e3eec5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6d6a3f805b0fad6f904afb52dc12bfb543e3eec5

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Wed Aug 28 16:39:19 2013 +0100

busybox: set default log buffer size to 64 at compile time

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/busybox/busybox-1.21.1/defconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox-1.21.1/defconfig b/meta/recipes-core/busybox/busybox-1.21.1/defconfig
index bdfdadf..e287a0d 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/defconfig
+++ b/meta/recipes-core/busybox/busybox-1.21.1/defconfig
@@ -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



More information about the Openembedded-commits mailing list