Andrew Geissler | 3e4d094 | 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 | |
| 10 | SRC_URI = "file://service-restart-policy.conf" |
Andrew Geissler | e9722d1 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 11 | SRC_URI += "file://disable-duplicate-kernel-msg.conf" |
| 12 | |
Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 13 | FILES_${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf" |
Andrew Geissler | e9722d1 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 14 | FILES_${PN} += "${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf" |
| 15 | |
Andrew Geissler | 3e4d094 | 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 |
Andrew Geissler | e9722d1 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 19 | install -m 644 -D ${WORKDIR}/disable-duplicate-kernel-msg.conf ${D}${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf |
Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 20 | } |