summaryrefslogtreecommitdiff
path: root/source/a/pciutils
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2022-04-21 19:11:10 +0000
committerEric Hameleers <alien@slackware.com>2022-04-22 06:59:46 +0200
commitaba57b8fb048fb6eac847e18978b0b8fd5729721 (patch)
tree625c8636efe0249edd5cec5d50b60a4e6836f077 /source/a/pciutils
parent615523f1128f2b40168434af4e8e00e95136fa71 (diff)
downloadcurrent-aba57b8fb048fb6eac847e18978b0b8fd5729721.tar.gz
Thu Apr 21 19:11:10 UTC 202220220421191110
a/kernel-firmware-20220419_ee43979-noarch-1.txz: Upgraded. a/kernel-generic-5.17.4-x86_64-1.txz: Upgraded. a/kernel-huge-5.17.4-x86_64-1.txz: Upgraded. a/kernel-modules-5.17.4-x86_64-1.txz: Upgraded. a/mcelog-181-x86_64-1.txz: Upgraded. a/pciutils-3.8.0-x86_64-1.txz: Upgraded. d/git-2.36.0-x86_64-1.txz: Upgraded. d/kernel-headers-5.17.4-x86-1.txz: Upgraded. k/kernel-source-5.17.4-noarch-1.txz: Upgraded. l/fribidi-1.0.12-x86_64-1.txz: Upgraded. l/parted-3.5-x86_64-1.txz: Upgraded. l/pipewire-0.3.50-x86_64-2.txz: Rebuilt. Build in FFmpeg and Vulkan support. Thanks to Klaatu. n/bind-9.18.2-x86_64-1.txz: Upgraded. n/postfix-3.7.1-x86_64-1.txz: Upgraded. x/libinput-1.20.1-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-91.8.1-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/91.8.1/releasenotes/ isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/a/pciutils')
-rwxr-xr-xsource/a/pciutils/pciutils.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/a/pciutils/pciutils.SlackBuild b/source/a/pciutils/pciutils.SlackBuild
index 2c90e8a7..15f688b8 100755
--- a/source/a/pciutils/pciutils.SlackBuild
+++ b/source/a/pciutils/pciutils.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=pciutils
VERSION=${VERSION:-$(echo pciutils-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -103,6 +103,13 @@ mkdir $PKG/lib${LIBDIRSUFFIX}
cp -a lib*.so.? ../../lib${LIBDIRSUFFIX}
)
+# Add a symlink to the old location:
+if [ ! -x $PKG/sbin/lspci ]; then
+ if [ -x $PKG/usr/bin/lspci ]; then
+ ( cd $PKG/sbin ; ln -sf ../usr/bin/lspci . )
+ fi
+fi
+
mkdir -p $PKG/usr/sbin
mv $PKG/sbin/update-pciids $PKG/usr/sbin/update-pciids