Add PDR and BIOS support for Balcones
This commit adds the necessary changes needed to support the new
Balcones system. Below are the main changes
1. Sensors and effecters for Memory Boards
2. Sensors and effecters for single Cable Card
3. Power states for nvme drives
Tested By:
Tested with different system configurations and verified that
both PDR and BIOS tables are picked up correctly according
to the system specific json files
oem-ibm flag:
Change successfully built with -Doem-ibm=disabled
Change-Id: Ic39b7078f8a19ca00dec7ce8b4014ee2659b7776
Signed-off-by: Jayashankar Padath <jayashankarpadath@gmail.com>
diff --git a/libpldmresponder/bios_config.cpp b/libpldmresponder/bios_config.cpp
index 6b1b918..401877c 100644
--- a/libpldmresponder/bios_config.cpp
+++ b/libpldmresponder/bios_config.cpp
@@ -87,9 +87,9 @@
{
sysType = systemType;
fs::path dir{jsonDir / sysType};
- if (!fs::exists(dir))
+ if (!fs::exists(dir) && !fs::is_symlink(dir))
{
- error("System specific bios attribute directory {DIR} does not exit",
+ error("System specific bios attribute directory {DIR} does not exist",
"DIR", dir);
if (registerService)
{