1SUMMARY = "Phosphor systemd configuration overrides"
2DESCRIPTION = "Overrides for systemd and its applications"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5DEPENDS += "systemd"
6PR = "r1"
7
8SRC_URI += "file://service-restart-policy.conf"
9SRC_URI += "file://journald-maxlevel-policy.conf"
10
11do_install() {
12        install -m 644 -D ${WORKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-restart-policy.conf
13        install -m 644 -D ${WORKDIR}/journald-maxlevel-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf
14}
15
16FILES:${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf"
17FILES:${PN} += "${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf"
18