commit | 897ae72f1790817c67aa2e3a87cc0992eb997959 | [log] [tgz] |
---|---|---|
author | Thang Tran <thuutran@amperecomputing.com> | Sun Mar 06 10:26:18 2022 +0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Mar 14 23:52:25 2022 +0000 |
tree | e38fda07f3d91d3989ef5aa8418cf60ccac92e51 | |
parent | 27a62ecab8ff322da41f53a1ffd0b2ca60eed7a9 [diff] |
add try-catch when call setAttention method Currently, users can use btbridge/ssifbridge/kcsbridge to interact BMC and HOST. But only btbridge define "org.openbmc.HostIpmi", therefore, if the platform does not use btbridge, host-ipmid will throw an exception when try to check the status of HOST when call setAttention method. This commit adds the try-catch to make platform still work moothly when uses ssifbridge/kcsbridge. Tested: 1. Use ssifbridge to interact BMC and HOST. 2. Check Host condition. busctl introspect xyz.openbmc_project.Control.Host \ /xyz/openbmc_project/control/host0 3. Display information of "/xyz/openbmc_project/control/host0" Signed-off-by: Thang Tran <thuutran@amperecomputing.com> Change-Id: I63e584c1f89c6b31de4fa66beb3f0e0b6bdf5e0f
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.