usertools: check for pci.ids in /usr/share/misc
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 12 Mar 2020 16:30:27 +0000 (16:30 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Sat, 25 Apr 2020 19:59:10 +0000 (21:59 +0200)
commit2ad9f1fab883dd4e5ebad7a912f9258cc9f3fbb9
tree1c0e1640425c86c20b6a2d25ead6c2c371d4c96f
parenta658775c57947a50847c1ca01d39de0b81400678
usertools: check for pci.ids in /usr/share/misc

Debian and Ubuntu switched years ago from /usr/share/hwdata to
/usr/share/misc, and the former is just a compat symlink now.
We are starting to get bug reports to nudge us into changing.
So check the new path first, and the old one as a fallback.

Cc: stable@dpdk.org
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Acked-by: David Marchand <david.marchand@redhat.com>
usertools/dpdk-pmdinfo.py