diff options
author | George Hung <george.hung@quantatw.com> | 2021-08-19 05:27:09 +0300 |
---|---|---|
committer | George Hung <george.hung@quantatw.com> | 2021-08-19 11:31:02 +0300 |
commit | 76c47ec7fe877f8a1841d878910f613e8f908cf6 (patch) | |
tree | 837ac48740b2650b7338e30794eb44a372c566fb /meta-quanta/meta-gbs/recipes-gbs | |
parent | 435073fb0512ab366c441a6969d0a0b977609b23 (diff) | |
download | openbmc-76c47ec7fe877f8a1841d878910f613e8f908cf6.tar.xz |
Revert "meta-quanta: gbs: update the related states D-bus service name"
This reverts commit 97466ae307a67c30d592c9d97a1e9d6e458e0e5b.
Reason for revert: x86-power-control supports DBUS service name
numbering for single and multi hosts now.
ref: https://gerrit.openbmc-project.xyz/45004
Change-Id: Id1fb9e61a10a457158c52990fe6c196d6fc44708
Signed-off-by: George Hung <george.hung@quantatw.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-gbs')
-rw-r--r-- | meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.sh | 4 | ||||
-rw-r--r-- | meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.sh b/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.sh index 4723c20b4..a80082a1c 100644 --- a/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.sh +++ b/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.sh @@ -1,6 +1,6 @@ #!/bin/bash -BOOT_SERVICE_NAME="xyz.openbmc_project.State.Host0" +BOOT_SERVICE_NAME="xyz.openbmc_project.State.Host" BOOT_STATUS_OBJPATH="/xyz/openbmc_project/state/os" BOOT_INTERFACE_NAME="xyz.openbmc_project.State.OperatingSystem.Status" BOOT_Property="OperatingSystemState" @@ -11,7 +11,7 @@ LED_STANDBY_OBJPATH="/xyz/openbmc_project/led/groups/boot_status_standby" LED_INTERFACE_NAME="xyz.openbmc_project.Led.Group" LED_Property="Asserted" -PWR_STATE_SERVICE="xyz.openbmc_project.State.Chassis0" +PWR_STATE_SERVICE="xyz.openbmc_project.State.Chassis" PWR_STATE_OBJPATH="/xyz/openbmc_project/state/chassis0" PWR_STATE_INTERFACE_NAME="xyz.openbmc_project.State.Chassis" PWR_STATE_Property="CurrentPowerState" 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 17074ddaf..8b660c2dc 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.Chassis0 \ + res0="$(busctl get-property -j xyz.openbmc_project.State.Chassis \ /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.Host0 \ + busctl set-property xyz.openbmc_project.State.Host \ /xyz/openbmc_project/state/host0 \ xyz.openbmc_project.State.Host \ RequestedHostTransition s \ |