From a53eaa5b49a4550a8c5f5c49ca1f6c8f3f1fa09d Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Mon, 13 Mar 2023 16:36:06 +0100 Subject: [PATCH] systemd-conf: use custom journald conf file The Poky layer defines a default journald conf file that allows log files on the file system to grow to a maximum of 64 MiB. However, this size on some platforms is impossible to address, so this commit reduces the maximum size for runtime logs to 4 MiB. https://onedigi.atlassian.net/browse/DEL-8419 Signed-off-by: Arturo Buzarra (cherry picked from commit bdece7102ba6a2183ab8155507a9abe246eef2cf) Signed-off-by: Javier Viguera --- meta-digi-dey/recipes-core/systemd/systemd-conf/journald.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-digi-dey/recipes-core/systemd/systemd-conf/journald.conf diff --git a/meta-digi-dey/recipes-core/systemd/systemd-conf/journald.conf b/meta-digi-dey/recipes-core/systemd/systemd-conf/journald.conf new file mode 100644 index 000000000..4860db626 --- /dev/null +++ b/meta-digi-dey/recipes-core/systemd/systemd-conf/journald.conf @@ -0,0 +1,3 @@ +[Journal] +ForwardToSyslog=yes +RuntimeMaxUse=4M