diff --git a/general/sysutils/pciutils.xml b/general/sysutils/pciutils.xml index 5f10b57512..7d33305186 100644 --- a/general/sysutils/pciutils.xml +++ b/general/sysutils/pciutils.xml @@ -66,18 +66,12 @@ - pciutils Dependencies Recommended - , - , or - - (for the update-pciids script to function correctly). + (runtime) @@ -85,6 +79,14 @@ Installation of PCI Utils + + Prevent the installation of the pci.ids file + to avoid a conflict with the package: + + + sed -r '/INSTALL.*(PCI_IDS|update-pciids)/d' \ + -i Makefile + Install PCI Utils by running the following commands: @@ -109,6 +111,11 @@ chmod -v 755 /usr/lib/libpci.so + + Now install the package for the + pci.ids file. + + @@ -124,66 +131,6 @@ chmod -v 755 /usr/lib/libpci.so the pci.ids file. - - - - Configuring PCI Utils - - - The pci.ids data file is constantly being - updated. To get a current version of this file, run - update-pciids as the root user. This program requires the - script or program to find , - , or which are used to - download the most current file, and then replace the existing file in - /usr/share/hwdata. - - - - You should update the /usr/share/hwdata/pci.ids file - periodically. If you've installed - and completed the section on periodic jobs, - executeExecute the following - commands, as the root user, - to create a weekly cron job: - systemd timer to update it weekly on Sundays - at 2:30 A.M. (local time): - - -cat > /etc/cron.weekly/update-pciids.sh << "EOF" && -#!/bin/bash -/usr/sbin/update-pciids -EOF -chmod 754 /etc/cron.weekly/update-pciids.sh - -cat > /usr/lib/systemd/system/update-pciids.service << "EOF" && -[Unit] -Description=Update pci.ids file -Documentation=man:update-pciids(8) -DefaultDependencies=no -After=local-fs.target network-online.target -Before=shutdown.target - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/sbin/update-pciids -EOF -cat > /usr/lib/systemd/system/update-pciids.timer << "EOF" && -[Unit] -Description=Update pci.ids file weekly - -[Timer] -OnCalendar=Sun 02:30:00 -Persistent=true - -[Install] -WantedBy=timers.target -EOF -systemctl enable update-pciids.timer - - @@ -196,7 +143,7 @@ systemctl enable update-pciids.timer - lspci, setpci, and update-pciids + lspci and setpci libpci.so @@ -237,21 +184,6 @@ systemctl enable update-pciids.timer - - update-pciids - - - fetches the current version of the PCI ID list. - - - update-pciids - - - - libpci.so