libpldmresponder: fix an eternal hang in requesting bus name
If oem-ibm is disabled, but system-specific-bios-json option is enabled
pldmd fails to start since its timing out waiting to request the bus
name. This fix also breaks the dependency between the above two meson
options.
Tested:
- Was able to successfully start pldm service and see that the bus
name was claimed with oem-ibm disabled & system-specific-bios-json
enabled.
Change-Id: Ie78521017ea20b7503b4425bf4c2f605c884ef1d
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/libpldmresponder/bios_config.cpp b/libpldmresponder/bios_config.cpp
index 9883075..2b1a901 100644
--- a/libpldmresponder/bios_config.cpp
+++ b/libpldmresponder/bios_config.cpp
@@ -92,6 +92,7 @@
{
error("System specific bios attribute directory {DIR} does not exit",
"DIR", dir);
+ requestPLDMServiceName();
return;
}
constructAttributes();