commit | 54fa13068e049ac8fe866ad2d96f89f1623c6645 | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Mon May 07 01:06:23 2018 -0500 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue May 08 21:53:13 2018 +0000 |
tree | 54b5762f370809de63d10901a637621a1816d7a8 | |
parent | 8171970a5ecfa1aa5b8b80b4418bf0f9fd8304e8 [diff] |
Fix get boot options returning unexpected results Get boot options is returning wrong value when boot device is set to cdrom followed by setting boot device to bios. In the IPMI spec the boot device selector has options for both "boot source" (default/disk/crdom/network) and "boot mode" (default/bios/safe/diag). Since this isn't a bit field, you can't override for eg both the source and mode at the same time. The solution is if a set boot device is mapping to a boot source, then reset the boot mode D-Bus property to default, or vice versa. This way the ipmid code can determine which property is not at the default value Resolves openbmc/openbmc#3067 Resolves openbmc/openbmc#3068 Change-Id: I072c82a161d56f118510fe1f9e5c75cb5c610295 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
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
.