mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 6/7] lshw: Version bump. B.02.14 -> B.02.19.2 + accomodation for hwdata package.
Date: Sat,  8 Jan 2022 19:45:17 +0100	[thread overview]
Message-ID: <20220108184518.3774572-7-christian.melki@t2data.com> (raw)
In-Reply-To: <20220108184518.3774572-1-christian.melki@t2data.com>

Make lshw depend on hwdata-pci and hwdata-usb files.

Remove installation of .ids files, provided by hwdata.
Afaik, oui and manuf databases are not used.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/lshw.in   | 3 +++
 rules/lshw.make | 6 +-----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/rules/lshw.in b/rules/lshw.in
index 6911380f6..c8632f7b4 100644
--- a/rules/lshw.in
+++ b/rules/lshw.in
@@ -7,6 +7,9 @@ menuconfig LSHW
 	select GCCLIBS_CXX
 	select GCCLIBS_GCC_S
 	select GTK if LSHW_GUI
+	select HWDATA		if !SYSTEMD_HWDB
+	select HWDATA_USB	if !SYSTEMD_HWDB
+	select HWDATA_PCI	if !SYSTEMD_HWDB
 	help
 	  lshw (Hardware Lister) is a small tool to provide detailed information
 	  on the hardware configuration of the machine. It can report exact
diff --git a/rules/lshw.make b/rules/lshw.make
index 28dbb6cb7..dadea9f78 100644
--- a/rules/lshw.make
+++ b/rules/lshw.make
@@ -14,7 +14,7 @@ PACKAGES-$(PTXCONF_LSHW) += lshw
 #
 # Paths and names
 #
-LSHW_VERSION	:= B.02.14
+LSHW_VERSION	:= B.02.19.2
 LSHW_MD5	:= 8bed55768c5cb2ceff062b882a687e9b
 LSHW		:= lshw-$(LSHW_VERSION)
 LSHW_SUFFIX	:= tar.gz
@@ -60,10 +60,6 @@ $(STATEDIR)/lshw.targetinstall:
 	@$(call install_copy, lshw, 0, 0, 0755, -, /usr/sbin/lshw)
 
 	@$(call install_copy, lshw, 0, 0, 0755, /usr/share/lshw)
-	@$(call install_copy, lshw, 0, 0, 0644, -, /usr/share/lshw/pci.ids)
-	@$(call install_copy, lshw, 0, 0, 0644, -, /usr/share/lshw/usb.ids)
-	@$(call install_copy, lshw, 0, 0, 0644, -, /usr/share/lshw/oui.txt)
-	@$(call install_copy, lshw, 0, 0, 0644, -, /usr/share/lshw/manuf.txt)
 
 ifdef PTXCONF_LSHW_GUI
 	@$(call install_copy, lshw, 0, 0, 0755, -, /usr/sbin/gtk-lshw)
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  parent reply	other threads:[~2022-01-08 18:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08 18:45 [ptxdist] [PATCH 0/7] Hwdata introduction Christian Melki
2022-01-08 18:45 ` [ptxdist] [PATCH 1/7] hwdata: New package Christian Melki
2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-08 18:45 ` [ptxdist] [PATCH 2/7] usbutils: Version bump 007 -> 014 Christian Melki
2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-08 18:45 ` [ptxdist] [PATCH 3/7] pciutils: Update to accomodate for hwdata package Christian Melki
2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-08 18:45 ` [ptxdist] [PATCH 4/7] usbip: " Christian Melki
2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-08 18:45 ` [ptxdist] [PATCH 5/7] libpciaccess: " Christian Melki
2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-08 18:45 ` Christian Melki [this message]
2022-01-21  7:19   ` [ptxdist] [APPLIED] lshw: Version bump. B.02.14 -> B.02.19.2 + accomodation " Michael Olbrich
2022-01-08 18:45 ` [ptxdist] [PATCH 7/7] udev: Update to accomodate " Christian Melki
2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220108184518.3774572-7-christian.melki@t2data.com \
    --to=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox