The PCI Utils package contains a set of programs for listing PCI devices, inspecting their status and setting their configuration registers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://mj.ucw.cz/download/linux/pci/pciutils-3.11.1.tar.gz
Download MD5 sum: 0eec4c00519bfaf50012720c04cc7566
Download size: 645 KB
Estimated disk space required: 5.7 MB
Estimated build time: less than 0.1 SBU
hwdata-0.380 (runtime)
Prevent the installation of the pci.ids
file to avoid a conflict with the
hwdata-0.380 package:
sed -r '/INSTALL.*(PCI_IDS|update-pciids)/d' \ -i Makefile
Install PCI Utils by running the following commands:
make PREFIX=/usr \ SHAREDIR=/usr/share/hwdata \ SHARED=yes
This package does not come with a test suite.
Now, as the root
user:
make PREFIX=/usr \ SHAREDIR=/usr/share/hwdata \ SHARED=yes \ install install-lib && chmod -v 755 /usr/lib/libpci.so
Now install the hwdata-0.380 package for the pci.ids
file.
SHARED=yes
: This parameter
enables building of the shared library instead of the static one.
ZLIB=no
: This option prevents
compression of the pci.ids
file.