blob: d9ed2ec8543947d7a736814c96706852055fda8a [file] [log] [blame]
Patrick Williams267c0bb2017-01-19 21:20:46 -06001SUMMARY = "Phosphor State Management"
2DESCRIPTION = "Phosphor State Manager provides a set of system state \
3management daemons. It is suitable for use on a wide variety of OpenBMC \
4platforms."
5HOMEPAGE = "https://github.com/openbmc/phosphor-state-manager"
6PR = "r1"
Patrick Venturee22ac6b2018-10-21 08:23:40 -07007PV = "1.0+git${SRCPV}"
Patrick Williams267c0bb2017-01-19 21:20:46 -06008LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
10
11STATE_MGR_PACKAGES = " \
12 ${PN}-host \
13 ${PN}-chassis \
Josh Kinga9462882017-01-19 14:04:03 -060014 ${PN}-bmc \
Michael Tritz7199d262017-04-18 17:01:12 -050015 ${PN}-discover \
Andrew Geisslera94faf42017-05-08 15:58:01 -050016 ${PN}-host-check \
Dhruvaraj Subhashchandran39179e52017-12-17 12:06:23 -060017 ${PN}-reset-sensor-states \
Andrew Geisslerf26fd902019-09-23 19:11:20 +000018 ${PN}-systemd-target-monitor \
Andrew Geissler77cfb0f2020-01-14 14:21:24 -060019 ${PN}-obmc-targets \
Andrew Geissler73b97112020-04-15 16:02:17 +000020 ${PN}-scheduled-host-transition \
Patrick Williams267c0bb2017-01-19 21:20:46 -060021"
Brad Bishopf6f49d52018-04-11 11:44:15 -040022PACKAGE_BEFORE_PN += "${STATE_MGR_PACKAGES}"
23ALLOW_EMPTY_${PN} = "1"
Brad Bishopc3f10572017-03-01 16:08:45 -050024
Patrick Williams267c0bb2017-01-19 21:20:46 -060025DBUS_PACKAGES = "${STATE_MGR_PACKAGES}"
26
Dhruvaraj Subhashchandran39179e52017-12-17 12:06:23 -060027SYSTEMD_PACKAGES = "${PN}-discover \
28 ${PN}-reset-sensor-states \
Andrew Geisslerf26fd902019-09-23 19:11:20 +000029 ${PN}-systemd-target-monitor \
Dhruvaraj Subhashchandran39179e52017-12-17 12:06:23 -060030"
Andrew Geissler7a4341e2018-03-13 11:46:27 -070031
32# The host-check function will check if the host is running
33# after a BMC reset.
Dhruvaraj Subhashchandran39179e52017-12-17 12:06:23 -060034# The reset-sensor-states function will reset the host
Andrew Geissler7a4341e2018-03-13 11:46:27 -070035# sensors on a BMC reset or system power loss.
36# Neither is required for host state function but are
37# recommended to deal properly with these reset scenarios.
38RRECOMMENDS_${PN}-host = "${PN}-host-check ${PN}-reset-sensor-states"
Patrick Williams267c0bb2017-01-19 21:20:46 -060039
Andrew Geissler77cfb0f2020-01-14 14:21:24 -060040# The obmc-targets are the base targets required to boot a computer system
41RRECOMMENDS_${PN}-host += "${PN}-obmc-targets"
42
Andrew Geisslerc1debbb2019-12-11 14:51:20 -060043inherit meson pkgconfig
Patrick Williams267c0bb2017-01-19 21:20:46 -060044inherit obmc-phosphor-dbus-service
45
Patrick Williams267c0bb2017-01-19 21:20:46 -060046DEPENDS += "sdbusplus"
William A. Kennington IIIf0e66742018-10-18 01:34:43 -070047DEPENDS += "sdeventplus"
Patrick Williams267c0bb2017-01-19 21:20:46 -060048DEPENDS += "phosphor-logging"
Patrick Williamsd0486d82017-01-30 11:06:16 -060049DEPENDS += "phosphor-dbus-interfaces"
Brad Bishopcc51cd92018-10-18 17:07:53 -040050DEPENDS += "libcereal"
Andrew Geisslerf26fd902019-09-23 19:11:20 +000051DEPENDS += "nlohmann-json"
52DEPENDS += "cli11"
Patrick Williams267c0bb2017-01-19 21:20:46 -060053
Anthony Wilson3492fb92019-03-30 08:11:32 -070054FILES_${PN}-host = "${bindir}/phosphor-host-state-manager"
Patrick Williams267c0bb2017-01-19 21:20:46 -060055DBUS_SERVICE_${PN}-host += "xyz.openbmc_project.State.Host.service"
Andrew Geisslercd2b9462017-07-26 17:53:04 -050056DBUS_SERVICE_${PN}-host += "phosphor-reboot-host@.service"
Andrew Geissler22957e82018-03-27 19:39:05 -070057SYSTEMD_SERVICE_${PN}-host += "phosphor-reset-host-reboot-attempts@.service"
Patrick Williams267c0bb2017-01-19 21:20:46 -060058
Anthony Wilson3492fb92019-03-30 08:11:32 -070059FILES_${PN}-chassis = "${bindir}/phosphor-chassis-state-manager"
Patrick Williams267c0bb2017-01-19 21:20:46 -060060DBUS_SERVICE_${PN}-chassis += "xyz.openbmc_project.State.Chassis.service"
61
Anthony Wilson3492fb92019-03-30 08:11:32 -070062FILES_${PN}-chassis += "${bindir}/obmcutil"
63
64FILES_${PN}-bmc = "${bindir}/phosphor-bmc-state-manager"
Josh Kinga9462882017-01-19 14:04:03 -060065DBUS_SERVICE_${PN}-bmc += "xyz.openbmc_project.State.BMC.service"
66
Anthony Wilson3492fb92019-03-30 08:11:32 -070067FILES_${PN}-discover = "${bindir}/phosphor-discover-system-state"
Michael Tritz1f792e02017-03-31 12:04:32 -050068SYSTEMD_SERVICE_${PN}-discover += "phosphor-discover-system-state@.service"
69
Anthony Wilson3492fb92019-03-30 08:11:32 -070070FILES_${PN}-host-check = "${bindir}/phosphor-host-check"
Andrew Geisslera94faf42017-05-08 15:58:01 -050071SYSTEMD_SERVICE_${PN}-host-check += "phosphor-reset-host-check@.service"
72SYSTEMD_SERVICE_${PN}-host-check += "phosphor-reset-host-running@.service"
73
Dhruvaraj Subhashchandran39179e52017-12-17 12:06:23 -060074SYSTEMD_SERVICE_${PN}-reset-sensor-states += "phosphor-reset-sensor-states@.service"
75
Andrew Geisslerf26fd902019-09-23 19:11:20 +000076FILES_${PN}-systemd-target-monitor = " \
77 ${bindir}/phosphor-systemd-target-monitor \
78 ${sysconfdir}/phosphor-systemd-target-monitor/phosphor-target-monitor-default.json \
79 "
80SYSTEMD_SERVICE_${PN}-systemd-target-monitor += "phosphor-systemd-target-monitor.service"
81
Andrew Geissler73b97112020-04-15 16:02:17 +000082FILES_${PN}-scheduled-host-transition = "${bindir}/phosphor-scheduled-host-transition"
83DBUS_SERVICE_${PN}-scheduled-host-transition += "xyz.openbmc_project.State.ScheduledHostTransition.service"
84
Andrew Geisslera94faf42017-05-08 15:58:01 -050085RESET_CHECK_TMPL = "phosphor-reset-host-check@.service"
86RESET_CHECK_TGTFMT = "obmc-host-reset@{1}.target"
87RESET_CHECK_INSTFMT = "phosphor-reset-host-check@{0}.service"
88RESET_CHECK_FMT = "../${RESET_CHECK_TMPL}:${RESET_CHECK_TGTFMT}.requires/${RESET_CHECK_INSTFMT}"
89
Dhruvaraj Subhashchandran39179e52017-12-17 12:06:23 -060090SENSOR_RESET_TMPL = "phosphor-reset-sensor-states@.service"
91SENSOR_RESET_TGTFMT = "obmc-host-reset@{1}.target"
92SENSOR_RESET_INSTFMT = "phosphor-reset-sensor-states@{0}.service"
93SENSOR_RESET_FMT = "../${SENSOR_RESET_TMPL}:${SENSOR_RESET_TGTFMT}.requires/${SENSOR_RESET_INSTFMT}"
94
Andrew Geisslera94faf42017-05-08 15:58:01 -050095RESET_RUNNING_TMPL = "phosphor-reset-host-running@.service"
96RESET_RUNNING_TGTFMT = "obmc-host-reset@{1}.target"
97RESET_RUNNING_INSTFMT = "phosphor-reset-host-running@{0}.service"
98RESET_RUNNING_FMT = "../${RESET_RUNNING_TMPL}:${RESET_RUNNING_TGTFMT}.requires/${RESET_RUNNING_INSTFMT}"
99
100SYSTEMD_LINK_${PN}-host-check += "${@compose_list_zip(d, 'RESET_CHECK_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_HOST_INSTANCES')}"
101SYSTEMD_LINK_${PN}-host-check += "${@compose_list_zip(d, 'RESET_RUNNING_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_HOST_INSTANCES')}"
102
Dhruvaraj Subhashchandran39179e52017-12-17 12:06:23 -0600103SYSTEMD_LINK_${PN}-reset-sensor-states += "${@compose_list_zip(d, 'SENSOR_RESET_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_HOST_INSTANCES')}"
104
Andrew Geisslera94faf42017-05-08 15:58:01 -0500105# Force the standby target to run the host reset check target
106RESET_TMPL_CTRL = "obmc-host-reset@.target"
Patrick Ventured607cfb2019-04-04 12:15:22 -0700107SYSD_TGT = "multi-user.target"
Andrew Geisslera94faf42017-05-08 15:58:01 -0500108RESET_INSTFMT_CTRL = "obmc-host-reset@{0}.target"
109RESET_FMT_CTRL = "../${RESET_TMPL_CTRL}:${SYSD_TGT}.wants/${RESET_INSTFMT_CTRL}"
110SYSTEMD_LINK_${PN}-host-check += "${@compose_list_zip(d, 'RESET_FMT_CTRL', 'OBMC_HOST_INSTANCES')}"
111
Michael Tritz1f792e02017-03-31 12:04:32 -0500112TMPL = "phosphor-discover-system-state@.service"
113INSTFMT = "phosphor-discover-system-state@{0}.service"
Patrick Ventured607cfb2019-04-04 12:15:22 -0700114FMT = "../${TMPL}:multi-user.target.wants/${INSTFMT}"
Michael Tritz1f792e02017-03-31 12:04:32 -0500115SYSTEMD_LINK_${PN}-discover += "${@compose_list(d, 'FMT', 'OBMC_HOST_INSTANCES')}"
Michael Tritz7199d262017-04-18 17:01:12 -0500116
Andrew Geissler4a0f3322017-07-20 10:28:34 -0500117# Force the shutdown target to run the chassis-poweroff target
118CHASSIS_STOP_TMPL = "obmc-chassis-poweroff@.target"
Andrew Geissler191400b2017-05-26 17:40:03 -0500119HOST_STOP_TGTFMT = "obmc-host-shutdown@{1}.target"
Andrew Geissler4a0f3322017-07-20 10:28:34 -0500120CHASSIS_STOP_INSTFMT = "obmc-chassis-poweroff@{0}.target"
121HOST_STOP_FMT = "../${CHASSIS_STOP_TMPL}:${HOST_STOP_TGTFMT}.requires/${CHASSIS_STOP_INSTFMT}"
122SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_STOP_FMT', 'OBMC_CHASSIS_INSTANCES', 'OBMC_HOST_INSTANCES')}"
Andrew Geissler191400b2017-05-26 17:40:03 -0500123
Andrew Geisslercd2b9462017-07-26 17:53:04 -0500124# Force the host reboot target to run the shutdown target
125HOST_SHUTDOWN_TMPL = "obmc-host-shutdown@.target"
126HOST_REBOOT_TGTFMT = "obmc-host-reboot@{0}.target"
127HOST_SHUTDOWN_INSTFMT = "obmc-host-shutdown@{0}.target"
128HOST_REBOOT_FMT = "../${HOST_SHUTDOWN_TMPL}:${HOST_REBOOT_TGTFMT}.requires/${HOST_SHUTDOWN_INSTFMT}"
129SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_REBOOT_FMT', 'OBMC_HOST_INSTANCES')}"
130
Andrew Geissler510ae372018-03-27 13:56:26 -0700131# And also force the reboot target to call the host startmin service
Andrew Geisslercd2b9462017-07-26 17:53:04 -0500132HOST_REBOOT_SVC = "phosphor-reboot-host@.service"
133HOST_REBOOT_SVC_INST = "phosphor-reboot-host@{0}.service"
134HOST_REBOOT_SVC_FMT = "../${HOST_REBOOT_SVC}:${HOST_REBOOT_TGTFMT}.requires/${HOST_REBOOT_SVC_INST}"
135SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_REBOOT_SVC_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_HOST_INSTANCES')}"
136
Andrew Geissler510ae372018-03-27 13:56:26 -0700137# Force the host-start target to call the host-startmin target
138HOST_STARTMIN_TMPL = "obmc-host-startmin@.target"
139HOST_START_TGTFMT = "obmc-host-start@{0}.target"
140HOST_STARTMIN_INSTFMT = "obmc-host-startmin@{0}.target"
141HOST_START_FMT = "../${HOST_STARTMIN_TMPL}:${HOST_START_TGTFMT}.requires/${HOST_STARTMIN_INSTFMT}"
142SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_START_FMT', 'OBMC_HOST_INSTANCES')}"
143
Andrew Geissler22957e82018-03-27 19:39:05 -0700144# Force the host-start target to call the reboot count reset service
145HOST_RST_RBT_ATTEMPTS_SVC = "phosphor-reset-host-reboot-attempts@.service"
146HOST_RST_RBT_ATTEMPTS_SVC_INST = "phosphor-reset-host-reboot-attempts@{0}.service"
147HOST_RST_RBT_ATTEMPTS_SVC_FMT = "../${HOST_RST_RBT_ATTEMPTS_SVC}:${HOST_START_TGTFMT}.requires/${HOST_RST_RBT_ATTEMPTS_SVC_INST}"
148SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_RST_RBT_ATTEMPTS_SVC_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_HOST_INSTANCES')}"
149
Andrew Geissleraccb4842020-02-10 13:47:12 -0600150# Force warm reboot target to call soft power off
151HOST_WARM_REBOOT_TGTFMT = "obmc-host-warm-reboot@{0}.target"
152HOST_WARM_REBOOT_SOFT_SVC = "xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service"
153HOST_WARM_REBOOT_SOFT_SVC_FMT = "../${HOST_WARM_REBOOT_SOFT_SVC}:${HOST_WARM_REBOOT_TGTFMT}.requires/${HOST_WARM_REBOOT_SOFT_SVC}"
154SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_WARM_REBOOT_SOFT_SVC_FMT', 'OBMC_HOST_INSTANCES')}"
155
156# Force warm reboot target to call host stop
157HOST_WARM_REBOOT_STOP_TMPL="obmc-host-stop@.target"
158HOST_WARM_REBOOT_STOP_REQUIRES="obmc-host-force-warm-reboot@{0}.target"
159HOST_WARM_REBOOT_STOP_TMPL_INST="obmc-host-stop@{0}.target"
160HOST_WARM_REBOOT_STOP_TARGET_FMT = "../${HOST_WARM_REBOOT_STOP_TMPL}:${HOST_WARM_REBOOT_STOP_REQUIRES}.requires/${HOST_WARM_REBOOT_STOP_TMPL_INST}"
161SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_WARM_REBOOT_STOP_TARGET_FMT', 'OBMC_HOST_INSTANCES')}"
162
163# Force warm reboot target to call reboot host
164HOST_WARM_REBOOT_FORCE_TGTFMT = "obmc-host-force-warm-reboot@{0}.target"
165HOST_WARM_REBOOT_SVC = "phosphor-reboot-host@.service"
166HOST_WARM_REBOOT_SVC_INST = "phosphor-reboot-host@{0}.service"
167HOST_WARM_REBOOT_SVC_FMT = "../${HOST_WARM_REBOOT_SVC}:${HOST_WARM_REBOOT_FORCE_TGTFMT}.requires/${HOST_WARM_REBOOT_SVC_INST}"
168SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_WARM_REBOOT_SVC_FMT', 'OBMC_HOST_INSTANCES')}"
169
170# Warm reboot to call force warm reboot
171# Warm reboot will be graceful due to to it also containing soft power off
172HOST_WARM_REBOOT_FORCE_TGT = "obmc-host-force-warm-reboot@.target"
173HOST_WARM_REBOOT_FORCE_TARGET_FMT = "../${HOST_WARM_REBOOT_FORCE_TGT}:${HOST_WARM_REBOOT_TGTFMT}.requires/${HOST_WARM_REBOOT_FORCE_TGTFMT}"
174SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_WARM_REBOOT_FORCE_TARGET_FMT', 'OBMC_HOST_INSTANCES')}"
175
176# Diagnostic target to call force warm reboot target
177HOST_DIAG_TGTFMT = "obmc-host-diagnostic-mode@0.target"
178HOST_DIAG_TARGET_FMT = "../${HOST_WARM_REBOOT_FORCE_TGT}:${HOST_DIAG_TGTFMT}.requires/${HOST_WARM_REBOOT_FORCE_TGTFMT}"
179SYSTEMD_LINK_${PN}-host += "${@compose_list_zip(d, 'HOST_DIAG_TARGET_FMT', 'OBMC_HOST_INSTANCES')}"
Andrew Geissler77cfb0f2020-01-14 14:21:24 -0600180
181# Chassis power synchronization targets
182# - start-pre: Services to run before we start power on process
183# - start: Services to run to do the chassis power on
184# - on: Services to run once power is on
185# - stop-pre,stop,off: Same as above but applied to powering off
186# - reset-on: Services to check if chassis power is on after bmc reset
187CHASSIS_SYNCH_TARGETS = "start-pre start on stop-pre stop off reset-on"
188
189# Chassis action power targets
190# - on: Services to run to power on the chassis
191# - off: Services to run to power off the chassis
192# - powered-off: Services to run once chassis power is off
193# - reset: Services to check chassis power state and update chassis "on" target
194# - hard-off: Services to force an immediate power off of the chassis
195CHASSIS_ACTION_TARGETS = "poweron poweroff powered-off powerreset hard-poweroff"
196
197# Track all host synchronization point targets
198# - start-pre: Services to run before we start host boot
199# - starting: Services to run to do the host boot
200# - started: Services to run once the host is booted
201# - stop-pre,stopping,stopped: Same as above but applied to shutting down the host
202# - reset-running: Services to check if host is running after bmc reset
203HOST_SYNCH_TARGETS = "start-pre starting started stop-pre stopping stopped reset-running"
204
205# Track all host action targets
206# - start: Will run startmin target, this target used for any additional
207# services that user needs for an initial power on of host.
208# For example, resetting the host reboot count could be put in
209# this target so on any fresh power on, this count is reset.
210# - startmin: Minimum services required to start the host. This target will
211# be called by reboot and start target.
212# - stop: Services to run to shutdown the host
213# - quiesce: Target to enter on host boot failure
214# - shutdown: Tell host to shutdown, then stop system
215# - reset: Services to check if host is running and update host "start" target
216# - crash: Target to run when host crashes. it is very much similar to
217# quiesce target but the only delta is that this target contains
218# multiple services and one of them is the quiesce target.
219# - timeout: Target to run when host watchdog times out
Andrew Geissleraccb4842020-02-10 13:47:12 -0600220# - reboot: Reboot the host with a chassis power cycle included
221# - warm-reboot: Reboot the host without a chassis power cycle.
222# - force-warm-reboot: Reboot the host without a chassis power cycle and without
223# notifying the host.
224# - diagnostic-mode: This will be entered when the host is collecting diagnostic
225# data for itself.
226HOST_ACTION_TARGETS = "start startmin stop quiesce reset shutdown crash timeout "
227HOST_ACTION_TARGETS += "reboot warm-reboot force-warm-reboot diagnostic-mode"
Andrew Geissler77cfb0f2020-01-14 14:21:24 -0600228
229CHASSIS_SYNCH_FMT = "obmc-power-{0}@.target"
230CHASSIS_ACTION_FMT = "obmc-chassis-{0}@.target"
231HOST_SYNCH_FMT = "obmc-host-{0}@.target"
232HOST_ACTION_FMT = "obmc-host-{0}@.target"
233
234CHASSIS_LINK_SYNCH_FMT = "${CHASSIS_SYNCH_FMT}:obmc-power-{0}@{1}.target"
235CHASSIS_LINK_ACTION_FMT = "${CHASSIS_ACTION_FMT}:obmc-chassis-{0}@{1}.target"
236HOST_LINK_SYNCH_FMT = "${HOST_SYNCH_FMT}:obmc-host-{0}@{1}.target"
237HOST_LINK_ACTION_FMT = "${HOST_ACTION_FMT}:obmc-host-{0}@{1}.target"
238FAN_LINK_FMT = "obmc-fan-control-ready@.target:obmc-fan-control-ready@{0}.target"
239
240# Targets to be executed on checkstop and watchdog timeout
241HOST_ERROR_TARGETS = "crash timeout"
242
243QUIESCE_TMPL = "obmc-host-quiesce@.target"
244CRASH_TIMEOUT_TGTFMT = "obmc-host-{0}@{1}.target"
245QUIESCE_INSTFMT = "obmc-host-quiesce@{1}.target"
246QUIESCE_FMT = "../${QUIESCE_TMPL}:${CRASH_TIMEOUT_TGTFMT}.wants/${QUIESCE_INSTFMT}"
247
248SYSTEMD_SERVICE_${PN}-obmc-targets += " \
249 obmc-mapper.target \
250 obmc-fans-ready.target \
251 obmc-fan-control.target \
252 obmc-fan-control-ready@.target \
253 obmc-fan-watchdog-takeover.target \
254 "
255
256SYSTEMD_SERVICE_${PN}-obmc-targets += "${@compose_list(d, 'CHASSIS_SYNCH_FMT', 'CHASSIS_SYNCH_TARGETS')}"
257SYSTEMD_SERVICE_${PN}-obmc-targets += "${@compose_list(d, 'CHASSIS_ACTION_FMT', 'CHASSIS_ACTION_TARGETS')}"
258SYSTEMD_SERVICE_${PN}-obmc-targets += "${@compose_list(d, 'HOST_SYNCH_FMT', 'HOST_SYNCH_TARGETS')}"
259SYSTEMD_SERVICE_${PN}-obmc-targets += "${@compose_list(d, 'HOST_ACTION_FMT', 'HOST_ACTION_TARGETS')}"
260
261SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'CHASSIS_LINK_SYNCH_FMT', 'CHASSIS_SYNCH_TARGETS', 'OBMC_CHASSIS_INSTANCES')}"
262SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'CHASSIS_LINK_ACTION_FMT', 'CHASSIS_ACTION_TARGETS', 'OBMC_CHASSIS_INSTANCES')}"
263SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'HOST_LINK_SYNCH_FMT', 'HOST_SYNCH_TARGETS', 'OBMC_HOST_INSTANCES')}"
264SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'HOST_LINK_ACTION_FMT', 'HOST_ACTION_TARGETS', 'OBMC_HOST_INSTANCES')}"
265SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'FAN_LINK_FMT', 'OBMC_CHASSIS_INSTANCES')}"
266SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'QUIESCE_FMT', 'HOST_ERROR_TARGETS', 'OBMC_HOST_INSTANCES')}"
267
Patrick Williams267c0bb2017-01-19 21:20:46 -0600268SRC_URI += "git://github.com/openbmc/phosphor-state-manager"
Andrew Geissler0a4d5902020-08-27 18:01:49 +0000269SRCREV = "44c223ce1a31bceaf1f9f71f5026d683451bd430"
Patrick Williams267c0bb2017-01-19 21:20:46 -0600270
271S = "${WORKDIR}/git"