1POWER_SERVICE_PACKAGES_AC_SERVER = " \
2    phosphor-power-monitor \
3    phosphor-power-systemd-links-monitor \
4    phosphor-power-sequencer \
5    phosphor-power-systemd-links-sequencer \
6    phosphor-power-utils \
7    phosphor-power \
8"
9
10# P10 does not need/want the old PSU monitor
11POWER_SERVICE_PACKAGES_P10 = " \
12    phosphor-power-control \
13    phosphor-power-utils \
14    phosphor-power \
15    phosphor-power-regulators \
16    phosphor-power-systemd-links-regulators \
17    phosphor-power-psu-monitor \
18"
19
20EXTRA_IBM_LOGGING_PKGS = ""
21EXTRA_IBM_LOGGING_PKGS:witherspoon = ""
22EXTRA_IBM_LOGGING_PKGS:witherspoon-tacoma = ""
23EXTRA_IBM_LOGGING_PKGS:p10bmc = " \
24    python3-sbe-log-parsers \
25    hostboot-pel-parsers \
26"
27
28RDEPENDS:${PN}-inventory:append:ibm-ac-server = " openpower-fru-vpd openpower-occ-control phosphor-cooling-type phosphor-gpio-monitor-presence"
29RDEPENDS:${PN}-inventory:append:p10bmc = " openpower-fru-vpd openpower-occ-control phosphor-gpio-monitor-presence"
30RDEPENDS:${PN}-inventory:append:witherspoon-tacoma = " entity-manager"
31RDEPENDS:${PN}-fan-control:append:ibm-ac-server = " fan-watchdog"
32RDEPENDS:${PN}-fan-control:append:p10bmc = " fan-watchdog sensor-monitor"
33RDEPENDS:${PN}-extras:append:ibm-ac-server = " ${POWER_SERVICE_PACKAGES_AC_SERVER} witherspoon-power-supply-sync"
34RDEPENDS:${PN}-extras:append:p10bmc = " ${POWER_SERVICE_PACKAGES_P10} webui-vue dbus-sensors phosphor-virtual-sensor"
35RDEPENDS:${PN}-extras:append:p10bmc = " pldm openpower-hw-diags srvcfg-manager biosconfig-manager phosphor-post-code-manager phosphor-host-postd debug-trigger libmctp"
36RDEPENDS:${PN}-extras:append:witherspoon-tacoma = " pldm srvcfg-manager webui-vue biosconfig-manager phosphor-post-code-manager phosphor-host-postd kexec-tools makedumpfile kdump vmcore-dmesg debug-trigger"
37
38RDEPENDS:${PN}-extras:remove:p10bmc = "obmc-ikvm liberation-fonts uart-render-controller"
39RDEPENDS:${PN}-host-state-mgmt:remove:p10bmc = "checkstop-monitor"
40RDEPENDS:${PN}-extras:remove:swift = "obmc-ikvm"
41RDEPENDS:${PN}-extras:remove:witherspoon-tacoma = "obmc-ikvm liberation-fonts uart-render-controller"
42RDEPENDS:${PN}-logging:append = " ${EXTRA_IBM_LOGGING_PKGS}"
43RDEPENDS:${PN}-leds:remove:witherspoon-tacoma = "phosphor-led-manager-faultmonitor"
44RDEPENDS:${PN}-devtools:remove:witherspoon = "rsync"
45
46${PN}-software-extras:append:ibm-ac-server = " phosphor-software-manager-sync"
47${PN}-software-extras:append:p10bmc = " phosphor-software-manager-usb"
48${PN}-software-extras:append:p10bmc = " phosphor-software-manager-side-switch"
49