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 | |
Brad Bishop | 7d9e687 | 2018-06-25 09:10:54 -0400 | [diff] [blame^] | 6 | FILES_${PN} += "${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf" |
Andrew Geissler | 25cf9ed | 2017-10-10 14:08:17 -0500 | [diff] [blame] | 7 | FILES_${PN} += "${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf" |
Brad Bishop | 7d9e687 | 2018-06-25 09:10:54 -0400 | [diff] [blame^] | 8 | FILES_${PN} += "${systemd_unitdir}/journald.conf.d/journald-size-policy.conf" |
Andrew Geissler | 25cf9ed | 2017-10-10 14:08:17 -0500 | [diff] [blame] | 9 | |
| 10 | do_install_append() { |
Brad Bishop | 7d9e687 | 2018-06-25 09:10:54 -0400 | [diff] [blame^] | 11 | install -m 644 -D ${WORKDIR}/journald-storage-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf |
Andrew Geissler | 25cf9ed | 2017-10-10 14:08:17 -0500 | [diff] [blame] | 12 | install -m 644 -D ${WORKDIR}/systemd-journald-override.conf ${D}${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf |
Brad Bishop | 7d9e687 | 2018-06-25 09:10:54 -0400 | [diff] [blame^] | 13 | install -m 644 -D ${WORKDIR}/journald-size-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-size-policy.conf |
Andrew Geissler | 25cf9ed | 2017-10-10 14:08:17 -0500 | [diff] [blame] | 14 | } |