phosphor-state-manager: bump and multi host/chassis support
phosphor-state-manager: srcrev bump 1ab2b6cea6..211d972d75
Adriana Kobylak (1):
chassis: Monitor the PowerSystemInputs for power status
Allen.Wang (2):
host-state-manager: Add multi-host support
chassis-state-manager: Correct poweroff state Unit
Andrew Geissler (2):
ensure bmc-state-manager stays in quiesce state
generate bmc dump on monitored systemd target fail
Brandon Wyman (1):
Correct pinhole reset logic for chassis state
Mike Capps (1):
Set Critical severity for Blackout errors
Patrick Williams (7):
filesystem: use non-experimental version
meson: remove stdc++fs dependency
meson: add subproject wraps for current dependencies
sdbusplus: object: don't use 'bool' argument constructor
meson: add missing dependencies and wraps
crit-service: update defaults for templated Host/Chassis
sched-host-tran: support multi-host
Potin Lai (3):
chassis-state-manager: Add multi-chassis support
discover-system-state: add multi-host support
host-state-manager: fix host0 failure with reading wrong object path
shamim ali (1):
power-on-hours: ensure not incremented when system off
Some commits went into phosphor-state-manager support that starts the
framework to support multiple chassis and hosts within a system. This
commit templates both the host and chassis services.
Change-Id: I19764aa0c625d4d28d8d0e672658f1a3910335af
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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 86415a4..3a4898b 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
@@ -8,6 +8,14 @@
for i in ${OBMC_HOST_INSTANCES};
do
mkdir -p $D$systemd_system_unitdir/multi-user.target.requires
+ LINK="$D$systemd_system_unitdir/multi-user.target.requires/xyz.openbmc_project.State.Host@${i}.service"
+ TARGET="../xyz.openbmc_project.State.Host@.service"
+ ln -s $TARGET $LINK
+
+ LINK="$D$systemd_system_unitdir/multi-user.target.requires/xyz.openbmc_project.State.Chassis@${i}.service"
+ TARGET="../xyz.openbmc_project.State.Chassis@.service"
+ ln -s $TARGET $LINK
+
LINK="$D$systemd_system_unitdir/multi-user.target.requires/obmc-host-reset@${i}.target"
TARGET="../obmc-host-reset@.target"
ln -s $TARGET $LINK
@@ -114,6 +122,12 @@
for i in ${OBMC_HOST_INSTANCES};
do
+ LINK="$D$systemd_system_unitdir/multi-user.target.requires/xyz.openbmc_project.State.Host@${i}.service"
+ rm $LINK
+
+ LINK="$D$systemd_system_unitdir/multi-user.target.requires/xyz.openbmc_project.State.Chassis@${i}.service"
+ rm $LINK
+
LINK="$D$systemd_system_unitdir/multi-user.target.requires/obmc-host-reset@${i}.target"
rm $LINK