usbutils: update to 018 and meson

This commit is contained in:
Rudi Heitbaum 2024-10-22 13:23:25 +00:00
parent 706516013e
commit 6e7ffec9fd
2 changed files with 2 additions and 14 deletions

View File

@ -3,14 +3,13 @@
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="usbutils"
PKG_VERSION="017"
PKG_SHA256="a6a25ffdcf9103e38d7a44732aca17073f4e602b92e4ae55625231a82702e05b"
PKG_VERSION="018"
PKG_SHA256="83f68b59b58547589c00266e82671864627593ab4362d8c807f50eea923cad93"
PKG_LICENSE="GPL"
PKG_SITE="http://www.linux-usb.org/"
PKG_URL="http://kernel.org/pub/linux/utils/usb/usbutils/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libusb systemd"
PKG_LONGDESC="This package contains various utilities for inspecting and setting of devices connected to the USB bus."
PKG_TOOLCHAIN="autotools"
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin/lsusb.py

View File

@ -1,11 +0,0 @@
--- a/usb-devices 2023-06-25 08:25:25.000000000 +0000
+++ b/usb-devices 2024-09-27 03:21:00.931136577 +0000
@@ -192,7 +192,7 @@
exit 1
fi
-for device in $(find /sys/bus/usb/devices -name 'usb*' -printf '%f\n' | sort -V)
+for device in $(find /sys/bus/usb/devices -name 'usb*' -print | while read dir; do basename $dir; done | sort -V)
do
print_device "/sys/bus/usb/devices/$device" 0 0 0
done