diff options
author | Willy Tu <wltu@google.com> | 2021-04-27 02:51:50 +0300 |
---|---|---|
committer | Willy Tu <wltu@google.com> | 2021-04-27 03:27:45 +0300 |
commit | 43a03d276f00d2a0fcc7c9fd62aa31ad00a0c183 (patch) | |
tree | ab790dc28c80b368d534b85fc7627983304cad51 /meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-fru-properties | |
parent | b7764809b057ee63690b96bf24a2b99613f75ec0 (diff) | |
download | openbmc-43a03d276f00d2a0fcc7c9fd62aa31ad00a0c183.tar.xz |
gsj: ipmi-fru-properties: Add presence values
The ipmi command checks the FRU device's Present property upon a
FRU device info reading request.
The fru eeprom devices is availabe in dbus, but cannot
be accessed by ipmi.
```
$ ipmitool fru
FRU Device Description : Builtin FRU Device (ID 0)
Device not present (Requested sensor, data, or record not found)
FRU Device Description : hsbp (ID 1)
Device not present (Requested sensor, data, or record not found)
```
Google-Bug-Id: 186454762
Change-Id: I173c8b3a43dc117f026908d035a00cf49a4e90f5
Signed-off-by: Willy Tu <wltu@google.com>
Diffstat (limited to 'meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-fru-properties')
-rw-r--r-- | meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-fru-properties/extra-properties.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-fru-properties/extra-properties.yaml b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-fru-properties/extra-properties.yaml new file mode 100644 index 000000000..8a5668295 --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-fru-properties/extra-properties.yaml @@ -0,0 +1,7 @@ +/system/chassis/bmc: + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system/chassis/hsbp: + xyz.openbmc_project.Inventory.Item: + Present: 'true' |