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
11S = "${WORKDIR}/sources"
12UNPACKDIR = "${S}"
13
14do_install() {
15        install -m 644 -D ${UNPACKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-restart-policy.conf
16        install -m 644 -D ${UNPACKDIR}/journald-maxlevel-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf
17}
18
19FILES:${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf"
20FILES:${PN} += "${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf"
21