From 6b49d86355c61b7d853ee4996fcf596201993bf4 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 30 May 2014 19:34:16 +0200 Subject: [PATCH] systemd: silence systemd for sysmobts-2050 * use /etc/systemd/system.conf to silence systemd own log messages * bump PRINC to 20 Fixes: SYS#235 --- .../systemd/systemd/sysmobts-2050/system.conf | 43 +++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 3 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 recipes-fixes/systemd/systemd/sysmobts-2050/system.conf diff --git a/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf b/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf new file mode 100644 index 0000000..bfdf744 --- /dev/null +++ b/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf @@ -0,0 +1,43 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# See systemd.conf(5) for details + +[Manager] +#LogLevel=info +LogTarget=null +#LogColor=yes +#LogLocation=no +#DumpCore=yes +#CrashShell=no +ShowStatus=no +#CrashChVT=1 +#CPUAffinity=1 2 +#DefaultControllers=cpu +DefaultStandardOutput=syslog +DefaultStandardError=syslog +#JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio +RuntimeWatchdogSec=45 +#ShutdownWatchdogSec=10min +#CapabilityBoundingSet= +#TimerSlackNSec= +#DefaultLimitCPU= +#DefaultLimitFSIZE= +#DefaultLimitDATA= +#DefaultLimitSTACK= +#DefaultLimitCORE= +#DefaultLimitRSS= +#DefaultLimitNOFILE= +#DefaultLimitAS= +#DefaultLimitNPROC= +#DefaultLimitMEMLOCK= +#DefaultLimitLOCKS= +#DefaultLimitSIGPENDING= +#DefaultLimitMSGQUEUE= +#DefaultLimitNICE= +#DefaultLimitRTPRIO= +#DefaultLimitRTTIME= diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 131c68e..fb3ee5b 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,7 +1,7 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="19" +PRINC="20" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ @@ -9,6 +9,7 @@ SRC_URI += "file://journald.conf \ SRC_URI_append_sysmobts-v1 = " file://system.conf" SRC_URI_append_sysmobts-v2 = " file://system.conf" +SRC_URI_append_sysmobts-2050 = " file://system.conf" # Disable depedency on dbus RDEPENDS_${PN}_remove = "dbus"