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