blob: 9a9f2bc81faedce8a863ba948ae306b4b386ac9c [file] [log] [blame]
Andrew Geissler3e4d0942018-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
Adriana Kobylakc3b3c972018-12-05 16:17:16 -060010SRC_URI += "file://service-restart-policy.conf"
11SRC_URI += "file://journald-maxlevel-policy.conf"
Andrew Geisslere9722d12018-06-29 13:39:55 -070012
Andrew Geissler3e4d0942018-07-19 11:44:03 -070013FILES_${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf"
Adriana Kobylakc3b3c972018-12-05 16:17:16 -060014FILES_${PN} += "${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf"
Andrew Geisslere9722d12018-06-29 13:39:55 -070015
Andrew Geissler3e4d0942018-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
Adriana Kobylakc3b3c972018-12-05 16:17:16 -060019 install -m 644 -D ${WORKDIR}/journald-maxlevel-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf
Andrew Geissler3e4d0942018-07-19 11:44:03 -070020}