blob: ce58a532a43875a7092d5457c1518305bb0154e9 [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"
12
Andrew Geissler65430332018-07-19 11:44:03 -070013FILES_${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf"
Andrew Geissler3ee55002018-06-29 13:39:55 -070014FILES_${PN} += "${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf"
15
Andrew Geissler65430332018-07-19 11:44:03 -070016
17do_install() {
18 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 -070019 install -m 644 -D ${WORKDIR}/disable-duplicate-kernel-msg.conf ${D}${systemd_unitdir}/journald.conf.d/disable-duplicate-kernel-msg.conf
Andrew Geissler65430332018-07-19 11:44:03 -070020}