blob: b4bfc1f12c15ead6c0e681f13cd148d471cd0975 [file] [log] [blame]
Andrew Geissler25cf9ed2017-10-10 14:08:17 -05001FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
2SRC_URI += "file://journald-storage-policy.conf"
3SRC_URI += "file://systemd-journald-override.conf"
4SRC_URI += "file://journald-size-policy.conf"
5
6FILES_${PN} += "${libdir}/systemd/journald.conf.d/journald-storage-policy.conf"
7FILES_${PN} += "${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf"
8FILES_${PN} += "${libdir}/systemd/journald.conf.d/journald-size-policy.conf"
9
10do_install_append() {
11 install -m 644 -D ${WORKDIR}/journald-storage-policy.conf ${D}${libdir}/systemd/journald.conf.d/journald-storage-policy.conf
12 install -m 644 -D ${WORKDIR}/systemd-journald-override.conf ${D}${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf
13 install -m 644 -D ${WORKDIR}/journald-size-policy.conf ${D}${libdir}/systemd/journald.conf.d/journald-size-policy.conf
14}