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 <anoo@us.ibm.com>
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 @@
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',