Remove non-FRU card segments from Inventory path.

If a card in the middle of the name hierarchy
isn't a FRU, we can remove it.

For example, motherboard/non-fru-card/fru-card
will be motherboard/fru-card.

Change-Id: Idf7348401f787c7ce2a58270b50c117714899a85
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: f550f9e0f3b03d1ef2a89495b7cf697a9ced39dc
  1. docs/
  2. gen_devtree.pl
  3. inventory.pl
  4. Inventory.pm
  5. LICENSE
  6. patchxml.py