From 7eafd7fac3b15ea8bcb7a9ede79de192c3ee718b Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 9 Sep 2013 12:30:09 +0200 Subject: [PATCH] systemd: add bbappend to install a custom journald.conf Signed-off-by: Koen Kooi --- recipes-core/systemd/systemd/journald.conf | 33 ++++++++++++++++++++++ recipes-core/systemd/systemd_206.bbappend | 7 +++++ 2 files changed, 40 insertions(+) create mode 100644 recipes-core/systemd/systemd/journald.conf create mode 100644 recipes-core/systemd/systemd_206.bbappend diff --git a/recipes-core/systemd/systemd/journald.conf b/recipes-core/systemd/systemd/journald.conf new file mode 100644 index 0000000..76ae8ce --- /dev/null +++ b/recipes-core/systemd/systemd/journald.conf @@ -0,0 +1,33 @@ +# 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 journald.conf(5) for details + +[Journal] +#Storage=auto +#Compress=yes +#Seal=yes +#SplitMode=login +#SyncIntervalSec=5m +#RateLimitInterval=30s +#RateLimitBurst=1000 +SystemMaxUse=16M +#SystemKeepFree= +#SystemMaxFileSize= +#RuntimeMaxUse= +#RuntimeKeepFree= +#RuntimeMaxFileSize= +#MaxRetentionSec= +#MaxFileSec=1month +#ForwardToSyslog=yes +#ForwardToKMsg=no +#ForwardToConsole=no +#TTYPath=/dev/console +MaxLevelStore=info +MaxLevelSyslog=info +#MaxLevelKMsg=notice +#MaxLevelConsole=info diff --git a/recipes-core/systemd/systemd_206.bbappend b/recipes-core/systemd/systemd_206.bbappend new file mode 100644 index 0000000..75cd120 --- /dev/null +++ b/recipes-core/systemd/systemd_206.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS := "${THISDIR}/${PN}" + +SRC_URI += "file://journald.conf" + +do_install_append() { + cp ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd +}