From 97466ae307a67c30d592c9d97a1e9d6e458e0e5b Mon Sep 17 00:00:00 2001 From: George Hung Date: Wed, 28 Jul 2021 10:47:49 +0800 Subject: meta-quanta: gbs: update the related states D-bus service name Since x86-power-control add multi-node support, the all related states D-bus service name add the node instance additionally Thus, update the Chassis/Host/RestartCause D-bus service name for all related scripts/services Signed-off-by: George Hung Change-Id: If6ba080ff8757e01e230ee7d636e293922cdc127 --- meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit') diff --git a/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh b/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh index 8b660c2dc..17074ddaf 100644 --- a/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh +++ b/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh @@ -221,7 +221,7 @@ parse_pe_fru() { } check_power_status() { - res0="$(busctl get-property -j xyz.openbmc_project.State.Chassis \ + res0="$(busctl get-property -j xyz.openbmc_project.State.Chassis0 \ /xyz/openbmc_project/state/chassis0 xyz.openbmc_project.State.Chassis \ CurrentPowerState | jq -r '.["data"]')" echo $res0 @@ -260,7 +260,7 @@ main() { set_gpio_persistence echo "Starting host power!" >&2 - busctl set-property xyz.openbmc_project.State.Host \ + busctl set-property xyz.openbmc_project.State.Host0 \ /xyz/openbmc_project/state/host0 \ xyz.openbmc_project.State.Host \ RequestedHostTransition s \ -- cgit v1.2.3