summaryrefslogtreecommitdiffstats
path: root/recipes-support/systemd-journald-persistent/systemd-journald-persistent.bb
blob: 1715fe1191bb03a269604659bf328c7b7364dced (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
}