summaryrefslogtreecommitdiff
path: root/meta-unit-core/recipes-core/systemd/systemd-conf-journal-persistent-storage.bb
diff options
context:
space:
mode:
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 \
+"