summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2016-09-30 10:52:29 -0500
committerMatt Spinler <spinler@us.ibm.com>2016-09-30 10:52:29 -0500
commit9596f9a92c7ddd83face8bb9cd5540a4633c2bc6 (patch)
tree5523459e928e314758d3fba0b03508b58318ae5a
parent1e3881219bca043fbb1cd65445a62ee2afc1e0c6 (diff)
downloadphosphor-mrw-tools-9596f9a92c7ddd83face8bb9cd5540a4633c2bc6.tar.gz
phosphor-mrw-tools-9596f9a92c7ddd83face8bb9cd5540a4633c2bc6.zip
Adjust motherboard and memory buffer fru_types.
IPMI code is hardcoded to look for MAIN_PLANAR and MEMORY_BUFFER, so make sure it can find them. Resolves openbmc/openbmc#604. Change-Id: I9b1b3bfa98bfd0a72f7f29c147b45f5b699272e2 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rwxr-xr-xinventory.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/inventory.pl b/inventory.pl
index 13c3df1..75c4241 100755
--- a/inventory.pl
+++ b/inventory.pl
@@ -118,7 +118,9 @@ sub transform
renameType("NODE", "SYSTEM", $items);
renameSegmentWithTargetType("card-motherboard", "motherboard", $items);
- renameTypeWithTargetType("card-motherboard", "MOTHERBOARD", $items);
+ renameTypeWithTargetType("card-motherboard", "MAIN_PLANAR", $items);
+
+ renameType("MEMBUF", "MEMORY_BUFFER", $items);
renameType("FSP", "BMC", $items);
OpenPOWER on IntegriCloud