summaryrefslogtreecommitdiff
path: root/meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-01-13 00:56:46 -0600
committerunitexe <unitexe70@gmail.com>2026-01-13 00:56:46 -0600
commit60fe98ebdd3a3a70871db1fe47427399f785c1ec (patch)
tree98f0652fa71a5b25f62caac91686e46aba58eda4 /meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb
parent1c6ea2c89f69b924e866dc901a2183068e44297f (diff)
User systemd journals working
Diffstat (limited to 'meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb')
-rw-r--r--meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb b/meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb
new file mode 100644
index 0000000..7dcdb49
--- /dev/null
+++ b/meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Systemd journal persistent storage drop-in configuration"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${UNIT_CORE_LAYERDIR}/LICENSE;md5=38bf13be5d6979b28bd8adddb2f2f9b3"
+
+SRC_URI = "file://journald-persistent-storage.conf"
+
+RDEPENDS:${PN}:append = " systemd"
+
+S = "${UNPACKDIR}"
+
+do_install:append() {
+ install -D -m 0644 ${UNPACKDIR}/journald-persistent-storage.conf ${D}${sysconfdir}/systemd/journald.conf.d/journald-persistent-storage.conf
+}
+
+FILES:${PN} = "\
+ ${sysconfdir}/systemd/journald.conf.d/journald-persistent-storage.conf \
+"