]> git.pld-linux.org Git - packages/kernel-tools.git/commitdiff
- up to 4.14.15 auto/th/kernel-tools-4.14.15-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 24 Jan 2018 13:41:20 +0000 (14:41 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 24 Jan 2018 13:41:20 +0000 (14:41 +0100)
kernel-tools-lguest-update.patch [deleted file]
kernel-tools.spec

diff --git a/kernel-tools-lguest-update.patch b/kernel-tools-lguest-update.patch
deleted file mode 100644 (file)
index 2073a03..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---- linux-4.12/tools/lguest/lguest.c.orig      2017-07-03 01:07:02.000000000 +0200
-+++ linux-4.12/tools/lguest/lguest.c   2017-07-13 17:27:08.446483634 +0200
-@@ -77,6 +77,7 @@
- #include <linux/virtio_ring.h>
- #include "../../include/uapi/linux/virtio_pci.h"
- #include <asm/bootparam.h>
-+#include <asm/e820.h>
- #include "../../include/linux/lguest_launcher.h"
- #define BRIDGE_PFX "bridge:"
-@@ -3339,7 +3340,7 @@
-        * simple, single region.
-        */
-       boot->e820_entries = 1;
--      boot->e820_table[0] = ((struct e820_entry) { 0, mem, E820_TYPE_RAM });
-+      boot->e820_table[0] = ((struct boot_e820_entry) { 0, mem, E820_RAM });
-       /*
-        * The boot header contains a command line pointer: we put the command
-        * line after the boot header.
index 29777c4a1ab78778920640ece8573382faa91f5d..255b656d1309cec4cf5a787631d23666c9f7ac43 100644 (file)
@@ -20,8 +20,8 @@
 %undefine      with_multilib
 %endif
 
-%define                basever         4.13
-%define                postver         .11
+%define                basever         4.14
+%define                postver         .15
 Summary:       Assortment of tools for the Linux kernel
 Summary(pl.UTF-8):     Zestaw narzędzi dla jądra Linuksa
 Name:          kernel-tools
@@ -30,15 +30,14 @@ Release:    1
 License:       GPL v2
 Group:         Applications/System
 Source0:       https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz
-# Source0-md5: ab1a2abc6f37b752dd2595338bec4e78
+# Source0-md5: bacdb9ffdcd922aa069a5e1520160e24
 Source1:       cpupower.service
 Source2:       cpupower.config
 %if "%{postver}" != ".0"
 Patch0:                https://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz
-# Patch0-md5:  f03030893fae6a5620ba1056a9e3b931
+# Patch0-md5:  de16c219ce4548d63ff7d6c670340a9e
 %endif
 Patch1:                x32.patch
-Patch2:                %{name}-lguest-update.patch
 Patch3:                %{name}-perf-update.patch
 Patch4:                binutils-2.29.patch
 URL:           http://www.kernel.org/
@@ -357,7 +356,6 @@ cd linux-%{basever}
 %endif
 
 %patch1 -p1
-%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 
@@ -391,20 +389,13 @@ CFLAGS="%{rpmcflags}" \
 %endif
 
 CFLAGS="%{rpmcflags}" \
-%{__make} -C tools/iio \
+%{__make} -C tools/iio -j1 \
        CC="%{__cc}"
 
 %{__make} -C tools/laptop/freefall \
        CC="%{__cc}" \
        CFLAGS="%{rpmcflags}"
 
-%ifarch %{ix86}
-# drivers/lguest is x86-32 only
-%{__make} -C tools/lguest \
-       CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -Wall -U_FORTIFY_SOURCE -Iinclude"
-%endif
-
 CFLAGS="%{rpmcflags}" \
 %{__make} -C tools/net \
        CC="%{__cc}"
@@ -562,10 +553,6 @@ install -p tools/iio/{iio_event_monitor,iio_generic_buffer,lsiio} $RPM_BUILD_ROO
 
 install -p tools/laptop/freefall/freefall $RPM_BUILD_ROOT%{_sbindir}
 
-%ifarch %{ix86}
-install -p tools/lguest/lguest $RPM_BUILD_ROOT%{_bindir}
-%endif
-
 install -p tools/net/{bpf_asm,bpf_dbg,bpf_jit_disasm} $RPM_BUILD_ROOT%{_bindir}
 
 install -p tools/thermal/tmon/tmon $RPM_BUILD_ROOT%{_bindir}
@@ -620,10 +607,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/freefall
 %attr(755,root,root) %{_sbindir}/page-types
 %{_mandir}/man8/tmon.8*
-%ifarch %{ix86}
-%doc linux-%{basever}/tools/lguest/lguest.txt
-%attr(755,root,root) %{_bindir}/lguest
-%endif
 %ifarch %{ix86} %{x8664} x32
 %attr(755,root,root) %{_bindir}/centrino-decode
 %attr(755,root,root) %{_bindir}/powernow-k8-decode
This page took 0.118554 seconds and 4 git commands to generate.