From: Josep Orga Date: Thu, 6 Apr 2023 09:45:03 +0000 (+0200) Subject: meta-somdevices: systemd: Disable journal flush. X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=36ebe04ca6ea40f25a0d0093a1a80fe930e19ae8;p=meta-somdevices.git meta-somdevices: systemd: Disable journal flush. ยท Not to prolong boot time as explained here: https://unix.stackexchange.com/questions/414793/can-i-mask-the-systemd-journal-flush-service-and-run-journalctl-flush-later-ma Signed-off-by: Josep Orga --- 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 +}