blob: 21433976b16f379da8f9a57654630ef831a57128 [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"
Brad Bishop6f3f0aa2019-09-13 12:14:05 -04006LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Andrew Geissler3e4d0942018-07-19 11:44:03 -07007
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}