dbus-sensors: Corrected condition check for object existence

Tested: confirm sdr list in every AC cycle
:~# ipmitool sdr list
CPU_PROCHOT      | 0x00              | ok
FAN_BRD_CABLE    | 0x00              | ok
FAN_P54V_CABLE   | 0x00              | ok
HSBP_CABLE       | 0x00              | ok
HSBP_P12V_STBY_2 | 0x00              | ok
NCSI_PRSNT       | 0x00              | ok
PG_ALL_FAN       | 0x00              | ok
PG_P3V3_STBY_HSB | 0x00              | ok
PG_P3V3_STBY_U2  | 0x00              | ok
PG_P12V_DDR_ABD  | 0x00              | ok
PG_P12V_DDR_EFH  | 0x00              | ok
PG_P12V_PE0      | 0x00              | ok
PG_P12V_PE1      | 0x00              | ok
PG_P12V_PE2      | 0x00              | ok
SLIMSAS_00_CABLE | 0x00              | ok
SLIMSAS_01_CABLE | 0x00              | ok
SLIMSAS_02_CABLE | 0x00              | ok
SLIMSAS_03_CABLE | 0x00              | ok
THERMTRIP        | 0x00              | ok

Test-Report-Link: https://drive.google.com/drive/folders/1rKiaZKcVBwBp6rMA7gQ_4bvnkQC3xhGF?usp=drive_link

Fusion-Link:
https://fusion2.corp.google.com/df15af80-ffd2-3500-ba3e-b17a47511b2c (platform5)
https://fusion2.corp.google.com/c5adb54c-e8e0-3455-91e5-a2ccd9bc11e1 (platform11)

Google-Bug-Id: 362208338
Change-Id: I9c4f55a7757bb2e9c92cf2c46779e5c20d835a36
Signed-off-by: Kao.Benson <kao.benson@inventec.corp-partner.google.com>
1 file changed
tree: ea01740993bb2c6364dd2d0d404ba1cca49cc710
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-tpm1/
  13. recipes-tpm2/
  14. LICENSE
  15. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.