blob: fbd492b7d26bd690945204c7a4054410e386a4d4 [file] [log] [blame]
Andrew Geissler65430332018-07-19 11:44:03 -07001SUMMARY = "Phosphor systemd configuration overrides"
2DESCRIPTION = "Overrides for systemd and its applications"
3PR = "r1"
4
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
7
8DEPENDS += "systemd"
9
10SRC_URI = "file://service-restart-policy.conf"
Andrew Geissler3ee55002018-06-29 13:39:55 -070011SRC_URI += "file://disable-duplicate-kernel-msg.conf"
Andrew Geisslera3e3e0d2018-07-11 09:20:02 -070012SRC_URI += "file://disable-forward-to-syslog.conf"
Andrew Geissler3ee55002018-06-29 13:39:55 -070013
Andrew Geissler65430332018-07-19 11:44:03 -070014FILES_${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf"
Andrew Geissler3ee55002018-06-29 13:39:55 -070015FILES_${PN} += "${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf"
Andrew Geisslera3e3e0d2018-07-11 09:20:02 -070016FILES_${PN} += "${systemd_unitdir}/journald.conf.d/disable-forward-to-syslog.conf"
Andrew Geissler3ee55002018-06-29 13:39:55 -070017
Andrew Geissler65430332018-07-19 11:44:03 -070018
19do_install() {
20 install -m 644 -D ${WORKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-restart-policy.conf
Andrew Geissler3ee55002018-06-29 13:39:55 -070021 install -m 644 -D ${WORKDIR}/disable-duplicate-kernel-msg.conf ${D}${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf
Andrew Geisslera3e3e0d2018-07-11 09:20:02 -070022 install -m 644 -D ${WORKDIR}/disable-forward-to-syslog.conf ${D}${systemd_unitdir}/journald.conf.d/disable-forward-to-syslog.conf
Andrew Geissler65430332018-07-19 11:44:03 -070023}