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/00d242ad-29e6-337e-a934-74f5354ea9a6 ( platform5)
https://fusion2.corp.google.com/f3426a4a-0c8c-3965-85c2-9c18b26347a0 (platform11)

Google-Bug-Id: 362208338
Change-Id: I9c4f55a7757bb2e9c92cf2c46779e5c20d835a36
Signed-off-by: Kao.Benson <kao.benson@inventec.corp-partner.google.com>
1 file changed
tree: 1ee3082cbe6702cf13fba59994bffbf11707369c
  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-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. 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.