[Buildroot] [git commit branch/2022.05.x] package/lshw: also uses hwdata's PNP IDs

Peter Korsgaard peter at korsgaard.com
Wed Sep 14 19:03:03 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=98690b10d483728a27fd5b6c0089147075dcb379
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.05.x

Commit 29bccabdebff (lshw: use data files provided by hwdata) removed
the hardware info DBs installed by lshw, in favour of those provided by
hwdata, as the former are way out-dated while the latter are more
up-to-date.

However, it forgot to also select the PNP ID database, to replace the
one lshw would install.

Signed-off-by: Yann E. MORIN <yann.morin at orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit c6241bc2ca335a405f1ccf387d5d77ad141277a2)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/lshw/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/lshw/Config.in b/package/lshw/Config.in
index 5e0e47b6e2..fb557aacff 100644
--- a/package/lshw/Config.in
+++ b/package/lshw/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LSHW
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_HWDATA # runtime
 	select BR2_PACKAGE_HWDATA_PCI_IDS
+	select BR2_PACKAGE_HWDATA_PNP_IDS
 	select BR2_PACKAGE_HWDATA_USB_IDS
 	help
 	  lshw (Hardware Lister) is a small tool to provide



More information about the buildroot mailing list