[PATCH skeleton] Remove CHASSIS_2 from Barreleye.py

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Apr 28 08:40:51 AEST 2016


From: Adriana Kobylak <anoo at us.ibm.com>

FRU_ID 2 corresponds to CPU1 and it doesn't have a CHASSIS section,
so removing CHASSIS_2 since it causes an error on parsing the vpd
data from hostboot and therefore it doesn't get added to the
inventory.
---
 bin/Barreleye.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bin/Barreleye.py b/bin/Barreleye.py
index 09fefa0..0cf55a1 100755
--- a/bin/Barreleye.py
+++ b/bin/Barreleye.py
@@ -385,7 +385,6 @@ ID_LOOKUP = {
 		'BOARD_3'    : '<inventory_root>/system/misc',
 		'PRODUCT_51' : '<inventory_root>/system/misc',
 		'PRODUCT_100': '<inventory_root>/system',
-		'CHASSIS_2'  : '<inventory_root>/system/chassis',
 		'CHASSIS_100': '<inventory_root>/system/chassis',
 		'BOARD_100'  : '<inventory_root>/system/chassis/io_board',
 		'BOARD_101'  : '<inventory_root>/system/chassis/sas_expander',
-- 
2.8.1




More information about the openbmc mailing list