diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2021-07-27 23:28:58 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2021-08-10 15:13:35 +0300 |
commit | 9b5ed4cc2fdcc2ad4ae320d7fe9206f9d1e153b9 (patch) | |
tree | 8daf375a86cdcda9d8ba418b753eb1a15b76dfa8 /meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc | |
parent | 356f9e1eaf8223f98db58fbe65400d3ad3190f7d (diff) | |
download | openbmc-9b5ed4cc2fdcc2ad4ae320d7fe9206f9d1e153b9.tar.xz |
host-check: check host state on startup of host manager
See this commit for more info on function and testing:
https://github.com/openbmc/phosphor-state-manager/commit/0d1c3f1f9329c853677f0581287afef83eeea0f0
phosphor-state-manager: srcrev bump 65bfcf5792..0d1c3f1f93
Andrew Geissler (1):
host-check: discover host state within state manager
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I04129b1838118efceb1d073539d01d6e1af99eec
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 | 14 |
1 files changed, 0 insertions, 14 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 2c01dea63..92a5f4eea 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 @@ -29,14 +29,6 @@ pkg_postinst_${PN}-obmc-targets_append() { ln -s $TARGET $LINK mkdir -p $D$systemd_system_unitdir/obmc-host-reset@0.target.requires - LINK="$D$systemd_system_unitdir/obmc-host-reset@0.target.requires/phosphor-reset-host-check@0.service" - TARGET="../phosphor-reset-host-check@.service" - ln -s $TARGET $LINK - - LINK="$D$systemd_system_unitdir/obmc-host-reset@0.target.requires/phosphor-reset-sensor-states@0.service" - TARGET="../phosphor-reset-sensor-states@.service" - ln -s $TARGET $LINK - LINK="$D$systemd_system_unitdir/obmc-host-reset@0.target.requires/phosphor-reset-host-running@0.service" TARGET="../phosphor-reset-host-running@.service" ln -s $TARGET $LINK @@ -109,12 +101,6 @@ pkg_prerm_${PN}-obmc-targets_append() { LINK="$D$systemd_system_unitdir/obmc-host-stop@0.target.wants/phosphor-set-host-transition-to-off@0.service" rm $LINK - LINK="$D$systemd_system_unitdir/obmc-host-reset@0.target.requires/phosphor-reset-host-check@0.service" - rm $LINK - - LINK="$D$systemd_system_unitdir/obmc-host-reset@0.target.requires/phosphor-reset-sensor-states@0.service" - rm $LINK - LINK="$D$systemd_system_unitdir/obmc-host-stop@0.target.wants/phosphor-reset-sensor-states@0.service" rm $LINK |