How to add pciutils package in yocto AGL?

2019-06-11 07:11发布

问题:

I have built Yocto AGL(6.0.0) image for RCar-salvator-xs board and flashed its hyperflash memory. Now, I want to perform PCIe related investigation, for that I want to use lspci command. But, After ligging in as a root in flashed AGL image and executing lspci command it gives command not found.

How can I include pciutils in AGL source code and build it to use lspci command.

I am new to Yocto and AGL.

Any help will be much appreciated.

回答1:

You can add

IMAGE_INSTALL += "pciutils"

or

IMAGE_INSTALL_append = "pciutils"

in conf/local.conf or in your image recipe.