From: Jakub Bogusz Date: Fri, 16 Oct 2020 16:49:58 +0000 (+0200) Subject: - updated to 5.9[.0] X-Git-Tag: auto/th/kernel-tools-5.9.0-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fkernel-tools.git;a=commitdiff_plain;h=15192e7 - updated to 5.9[.0] - removed obsolete usbip-nocommon patch --- diff --git a/kernel-tools-usbip-nocommon.patch b/kernel-tools-usbip-nocommon.patch deleted file mode 100644 index c8399df..0000000 --- a/kernel-tools-usbip-nocommon.patch +++ /dev/null @@ -1,12 +0,0 @@ -It seems that vhci_driver should use its own udev_context instance, not the one from usbip_host_common.c ---- linux-5.7/tools/usb/usbip/libsrc/vhci_driver.c.orig 2020-06-01 01:49:15.000000000 +0200 -+++ linux-5.7/tools/usb/usbip/libsrc/vhci_driver.c 2020-06-21 16:02:34.325318086 +0200 -@@ -15,7 +15,7 @@ - #define PROGNAME "libusbip" - - struct usbip_vhci_driver *vhci_driver; --struct udev *udev_context; -+static struct udev *udev_context = NULL; - - static struct usbip_imported_device * - imported_device_init(struct usbip_imported_device *idev, char *busid) diff --git a/kernel-tools.spec b/kernel-tools.spec index 5dd468c..5de3fc8 100644 --- a/kernel-tools.spec +++ b/kernel-tools.spec @@ -19,17 +19,17 @@ %undefine with_multilib %endif -%define basever 5.8 +%define basever 5.9 %define postver .0 Summary: Assortment of tools for the Linux kernel Summary(pl.UTF-8): Zestaw narzędzi dla jądra Linuksa Name: kernel-tools Version: %{basever}%{postver} -Release: 2 +Release: 1 License: GPL v2 Group: Applications/System Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%{basever}.tar.xz -# Source0-md5: 0e5c4c15266218ef26c50fac0016095b +# Source0-md5: 0959d759fd19e146367221aff504ad91 Source1: cpupower.service Source2: cpupower.config %if "%{postver}" != ".0" @@ -40,7 +40,6 @@ Patch1: x32.patch Patch2: regex.patch Patch3: %{name}-perf-update.patch Patch4: %{name}-perf-gtk2.patch -Patch5: %{name}-usbip-nocommon.patch URL: https://www.kernel.org/ BuildRequires: bison BuildRequires: docutils @@ -405,7 +404,6 @@ cd linux-%{basever} %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -p1 %{__sed} -i -e '/^CFLAGS = /s/ -g / $(OPTFLAGS) /' tools/hv/Makefile %{__sed} -i -e '/^CFLAGS+=/s/ -O1 / $(OPTFLAGS) /' tools/thermal/tmon/Makefile