qLinux
… a distribution study


<< Prev
Optional Packages

Next >>
A DHCP Client


Pciutils-3.7.0

The  lspci  utility is maybe useful to identify drivers. Download pciutils-3.7.0. Edit  lib/configure :

sed -i '/qlnx/!s|/dev/null|/qlnx/dev/null|g; /qlnx/!s|/bin/sh|/qlnx/bin/sh|g' lib/configure

Change the install destination directories in the top-level  Makefile :

sed -i '/^PREFIX=/s|=.*$|=/qlnx|g;
        /^SBINDIR=/s|/sbin|/bin|g;
        /^SHAREDIR=/s|share$|dat|g;
        /^MANDIR:=/s|share/||g;
        /^INCDIR=/s|lude$||g;
        /^PKGCFDIR=/s|=.*$|=/plng/lib/pkgconfig|g' Makefile

Apply a patch to fix the sources:

patch -Np1 -i pciutils-3.7.0-src-20220316.patch

Build and install the package:

make
make install

Change the mode of the admin executables:

chmod 0754 /qlnx/bin/setpci /qlnx/bin/update-pciids

<< Prev
Optional Packages

Next >>
A DHCP Client