lshw: use data files provided by hwdata
authorCarlos Santos <casantos@datacom.ind.br>
Sun, 28 Jan 2018 04:43:58 +0000 (02:43 -0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 26 Mar 2018 21:10:35 +0000 (23:10 +0200)
commit29bccabdebff7b43189b0eed2090dc4858e1afca
tree6497bb6299fd6f689321e9024840ab3677558d61
parent7cbfcb322c42caa8b3c3651df8a0b7696f04a99c
lshw: use data files provided by hwdata

lshw is seldomly released, so its data files become easily
outdated. Instead, this commit makes use of the data files provided by
hwdata. This is easily possible because lshw looks for the files in
several directories, including /usr/share/hwdata, where the hwdata
collection is installed.

We remove the entire /usr/share/lshw directory, where the not very
up-to-date data files where installed. Four files were installed
there: pci.ids, usb.ids (which are now provided by hwdata), manuf.txt
and oui.txt (which are not used at run time).

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Thomas:
 - rework commit log
 - replace patch by a simple removal of the /usr/share/lshw directory
 - add "runtime" comment in Config.in for the BR2_PACKAGE_LSHW
   dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/lshw/Config.in
package/lshw/lshw.mk