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 | |
Andrew Geissler | 3fb738c | 2023-01-10 14:33:43 -0600 | [diff] [blame] | 3 | # IBM systems only want power restore when AC loss occurred |
| 4 | EXTRA_OEMESON:append = " -Donly-run-apr-on-power-loss=true" |
| 5 | |
Andrew Geissler | 6539353 | 2021-01-28 13:17:12 -0600 | [diff] [blame] | 6 | # The scheduled-host-transition package provides support to |
| 7 | # schedule power on and off operations for the host at some |
| 8 | # time in the future. IBM systems will utilize this feature |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 9 | RRECOMMENDS:${PN}-host:append = " ${PN}-scheduled-host-transition" |
Andrew Geissler | b2644f8 | 2021-02-10 16:11:58 -0600 | [diff] [blame] | 10 | |
| 11 | # IBM systems track the state of the hypervisor so bring |
| 12 | # in the needed package when the host state package is |
| 13 | # included |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 14 | RRECOMMENDS:${PN}-host:append = " ${PN}-hypervisor" |
Andrew Geissler | 192e286 | 2022-02-08 14:23:21 -0600 | [diff] [blame] | 15 | |
Andrew Geissler | f076207 | 2022-04-27 18:01:49 +0000 | [diff] [blame] | 16 | # IBM p10 machines want the optional secure-check |
| 17 | # feature enabled. This will verify all security |
| 18 | # settings in manufacturing mode. |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 19 | RRECOMMENDS:${PN}-host:append:p10bmc = " ${PN}-secure-check" |
Andrew Geissler | f076207 | 2022-04-27 18:01:49 +0000 | [diff] [blame] | 20 | |
Andrew Geissler | 192e286 | 2022-02-08 14:23:21 -0600 | [diff] [blame] | 21 | # IBM systems want the chassis package to not allow a |
| 22 | # system power on if chassis power is in a bad state |
Andrew Geissler | cc4d085 | 2022-04-27 20:55:11 +0000 | [diff] [blame] | 23 | RRECOMMENDS:${PN}-chassis:append = " ${PN}-chassis-check-power-status" |
Andrew Geissler | 192e286 | 2022-02-08 14:23:21 -0600 | [diff] [blame] | 24 | |
Andrew Geissler | 80a13f8 | 2022-03-02 22:30:35 +0000 | [diff] [blame] | 25 | # Override critical services to monitor with IBM file |
| 26 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 27 | FILES:${PN}-bmc:append = " ${sysconfdir}/phosphor-service-monitor-default.json" |
| 28 | SRC_URI:append = " file://phosphor-service-monitor-default.json" |
| 29 | do_install:append() { |
| 30 | install -d ${D}${sysconfdir}/phosphor-systemd-target-monitor |
| 31 | install -m 0644 ${WORKDIR}/phosphor-service-monitor-default.json \ |
| 32 | ${D}${sysconfdir}/phosphor-systemd-target-monitor/ |
| 33 | } |