Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 1 | EXTRA_OEMESON:append:witherspoon = " -Dwarm-reboot=disabled" |
Andrew Geissler | 6539353 | 2021-01-28 13:17:12 -0600 | [diff] [blame] | 2 | |
| 3 | # The scheduled-host-transition package provides support to |
| 4 | # schedule power on and off operations for the host at some |
| 5 | # time in the future. IBM systems will utilize this feature |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 6 | RRECOMMENDS:${PN}-host += "${PN}-scheduled-host-transition" |
Andrew Geissler | b2644f8 | 2021-02-10 16:11:58 -0600 | [diff] [blame] | 7 | |
| 8 | # IBM systems track the state of the hypervisor so bring |
| 9 | # in the needed package when the host state package is |
| 10 | # included |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 11 | RRECOMMENDS:${PN}-host += "${PN}-hypervisor" |
Andrew Geissler | 192e286 | 2022-02-08 14:23:21 -0600 | [diff] [blame] | 12 | |
| 13 | # IBM systems want the chassis package to not allow a |
| 14 | # system power on if chassis power is in a bad state |
| 15 | RRECOMMENDS:${PN}-chassis = "${PN}-chassis-check-power-status" |
| 16 | |
Andrew Geissler | 80a13f8 | 2022-03-02 22:30:35 +0000 | [diff] [blame^] | 17 | # Override critical services to monitor with IBM file |
| 18 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 19 | FILES:${PN}-bmc:append = " ${sysconfdir}/phosphor-service-monitor-default.json" |
| 20 | SRC_URI:append = " file://phosphor-service-monitor-default.json" |
| 21 | do_install:append() { |
| 22 | install -d ${D}${sysconfdir}/phosphor-systemd-target-monitor |
| 23 | install -m 0644 ${WORKDIR}/phosphor-service-monitor-default.json \ |
| 24 | ${D}${sysconfdir}/phosphor-systemd-target-monitor/ |
| 25 | } |