Change OS state busname and objpath
Change the busname and object path of OS state interface.
This commit relies on the patch below:
[1] https://gerrit.openbmc.org/c/openbmc/x86-power-control/+/69589
Change-Id: Ib3d69d73c57b46a88b26b278cf67dfadf1f59025
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
diff --git a/src/peci_pcie.cpp b/src/peci_pcie.cpp
index 63b56cf..4199045 100644
--- a/src/peci_pcie.cpp
+++ b/src/peci_pcie.cpp
@@ -1009,9 +1009,9 @@
waitForOSStandbyDelay(io, objServer, osStandbyTimer, cpuInfo);
}
},
- "xyz.openbmc_project.State.OperatingSystem",
- "/xyz/openbmc_project/state/os", "org.freedesktop.DBus.Properties",
- "Get", "xyz.openbmc_project.State.OperatingSystem.Status",
+ "xyz.openbmc_project.State.Host0", "/xyz/openbmc_project/state/host0",
+ "org.freedesktop.DBus.Properties", "Get",
+ "xyz.openbmc_project.State.OperatingSystem.Status",
"OperatingSystemState");
}