mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Christian Melki <christian.melki@t2data.com>
Subject: Re: [ptxdist] [APPLIED] pciutils: Update to accomodate for hwdata package.
Date: Fri, 21 Jan 2022 08:19:37 +0100	[thread overview]
Message-ID: <20220121071937.1968651-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220108184518.3774572-4-christian.melki@t2data.com>

Thanks, applied as e61ccbcad6537c02ae00477507ef2c6655f22907.

Michael

[sent from post-receive hook]

On Fri, 21 Jan 2022 08:19:36 +0100, Christian Melki <christian.melki@t2data.com> wrote:
> Make pciutils depend on hwdata-pci files.
> 
> Remove compression as all utils may not be able to read
> compressed .ids files.
> 
> Remove update-pciids script. This is done by updating
> hwdata now.
> 
> Remove installation of pci.ids, provided by hwdata.
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20220108184518.3774572-4-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/pciutils.in b/rules/pciutils.in
> index 9f9e93ee7ed9..b4607916fbe4 100644
> --- a/rules/pciutils.in
> +++ b/rules/pciutils.in
> @@ -1,7 +1,8 @@
>  ## SECTION=shell_and_console
>  menuconfig PCIUTILS
> -	select ZLIB	if PCIUTILS_COMPRESS
> -	select LIBKMOD	if PCIUTILS_LIBKMOD
> +	select LIBKMOD		if PCIUTILS_LIBKMOD
> +	select HWDATA		if !SYSTEMD_HWDB
> +	select HWDATA_PCI	if !SYSTEMD_HWDB	
>  	tristate
>  	prompt "pciutils                      "
>  	help
> @@ -36,13 +37,5 @@ config PCIUTILS_LIBPCI
>  	help
>  	  Generate and install the shared libpci library.
>  
> -config PCIUTILS_COMPRESS
> -	bool
> -	default y
> -	prompt "compress pci_ids"
> -	help
> -	  Save storage space by compressing the pci-id database. Access will
> -	  be a little bit slower then.
> -
>  endif
>  
> diff --git a/rules/pciutils.make b/rules/pciutils.make
> index 6f472e63d1f2..0e6cad59d372 100644
> --- a/rules/pciutils.make
> +++ b/rules/pciutils.make
> @@ -39,7 +39,6 @@ PCIUTILS_MAKE_OPT := \
>  	SBINDIR=/usr/bin \
>  	HOST=$(PTXCONF_ARCH_STRING)-linux \
>  	RELEASE=$(KERNEL_HEADER_VERSION) \
> -	ZLIB=$(call ptx/yesno, PTXCONF_PCIUTILS_COMPRESS) \
>  	LIBKMOD=$(call ptx/yesno, PTXCONF_PCIUTILS_LIBKMOD) \
>  	SHARED=$(call ptx/yesno, PTXCONF_PCIUTILS_LIBPCI) \
>  	STRIP= \
> @@ -67,20 +66,12 @@ $(STATEDIR)/pciutils.targetinstall:
>  ifdef PTXCONF_PCIUTILS_TOOLS
>  	@$(call install_copy, pciutils, 0, 0, 0755, -, /usr/bin/lspci)
>  	@$(call install_copy, pciutils, 0, 0, 0755, -, /usr/bin/setpci)
> -	@$(call install_copy, pciutils, 0, 0, 0755, -, /usr/bin/update-pciids)
>  endif
>  
>  ifdef PTXCONF_PCIUTILS_LIBPCI
>  	@$(call install_lib, pciutils, 0, 0, 0644, libpci)
>  endif
>  
> -ifdef PTXCONF_PCIUTILS_COMPRESS
> -	@$(call install_copy, pciutils, 0, 0, 0644, -, \
> -		/usr/share/pci.ids.gz, n)
> -else
> -	@$(call install_copy, pciutils, 0, 0, 0644, -, \
> -		/usr/share/pci.ids, n)
> -endif
>  	@$(call install_finish, pciutils)
>  
>  	@$(call touch)

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


  reply	other threads:[~2022-01-21  7:24 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   ` Michael Olbrich [this message]
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 ` [ptxdist] [PATCH 6/7] lshw: Version bump. B.02.14 -> B.02.19.2 + accomodation " Christian Melki
2022-01-21  7:19   ` [ptxdist] [APPLIED] " 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=20220121071937.1968651-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=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