Andrew Geissler | 6543033 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 1 | SUMMARY = "Phosphor systemd configuration overrides" |
| 2 | DESCRIPTION = "Overrides for systemd and its applications" |
| 3 | PR = "r1" |
| 4 | |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
| 7 | |
| 8 | DEPENDS += "systemd" |
| 9 | |
Adriana Kobylak | 3692b80 | 2018-12-05 16:17:16 -0600 | [diff] [blame] | 10 | SRC_URI += "file://service-restart-policy.conf" |
| 11 | SRC_URI += "file://journald-maxlevel-policy.conf" |
Andrew Geissler | 3ee5500 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 12 | |
Andrew Geissler | 6543033 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 13 | FILES_${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf" |
Adriana Kobylak | 3692b80 | 2018-12-05 16:17:16 -0600 | [diff] [blame] | 14 | FILES_${PN} += "${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf" |
Andrew Geissler | 3ee5500 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 15 | |
Andrew Geissler | 6543033 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 16 | |
| 17 | do_install() { |
| 18 | install -m 644 -D ${WORKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-restart-policy.conf |
Adriana Kobylak | 3692b80 | 2018-12-05 16:17:16 -0600 | [diff] [blame] | 19 | install -m 644 -D ${WORKDIR}/journald-maxlevel-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf |
Andrew Geissler | 6543033 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 20 | } |