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 | |
| 10 | SRC_URI = "file://service-restart-policy.conf" |
Andrew Geissler | 3ee5500 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 11 | SRC_URI += "file://disable-duplicate-kernel-msg.conf" |
Andrew Geissler | a3e3e0d | 2018-07-11 09:20:02 -0700 | [diff] [blame] | 12 | SRC_URI += "file://disable-forward-to-syslog.conf" |
Andrew Geissler | 3ee5500 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 13 | |
Andrew Geissler | 6543033 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 14 | FILES_${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf" |
Andrew Geissler | 3ee5500 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 15 | FILES_${PN} += "${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf" |
Andrew Geissler | a3e3e0d | 2018-07-11 09:20:02 -0700 | [diff] [blame] | 16 | FILES_${PN} += "${systemd_unitdir}/journald.conf.d/disable-forward-to-syslog.conf" |
Andrew Geissler | 3ee5500 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 17 | |
Andrew Geissler | 6543033 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 18 | |
| 19 | do_install() { |
| 20 | install -m 644 -D ${WORKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-restart-policy.conf |
Andrew Geissler | 3ee5500 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 21 | install -m 644 -D ${WORKDIR}/disable-duplicate-kernel-msg.conf ${D}${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf |
Andrew Geissler | a3e3e0d | 2018-07-11 09:20:02 -0700 | [diff] [blame] | 22 | install -m 644 -D ${WORKDIR}/disable-forward-to-syslog.conf ${D}${systemd_unitdir}/journald.conf.d/disable-forward-to-syslog.conf |
Andrew Geissler | 6543033 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 23 | } |