busybox: Change the busybox syslog to use the internal ring buffer again
Revert the logging to the memory buffer to avoid writes to the disk as the log directory might or might not be on tmpfs.
This commit is contained in:
parent
6431d35a85
commit
da70ced095
|
@ -0,0 +1,10 @@
|
|||
# sysmocom default configuration for systemd
|
||||
DESTINATION="buffer" # log destinations (buffer file remote)
|
||||
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] (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!)
|
|
@ -0,0 +1,4 @@
|
|||
# Make busybox work nicely with systemd
|
||||
SYSMOCOM_D := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-systemd:${SYSMOCOM_D}/${PN}:"
|
||||
PRINC := "${@int(PRINC) + 2}"
|
|
@ -1 +1,2 @@
|
|||
require recipes-core/busybox/${PN}_sysmocom.inc
|
||||
require recipes-core/busybox/${PN}_sysmocom_systemd.inc
|
||||
|
|
Loading…
Reference in New Issue