Andrew Geissler | 25cf9ed | 2017-10-10 14:08:17 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
| 2 | SRC_URI += "file://journald-storage-policy.conf" |
| 3 | SRC_URI += "file://systemd-journald-override.conf" |
| 4 | SRC_URI += "file://journald-size-policy.conf" |
| 5 | |
| 6 | FILES_${PN} += "${libdir}/systemd/journald.conf.d/journald-storage-policy.conf" |
| 7 | FILES_${PN} += "${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf" |
| 8 | FILES_${PN} += "${libdir}/systemd/journald.conf.d/journald-size-policy.conf" |
| 9 | |
| 10 | do_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 | } |