gbmc-release-23.18.x: Fix PCIeDeviceCollectionGet

Two issues with current implementation:

1. Our systems dont have our PCIeDevices as xyz.openbmc_project.Inventory.Item.PCIeDevice but rather xyz.openbmc_project.Inventory.Item.PCIe.Device

2. Subtree that is queried is /xyz/openbmc_project/inventory but our PCIe objects are under /xyz/openbmc_project/PCIe

PCIe Util function exists and does the job already so switching over to that.

Tested: Queried PCIeDevices and Collection resource along with expand.

Cherry-picking `https://gbmc-private-review.git.corp.google.com/c/gbmcweb/+/3960` into 23.18.x

Google-Bug-Id: 291105003
Change-Id: Iee8b225b229e5ca16a535c1308f7dabf99fee608
Signed-off-by: Edward Lee <edwarddl@google.com>
2 files changed
tree: 0340583a2374af52cb52fed3422aa8325d89c378
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. LICENSE
  12. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.