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