From 36ebe04ca6ea40f25a0d0093a1a80fe930e19ae8 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Thu, 6 Apr 2023 11:45:03 +0200 Subject: [PATCH] =?utf8?q?meta-somdevices:=20systemd:=20Disable=20journal?= =?utf8?q?=20flush.=20=09=C2=B7=20Not=20to=20prolong=20boot=20time=20as=20?= =?utf8?q?explained=20here:=20=09https://unix.stackexchange.com/questions/?= =?utf8?q?414793/can-i-mask-the-systemd-journal-flush-service-and-run-jour?= =?utf8?q?nalctl-flush-later-ma?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Josep Orga --- recipes-core/systemd/systemd_%.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 recipes-core/systemd/systemd_%.bbappend diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend new file mode 100644 index 0000000..a46280a --- /dev/null +++ b/recipes-core/systemd/systemd_%.bbappend @@ -0,0 +1,7 @@ +SUMMARY = "Disable journal flush" + +PR = "somdevices.0" + +do_install_append () { + rm -f ${D}/lib/systemd/system/sysinit.target.wants/systemd-journal-flush.service +} -- 2.17.1