Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 1 | SUMMARY = "Phosphor systemd configuration overrides" |
| 2 | DESCRIPTION = "Overrides for systemd and its applications" |
Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
Brad Bishop | 6f3f0aa | 2019-09-13 12:14:05 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 5 | DEPENDS += "systemd" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 6 | PR = "r1" |
Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 7 | |
Adriana Kobylak | c3b3c97 | 2018-12-05 16:17:16 -0600 | [diff] [blame] | 8 | SRC_URI += "file://service-restart-policy.conf" |
| 9 | SRC_URI += "file://journald-maxlevel-policy.conf" |
Andrew Geissler | e9722d1 | 2018-06-29 13:39:55 -0700 | [diff] [blame] | 10 | |
Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 11 | do_install() { |
| 12 | install -m 644 -D ${WORKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-restart-policy.conf |
Adriana Kobylak | c3b3c97 | 2018-12-05 16:17:16 -0600 | [diff] [blame] | 13 | install -m 644 -D ${WORKDIR}/journald-maxlevel-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf |
Andrew Geissler | 3e4d094 | 2018-07-19 11:44:03 -0700 | [diff] [blame] | 14 | } |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 15 | |
| 16 | FILES:${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf" |
| 17 | FILES:${PN} += "${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf" |