phosphor-state-manager: srcrev bump 1fc48456ac..d93da77590
Andrew Geissler (11):
pinhole: move gpio function to utils
pinhole: check for bmc reset reason
pinhole: utility interface to create errors
pinhole: generate log when pinhole reset occurs
pinhole: do not log power loss error on pinhole
pinhole: move power policy service to utils
pinhole: no power restore policy on pinhole reset
ups: check state on startup and update power status
ups: watch for property changes
ups: do not power on if power status is bad
add namespace on setProperty
Includes support for new chassis-check-power-status package.
Change-Id: I5f8e95027dd324038f84e1f567f19aecc43e3d22
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
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 6cee302..c93503e 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
@@ -86,6 +86,14 @@
ln -s $TARGET $LINK
}
+pkg_postinst:${PN}-chassis-check-power-status:append() {
+
+ mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires
+ LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires/phosphor-chassis-check-power-status@0.service"
+ TARGET="../phosphor-chassis-check-power-status@.service"
+ ln -s $TARGET $LINK
+}
+
pkg_prerm:${PN}-obmc-targets:append() {
LINK="$D$systemd_system_unitdir/multi-user.target.requires/obmc-host-reset@0.target"
@@ -142,3 +150,9 @@
LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@0.target.wants/phosphor-clear-one-time@0.service"
rm $LINK
}
+
+pkg_prerm:${PN}-chassis-check-power-status:append() {
+
+ LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires/phosphor-chassis-check-power-status@0.service"
+ rm $LINK
+}