blob: 79eff391b60912f0908c7d4d40a1c20d98cb685f [file] [log] [blame]
Adriana Kobylakb96c7502021-08-06 16:25:30 +00001EXTRA_OEMESON:append:witherspoon = " -Dwarm-reboot=disabled"
Andrew Geissler65393532021-01-28 13:17:12 -06002
Andrew Geissler3fb738c2023-01-10 14:33:43 -06003# IBM systems only want power restore when AC loss occurred
4EXTRA_OEMESON:append = " -Donly-run-apr-on-power-loss=true"
5
Andrew Geissler65393532021-01-28 13:17:12 -06006# 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 Geisslercc4d0852022-04-27 20:55:11 +00009RRECOMMENDS:${PN}-host:append = " ${PN}-scheduled-host-transition"
Andrew Geisslerb2644f82021-02-10 16:11:58 -060010
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 Geisslercc4d0852022-04-27 20:55:11 +000014RRECOMMENDS:${PN}-host:append = " ${PN}-hypervisor"
Andrew Geissler192e2862022-02-08 14:23:21 -060015
Andrew Geisslerf0762072022-04-27 18:01:49 +000016# IBM p10 machines want the optional secure-check
17# feature enabled. This will verify all security
18# settings in manufacturing mode.
Andrew Geisslercc4d0852022-04-27 20:55:11 +000019RRECOMMENDS:${PN}-host:append:p10bmc = " ${PN}-secure-check"
Andrew Geisslerf0762072022-04-27 18:01:49 +000020
Andrew Geissler192e2862022-02-08 14:23:21 -060021# IBM systems want the chassis package to not allow a
22# system power on if chassis power is in a bad state
Andrew Geisslercc4d0852022-04-27 20:55:11 +000023RRECOMMENDS:${PN}-chassis:append = " ${PN}-chassis-check-power-status"
Andrew Geissler192e2862022-02-08 14:23:21 -060024
Andrew Geissler80a13f82022-03-02 22:30:35 +000025# Override critical services to monitor with IBM file
26FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
27FILES:${PN}-bmc:append = " ${sysconfdir}/phosphor-service-monitor-default.json"
28SRC_URI:append = " file://phosphor-service-monitor-default.json"
29do_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}