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 | |
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')
-rw-r--r-- | meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc | 14 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb | 3 |
2 files changed, 1 insertions, 16 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 diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb index acc96e18d..b110fe148 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb @@ -82,7 +82,6 @@ FILES_${PN}-discover = "${bindir}/phosphor-discover-system-state" SYSTEMD_SERVICE_${PN}-discover += "phosphor-discover-system-state@.service" FILES_${PN}-host-check = "${bindir}/phosphor-host-check" -SYSTEMD_SERVICE_${PN}-host-check += "phosphor-reset-host-check@.service" SYSTEMD_SERVICE_${PN}-host-check += "phosphor-reset-host-running@.service" SYSTEMD_SERVICE_${PN}-reset-sensor-states += "phosphor-reset-sensor-states@.service" @@ -183,6 +182,6 @@ SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'FAN_LINK_FMT', 'OBMC_CHA SYSTEMD_LINK_${PN}-obmc-targets += "${@compose_list(d, 'QUIESCE_FMT', 'HOST_ERROR_TARGETS', 'OBMC_HOST_INSTANCES')}" SRC_URI += "git://github.com/openbmc/phosphor-state-manager" -SRCREV = "65bfcf57920d6fac62dbc9dd4a4fabdfe0c53228" +SRCREV = "0d1c3f1f9329c853677f0581287afef83eeea0f0" S = "${WORKDIR}/git" |