diff options
author | Andrew Geissler <openbmcbump-github@yahoo.com> | 2021-09-17 21:01:30 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2021-09-20 03:47:18 +0300 |
commit | ef50c6af5d004b43308f350310e02c138fa9f533 (patch) | |
tree | b64856740017d672847d8b2a95b65d28e563d00a /meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc | |
parent | 27ed9a21506eb37dc645921cf39b5a94fd5a5cec (diff) | |
download | openbmc-ef50c6af5d004b43308f350310e02c138fa9f533.tar.xz |
phosphor-state-manager: srcrev bump 2bfb1efc4b..5f8e04a6e1
Andrew Geissler (6):
lg2: convert bmc state manager
bmc-reset: check host boot progress prior to reset
bmc-reset: create error if host was running
bmc-reset: ensure chassis power on target complete
bmc-reset: move to quiesce if host was running
bmc-reset: add service to launch new host recovery
Add new service to install image
Change-Id: I2b3aa0c8c80450295e7884ece74ad9729d3bd66e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc')
-rw-r--r-- | meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc index c692c6163..6cee30287 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc +++ b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc @@ -9,6 +9,11 @@ pkg_postinst:${PN}-obmc-targets:append() { TARGET="../phosphor-discover-system-state@.service" ln -s $TARGET $LINK + mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants + LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants/phosphor-reset-host-recovery@0.service" + TARGET="../phosphor-reset-host-recovery@.service" + ln -s $TARGET $LINK + mkdir -p $D$systemd_system_unitdir/obmc-host-start@0.target.requires LINK="$D$systemd_system_unitdir/obmc-host-start@0.target.requires/obmc-host-startmin@0.target" TARGET="../obmc-host-startmin@.target" @@ -89,6 +94,9 @@ pkg_prerm:${PN}-obmc-targets:append() { LINK="$D$systemd_system_unitdir/multi-user.target.requires/phosphor-discover-system-state@0.service" rm $LINK + LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants/phosphor-reset-host-recovery@0.service" + rm $LINK + LINK="$D$systemd_system_unitdir/obmc-host-start@0.target.requires/obmc-host-startmin@0.target" rm $LINK |