nvmesensor: fix SdBusError crash during host warm-reboot

Port fix from https://github.com/amboar/dbus-sensors/commits/mctp-mi
Background: https://github.com/CodeConstruct/dbus-sensors/issues/1

Tested:
After the fix, the nvmesensor won't crash during host warm-reboot

Google-Bug-Id: 301320438
Change-Id: Iffe54c47958e22367c84394cd71588f31326be0f
Signed-off-by: Jinliang Wang <jinliangw@google.com>
(cherry picked from commit 2dfb61dec61701a3602a5efdddbee03675edfb58)
8 files changed
tree: 60ddedbad7083c172da3cc38ae8e8c7309fc5d09
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  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. LICENSE
  14. 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.