[Buildroot] [PATCH] lshw: use data files provided by hwdata

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Mar 26 21:15:53 UTC 2018


Hello,

On Sun, 28 Jan 2018 02:43:58 -0200, Carlos Santos wrote:
> lshw is seldomly released, so its data files become easily outdated.
> Fortunately it looks for the files in several directories, so let it
> find the files at /usr/share/hwdata, since the hwdata collection is
> released on a monthly basis.
> 
> The manuf.txt and oui.txt files are not used at run time, so it's not
> necessary to install them.
> 
> Signed-off-by: Carlos Santos <casantos at datacom.ind.br>
> ---
>  ...4-For-Buildroot-do-not-install-data-files.patch | 34 ++++++++++++++++++++++
>  package/lshw/Config.in                             |  3 ++
>  2 files changed, 37 insertions(+)
>  create mode 100644 package/lshw/0004-For-Buildroot-do-not-install-data-files.patch

I've applied to master, with the following changes:

    [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]

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list