From adb00285ee18c7480a570934346711bcac9a2e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 8 Jul 2024 09:22:19 -0300 Subject: [PATCH 1/2] install: configs: Add first version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- install/configs/journald.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 install/configs/journald.conf diff --git a/install/configs/journald.conf b/install/configs/journald.conf new file mode 100644 index 0000000000..71c0a44083 --- /dev/null +++ b/install/configs/journald.conf @@ -0,0 +1,15 @@ +# BlueOS journal systemd file. +# +# Entries in this file show the compile time defaults. Local configuration +# should be created by either modifying this file (or a copy of it placed in +# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in +# the /etc/systemd/journald.conf.d/ directory. The latter is generally +# recommended. Defaults can be restored by simply deleting the main +# configuration file and all drop-ins located in /etc/. +# +# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config. +# +# See journald.conf(5) for details. + +[Journal] +SystemMaxUse=200M From baf4bdede209004af4ed69d28854fe0cca64d836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 8 Jul 2024 09:22:33 -0300 Subject: [PATCH 2/2] install: install: Add journald configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- install/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/install.sh b/install/install.sh index 734ee9d3a1..c015fb61d8 100755 --- a/install/install.sh +++ b/install/install.sh @@ -91,6 +91,9 @@ else echo "Skipping hardware configuration" fi +echo "Configure journald." +curl -fsSL "$ROOT/install/configs/journald.conf" -o /etc/systemd/journald.conf + # There are systems where rfkill does not exist, like SBC without wifi/BT command -v rfkill && ( echo "Checking for blocked wifi and bluetooth."