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 |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 6 | RRECOMMENDS:${PN}-host:append = " ${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 |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 11 | RRECOMMENDS:${PN}-host:append = " ${PN}-hypervisor" |
Andrew Geissler | 192e286 | 2022-02-08 14:23:21 -0600 | [diff] [blame] | 12 | |
Andrew Geissler | f076207 | 2022-04-27 18:01:49 +0000 | [diff] [blame] | 13 | # IBM p10 machines want the optional secure-check |
| 14 | # feature enabled. This will verify all security |
| 15 | # settings in manufacturing mode. |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 16 | RRECOMMENDS:${PN}-host:append:p10bmc = " ${PN}-secure-check" |
Andrew Geissler | f076207 | 2022-04-27 18:01:49 +0000 | [diff] [blame] | 17 | |
Andrew Geissler | 192e286 | 2022-02-08 14:23:21 -0600 | [diff] [blame] | 18 | # IBM systems want the chassis package to not allow a |
| 19 | # system power on if chassis power is in a bad state |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 20 | RRECOMMENDS:${PN}-chassis:append = " ${PN}-chassis-check-power-status" |
Andrew Geissler | 192e286 | 2022-02-08 14:23:21 -0600 | [diff] [blame] | 21 | |
Andrew Geissler | 80a13f8 | 2022-03-02 22:30:35 +0000 | [diff] [blame] | 22 | # Override critical services to monitor with IBM file |
| 23 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 24 | FILES:${PN}-bmc:append = " ${sysconfdir}/phosphor-service-monitor-default.json" |
| 25 | SRC_URI:append = " file://phosphor-service-monitor-default.json" |
| 26 | do_install:append() { |
| 27 | install -d ${D}${sysconfdir}/phosphor-systemd-target-monitor |
| 28 | install -m 0644 ${WORKDIR}/phosphor-service-monitor-default.json \ |
| 29 | ${D}${sysconfdir}/phosphor-systemd-target-monitor/ |
| 30 | } |