diff options
author | lbonn <lbonn@users.noreply.github.com> | 2019-06-06 17:01:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 17:01:26 +0200 |
commit | 52d441c053b63e19dcf2bd43dd0f6859af23d04b (patch) | |
tree | a36985a7b00b288e3e847365f16254509b543fd9 /recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb | |
parent | 4af32c3d2b1ad79cb8e7fbefd4ddeb648f06c4d7 (diff) | |
parent | 9616f2c908adfb94f4455b219856daf147a41748 (diff) | |
download | meta-updater-52d441c053b63e19dcf2bd43dd0f6859af23d04b.tar.gz |
Log persistence (#523)
Log persistence
Diffstat (limited to 'recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb')
-rw-r--r-- | recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb b/recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb new file mode 100644 index 0000000..1715fe1 --- /dev/null +++ b/recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Configuration for systemd-journald" | ||
2 | DESCRIPTION = "Provides configuration for systemd-journald, so that logs are \ | ||
3 | stored on persistent storage" | ||
4 | LICENSE = "MPL-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" | ||
6 | |||
7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
8 | |||
9 | SRC_URI_append = " file://10-persistent-journal.conf" | ||
10 | PR = "r1" | ||
11 | |||
12 | S = "${WORKDIR}" | ||
13 | |||
14 | FILES_${PN} = "${systemd_unitdir}/journald.conf.d/*" | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}/${systemd_unitdir}/journald.conf.d | ||
18 | install -m 0644 ${WORKDIR}/10-persistent-journal.conf ${D}/${systemd_unitdir}/journald.conf.d | ||
19 | } | ||
20 | |||