Witherspoon: Destroy invalid inventory on startup

During development, the inventory name of the power supplies
changed from power_supply to powersupply.  Because the
inventory manager persists everything, systems that were
code updated to a level that had the name change would now
show both the old and new names in the inventory.

This commit adds a rule to the inventory manager to destroy
the old objects with the old name when it starts up.

Resolves openbmc/openbmc#2726

Change-Id: Id9f68d686fbc4d8959113593f4c5837c31a73c19
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
3 files changed
tree: 637531d851a07c2bf9d86866528586d2ce30fe52
  1. classes/
  2. common/
  3. conf/
  4. meta-ibm/
  5. meta-ingrasys/
  6. meta-rackspace/
  7. COPYING.apache-2.0
  8. COPYING.MIT
  9. LICENSE
  10. README.md
README.md

OpenPOWER

meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.