From 25fbd433ec1bc1ac98668e41bb994ccfe6d207dc Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Tue, 7 Aug 2018 13:54:39 -0500 Subject: gen_pimrules: Update the Boot Progress Sensor The boot progress sensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. (Reference: the phosphor-ipmi-sensor-inventory%/config.yaml files under the openbmc/openbmc repository). Update gen_pimrules with the correct sensor path and value. Tested: Verified Witherspoon powered on to the Host OS. Change-Id: I76df4e84176d05804e98e98703796af57d8f9b05 Signed-off-by: Adriana Kobylak --- scripts/gen_pimrules.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/gen_pimrules.py b/scripts/gen_pimrules.py index 729f095..a529e23 100755 --- a/scripts/gen_pimrules.py +++ b/scripts/gen_pimrules.py @@ -167,10 +167,10 @@ if __name__ == '__main__': cacheable_property='Cached', cacheable_cached='true', cacheable_type='boolean', - on_path='/org/openbmc/sensors/BootProgress', - on_iface='org.openbmc.SensorValue', - on_property='value', - on_value='FW Progress, Starting OS', + on_path='/xyz/openbmc_project/state/host0', + on_iface='xyz.openbmc_project.State.Boot.Progress', + on_property='BootProgress', + on_value='xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart', on_type='string', off_path='/xyz/openbmc_project/state/host0', off_iface='xyz.openbmc_project.State.Host', -- cgit v1.2.1