summaryrefslogtreecommitdiffstats
path: root/recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb
blob: 7f2a3aee8ad91b2576636b823453547b94186a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUMMARY = "Configuration for systemd-journald"
DESCRIPTION = "Provides configuration for systemd-journald, so that logs are \
stored on persistent storage"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad"

PACKAGE_ARCH = "${MACHINE_ARCH}"

SRC_URI:append = " file://10-persistent-journal.conf"
PR = "r1"

S = "${WORKDIR}"

FILES:${PN} = "${systemd_unitdir}/journald.conf.d/*"

do_install() {
    install -d ${D}/${systemd_unitdir}/journald.conf.d
    install -m 0644 ${WORKDIR}/10-persistent-journal.conf ${D}/${systemd_unitdir}/journald.conf.d
}