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