summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2018-08-07 13:54:39 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2018-08-07 15:39:24 -0500
commit25fbd433ec1bc1ac98668e41bb994ccfe6d207dc (patch)
treef15e8722265cdfebc3f6735fd624dd47c35cc73a /scripts
parentc19b813e79e71a6b66887434f1dc4468df1d88bf (diff)
downloadipmi-fru-parser-25fbd433ec1bc1ac98668e41bb994ccfe6d207dc.tar.gz
ipmi-fru-parser-25fbd433ec1bc1ac98668e41bb994ccfe6d207dc.zip
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_pimrules.py8
1 files 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',
OpenPOWER on IntegriCloud