blob: 500c91df5e85a026361168eee40730115f3bbe8e [file] [log] [blame]
Brad Bishopa5880162019-05-09 17:09:20 -04001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
Brad Bishopbb0e1d02019-07-17 17:35:55 -04002SRC_URI_append_ibm-ac-server = " file://journald-storage-policy.conf"
3SRC_URI_append_ibm-ac-server = " file://systemd-journald-override.conf"
4SRC_URI_append_ibm-ac-server = " file://journald-size-policy.conf"
Andrew Geissler25cf9ed2017-10-10 14:08:17 -05005
Andrew Geissler6e733b62019-10-04 14:47:52 -05006SRC_URI_append_rainier = " file://journald-storage-policy.conf"
7SRC_URI_append_rainier = " file://systemd-journald-override.conf"
8SRC_URI_append_rainier = " file://journald-size-policy.conf"
9
Brad Bishopbb0e1d02019-07-17 17:35:55 -040010FILES_${PN}_append_ibm-ac-server = " ${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf"
11FILES_${PN}_append_ibm-ac-server = " ${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf"
12FILES_${PN}_append_ibm-ac-server = " ${systemd_unitdir}/journald.conf.d/journald-size-policy.conf"
Andrew Geissler25cf9ed2017-10-10 14:08:17 -050013
Andrew Geissler6e733b62019-10-04 14:47:52 -050014FILES_${PN}_append_rainier = " ${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf"
15FILES_${PN}_append_rainier = " ${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf"
16FILES_${PN}_append_rainier = " ${systemd_unitdir}/journald.conf.d/journald-size-policy.conf"
17
Brad Bishopbb0e1d02019-07-17 17:35:55 -040018do_install_append_ibm-ac-server() {
Brad Bishop7d9e6872018-06-25 09:10:54 -040019 install -m 644 -D ${WORKDIR}/journald-storage-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf
Andrew Geissler25cf9ed2017-10-10 14:08:17 -050020 install -m 644 -D ${WORKDIR}/systemd-journald-override.conf ${D}${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf
Brad Bishop7d9e6872018-06-25 09:10:54 -040021 install -m 644 -D ${WORKDIR}/journald-size-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-size-policy.conf
Andrew Geissler25cf9ed2017-10-10 14:08:17 -050022}
Andrew Geissler6e733b62019-10-04 14:47:52 -050023do_install_append_rainier() {
24 install -m 644 -D ${WORKDIR}/journald-storage-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf
25 install -m 644 -D ${WORKDIR}/systemd-journald-override.conf ${D}${systemd_system_unitdir}/systemd-journald.service.d/systemd-journald-override.conf
26 install -m 644 -D ${WORKDIR}/journald-size-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-size-policy.conf
27}