1 |
# |
# |
2 |
# *tmb* series kernels now use kernel.org versioning |
# *tmb* series kernels now use kernel.org versioning |
3 |
# |
# |
4 |
%define kernelversion 2 |
%define kernelversion 3 |
5 |
%define patchlevel 6 |
%define patchlevel 1 |
6 |
%define sublevel 37 |
# sublevel is now used for -stable patches |
7 |
|
%define sublevel 6 |
8 |
|
|
9 |
|
# Package release |
10 |
|
%define mgarel 1 |
11 |
|
|
12 |
# kernel Makefile extraversion is substituted by |
# kernel Makefile extraversion is substituted by |
13 |
# kpatch/kgit/kstable wich are either 0 (empty), rc (kpatch), |
# kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit) |
|
# git (kgit, only the number after "git"), or stable release (kstable) |
|
14 |
%define kpatch 0 |
%define kpatch 0 |
15 |
|
# kernel.org -gitX patch (only the number after "git") |
16 |
%define kgit 0 |
%define kgit 0 |
|
%define kstable 4 |
|
|
|
|
|
# this is the releaseversion |
|
|
%define kbuild 1 |
|
17 |
|
|
18 |
%define ktag tmb |
# Patch tarball tag |
19 |
%define kname kernel-%{ktag} |
%define ktag tmb |
20 |
|
# kernel base name (also name of srpm) |
21 |
|
%define kname kernel-%{ktag} |
22 |
|
|
23 |
%define rpmtag %distsuffix |
# release defines |
24 |
|
%define rpmtag %{distsuffix}%{mgaver} |
25 |
%if %kpatch |
%if %kpatch |
26 |
%if %kgit |
%if %kgit |
27 |
%define rpmrel %mkrel 0.%{kpatch}.%{kgit}.%{kbuild} |
%define rpmrel %mkrel 0.%{kpatch}.%{kgit}.%{mgarel} |
28 |
%else |
%else |
29 |
%define rpmrel %mkrel 0.%{kpatch}.%{kbuild} |
%define rpmrel %mkrel 0.%{kpatch}.%{mgarel} |
30 |
%endif |
%endif |
31 |
%else |
%else |
32 |
%define rpmrel %mkrel %{kbuild} |
%define rpmrel %mkrel %{mgarel} |
33 |
%endif |
%endif |
34 |
|
|
35 |
# theese two never change, they are used to fool rpm/urpmi/smart |
# fakerel and fakever never change, they are used to fool |
36 |
|
# rpm/urpmi/smart |
37 |
%define fakever 1 |
%define fakever 1 |
38 |
%define fakerel %mkrel 1 |
%define fakerel %mkrel 1 |
39 |
|
|
40 |
|
# version defines |
41 |
|
%define kversion %{kernelversion}.%{patchlevel}.%{sublevel} |
42 |
|
%define kverrel %{kversion}-%{rpmrel} |
43 |
|
|
44 |
# When we are using a pre/rc patch, the tarball is a sublevel -1 |
# When we are using a pre/rc patch, the tarball is a sublevel -1 |
45 |
%if %kpatch |
%if %kpatch |
46 |
%define kversion %{kernelversion}.%{patchlevel}.%{sublevel} |
%if %sublevel |
47 |
%define tar_ver %{kernelversion}.%{patchlevel}.%(expr %{sublevel} - 1) |
%define tar_ver %{kernelversion}.%{patchlevel} |
|
%define patch_ver %{kversion}-%{kpatch}-%{ktag}%{kbuild} |
|
|
%else |
|
|
%if %kstable |
|
|
%define kversion %{kernelversion}.%{patchlevel}.%{sublevel}.%{kstable} |
|
|
%define tar_ver %{kernelversion}.%{patchlevel}.%{sublevel} |
|
48 |
%else |
%else |
49 |
%define kversion %{kernelversion}.%{patchlevel}.%{sublevel} |
%define tar_ver %{kernelversion}.%(expr %{patchlevel} - 1) |
|
%define tar_ver %{kversion} |
|
50 |
%endif |
%endif |
51 |
%define patch_ver %{kversion}-%{ktag}%{kbuild} |
%define patch_ver %{kversion}-%{kpatch}-%{ktag}%{mgarel} |
52 |
|
%else |
53 |
|
%define tar_ver %{kernelversion}.%{patchlevel} |
54 |
|
%define patch_ver %{kversion}-%{ktag}%{mgarel} |
55 |
%endif |
%endif |
|
%define kverrel %{kversion}-%{rpmrel} |
|
56 |
|
|
57 |
# used for not making too long names for rpms or search paths |
# Used for not making too long names for rpms or search paths |
58 |
%if %kpatch |
%if %kpatch |
59 |
%if %kgit |
%if %kgit |
60 |
%define buildrpmrel 0.%{kpatch}.%{kgit}.%{kbuild}%{rpmtag} |
%define buildrpmrel 0.%{kpatch}.%{kgit}.%{mgarel}%{rpmtag} |
61 |
%else |
%else |
62 |
%define buildrpmrel 0.%{kpatch}.%{kbuild}%{rpmtag} |
%define buildrpmrel 0.%{kpatch}.%{mgarel}%{rpmtag} |
63 |
%endif |
%endif |
64 |
%else |
%else |
65 |
%define buildrpmrel %{kbuild}%{rpmtag} |
%define buildrpmrel %{mgarel}%{rpmtag} |
66 |
%endif |
%endif |
67 |
%define buildrel %{kversion}-%{buildrpmrel} |
%define buildrel %{kversion}-%{buildrpmrel} |
68 |
|
|
69 |
# having different top level names for packges means that you have to remove them by hard :( |
# having different top level names for packges means that you have to remove them by hard :( |
70 |
%define top_dir_name %{kname}-%{_arch} |
%define top_dir_name %{kname}-%{_arch} |
71 |
|
|
72 |
%define build_dir ${RPM_BUILD_DIR}/%{top_dir_name} |
%define build_dir ${RPM_BUILD_DIR}/%{top_dir_name} |
73 |
%define src_dir %{build_dir}/linux-%{tar_ver} |
%define src_dir %{build_dir}/linux-%{tar_ver} |
74 |
|
|
75 |
# disable useless debug rpms... |
# disable useless debug rpms... |
76 |
%define _enable_debug_packages %{nil} |
%define _enable_debug_packages %{nil} |
77 |
%define debug_package %{nil} |
%define debug_package %{nil} |
78 |
|
|
79 |
# Build defines |
# Build defines |
80 |
%define build_doc 0 |
%define build_doc 0 |
81 |
%define build_source 1 |
%define build_source 1 |
82 |
%define build_devel 1 |
%define build_devel 1 |
83 |
%define build_debug 0 |
%define build_debug 0 |
84 |
|
|
85 |
# Build desktop i586 / 4GB |
# Build desktop586 (i586 / 4GB) |
86 |
%ifarch %{ix86} |
%ifarch %{ix86} |
87 |
%define build_desktop586 1 |
%define build_desktop586 1 |
88 |
%endif |
%endif |
89 |
|
|
90 |
# Build mm (i686 / 4GB) / x86_64 |
# Build desktop (i686 / 4GB) / x86_64 |
91 |
%define build_desktop 1 |
%define build_desktop 1 |
92 |
|
|
93 |
# Build laptop (i686 / 4GB)/ x86_64 |
# Build laptop (i686 / 4GB)/ x86_64 |
101 |
# Build server (i686 / 64GB)/x86_64 |
# Build server (i686 / 64GB)/x86_64 |
102 |
%define build_server 1 |
%define build_server 1 |
103 |
|
|
104 |
|
# compress modules with xz |
105 |
|
%define build_modxz 0 |
106 |
|
|
107 |
# End of user definitions |
# End of user definitions |
108 |
%{?_without_desktop586: %global build_desktop586 0} |
%{?_without_desktop586: %global build_desktop586 0} |
109 |
%{?_without_desktop: %global build_desktop 0} |
%{?_without_desktop: %global build_desktop 0} |
114 |
%{?_without_source: %global build_source 0} |
%{?_without_source: %global build_source 0} |
115 |
%{?_without_devel: %global build_devel 0} |
%{?_without_devel: %global build_devel 0} |
116 |
%{?_without_debug: %global build_debug 0} |
%{?_without_debug: %global build_debug 0} |
117 |
|
%{?_without_modxz: %global build_modxz 0} |
118 |
|
|
119 |
%{?_with_desktop586: %global build_desktop586 1} |
%{?_with_desktop586: %global build_desktop586 1} |
120 |
%{?_with_desktop: %global build_desktop 1} |
%{?_with_desktop: %global build_desktop 1} |
125 |
%{?_with_source: %global build_source 1} |
%{?_with_source: %global build_source 1} |
126 |
%{?_with_devel: %global build_devel 1} |
%{?_with_devel: %global build_devel 1} |
127 |
%{?_with_debug: %global build_debug 1} |
%{?_with_debug: %global build_debug 1} |
128 |
|
%{?_with_modxz: %global build_modxz 1} |
129 |
|
|
130 |
# For the .nosrc.rpm |
# For the .nosrc.rpm |
131 |
%define build_nosrc 0 |
%define build_nosrc 0 |
132 |
%{?_with_nosrc: %global build_nosrc 1} |
%{?_with_nosrc: %global build_nosrc 1} |
133 |
|
|
134 |
%define kmake %make |
%define kmake %make |
143 |
# |
# |
144 |
# SRC RPM description |
# SRC RPM description |
145 |
# |
# |
146 |
Summary: Linux kernel built for Mandriva with modifications by %{ktag} |
Summary: Linux kernel built for %vendor with modifications by %{ktag} |
147 |
Name: %{kname} |
Name: %{kname} |
148 |
Version: %{kversion} |
Version: %{kversion} |
149 |
Release: %{rpmrel} |
Release: %{rpmrel} |
151 |
Group: System/Kernel and hardware |
Group: System/Kernel and hardware |
152 |
ExclusiveArch: %{ix86} x86_64 |
ExclusiveArch: %{ix86} x86_64 |
153 |
ExclusiveOS: Linux |
ExclusiveOS: Linux |
154 |
URL: http://wiki.mandriva.com/en/Docs/Howto/Mandriva_Kernels#kernel-tmb |
URL: http://www.kernel.org |
155 |
|
|
156 |
#################################################################### |
#################################################################### |
157 |
# |
# |
158 |
# Sources |
# Sources |
159 |
# |
# |
160 |
### This is for full SRC RPM |
### This is for full SRC RPM |
161 |
Source0: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-%{tar_ver}.tar.bz2 |
Source0: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-%{tar_ver}.tar.xz |
162 |
Source1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-%{tar_ver}.tar.bz2.sign |
Source1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/linux-%{tar_ver}.tar.sign |
163 |
### This is for stripped SRC RPM |
### This is for stripped SRC RPM |
164 |
%if %build_nosrc |
%if %build_nosrc |
165 |
NoSource: 0 |
NoSource: 0 |
181 |
# Patch0 to Patch100 are for core kernel upgrades. |
# Patch0 to Patch100 are for core kernel upgrades. |
182 |
# |
# |
183 |
|
|
184 |
# Pre linus patch: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing |
# Pre linus patch: ftp://ftp.kernel.org/pub/linux/kernel/v3.0/testing |
185 |
|
|
186 |
%if %kpatch |
%if %kpatch |
187 |
Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}.%{sublevel}-%{kpatch}.bz2 |
%if %sublevel |
188 |
Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}.%{sublevel}-%{kpatch}.bz2.sign |
Patch2: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/stable-review/patch-%{kversion}-%{kpatch}.xz |
189 |
|
Source11: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/stable-review/patch-%{kversion}-%{kpatch}.sign |
190 |
|
%else |
191 |
|
Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.xz |
192 |
|
Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign |
193 |
|
%endif |
194 |
%endif |
%endif |
195 |
%if %kgit |
%if %kgit |
196 |
Patch2: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/snapshots/patch-%{kernelversion}.%{patchlevel}.%{sublevel}-%{kpatch}-git%{kgit}.bz2 |
Patch2: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.xz |
197 |
Source11: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/snapshots/patch-%{kernelversion}.%{patchlevel}.%{sublevel}-%{kpatch}-git%{kgit}.bz2.sign |
Source11: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.sign |
198 |
|
%endif |
199 |
|
%if %sublevel |
200 |
|
%if %kpatch |
201 |
|
%define prev_sublevel %(expr %{sublevel} - 1) |
202 |
|
%if %prev_sublevel |
203 |
|
Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.xz |
204 |
|
Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign |
205 |
|
%endif |
206 |
|
%else |
207 |
|
Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.xz |
208 |
|
Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.sign |
209 |
%endif |
%endif |
|
%if %kstable |
|
|
Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.bz2 |
|
|
Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.bz2.sign |
|
210 |
%endif |
%endif |
211 |
|
|
212 |
#END |
#END |
215 |
# Defines for the things that are needed for all the kernels |
# Defines for the things that are needed for all the kernels |
216 |
# |
# |
217 |
%define common_description_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \ |
%define common_description_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \ |
218 |
Mandriva Linux operating system. The kernel handles the basic functions \ |
%vendor Linux operating system. The kernel handles the basic functions \ |
219 |
of the operating system: memory allocation, process allocation, device \ |
of the operating system: memory allocation, process allocation, device \ |
220 |
input and output, etc. |
input and output, etc. |
221 |
|
|
|
%define common_description_info For instructions for update, see: \ |
|
|
http://www.mandriva.com/en/security/kernelupdate \ |
|
|
\ |
|
|
The %{ktag} kernels is an experimental kernel based on the kernel.org \ |
|
|
kernels with added patches. Some of them may/will never end up in \ |
|
|
the main kernels due to their experimental nature. Some refer to \ |
|
|
this kernel as a 'hackkernel' ... \ |
|
|
Use these kernels at your own risk !! |
|
|
|
|
222 |
### Global Requires/Provides |
### Global Requires/Provides |
223 |
%define requires1 mkinitrd >= 6.0.92-12 |
%define requires1 mkinitrd >= 6.0.92-12 |
224 |
%define requires2 bootloader-utils >= 1.12-1 |
%define requires2 bootloader-utils >= 1.12-1 |
225 |
%define requires3 sysfsutils >= 1.3.0-1 module-init-tools >= 3.6-10 |
%define requires3 sysfsutils >= 1.3.0-1 module-init-tools >= 3.6-10 |
226 |
%define requires4 kernel-firmware >= 20100217-1 |
%define requires4 kernel-firmware >= 20110703-2 |
227 |
|
|
228 |
%define kprovides %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88 |
%define kprovides %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88 |
229 |
|
|
|
BuildRoot: %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build |
|
|
%define buildroot %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build |
|
230 |
Autoreqprov: no |
Autoreqprov: no |
231 |
BuildRequires: gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2 |
BuildRequires: gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2 |
232 |
|
|
233 |
%description |
%description |
234 |
%common_description_kernel |
%common_description_kernel |
235 |
|
|
|
%common_description_info |
|
|
|
|
236 |
|
|
237 |
# mkflavour() name flavour processor |
# mkflavour() name flavour processor |
238 |
# name: the flavour name in the package name |
# name: the flavour name in the package name |
252 |
%description -n %{kname}-%{1}-%{buildrel} \ |
%description -n %{kname}-%{1}-%{buildrel} \ |
253 |
%common_description_kernel %{expand:%{info_%(echo %{1})}} \ |
%common_description_kernel %{expand:%{info_%(echo %{1})}} \ |
254 |
\ |
\ |
|
%common_description_info \ |
|
|
\ |
|
255 |
%if %build_devel \ |
%if %build_devel \ |
256 |
%package -n %{kname}-%{1}-devel-%{buildrel} \ |
%package -n %{kname}-%{1}-devel-%{buildrel} \ |
257 |
Version: %{fakever} \ |
Version: %{fakever} \ |
269 |
\ |
\ |
270 |
If you want to build your own kernel, you need to install the full \ |
If you want to build your own kernel, you need to install the full \ |
271 |
%{kname}-source-%{buildrel} rpm. \ |
%{kname}-source-%{buildrel} rpm. \ |
|
\ |
|
|
%common_description_info \ |
|
272 |
%endif \ |
%endif \ |
273 |
\ |
\ |
274 |
%package -n %{kname}-%{1}-latest \ |
%package -n %{kname}-%{1}-latest \ |
285 |
This package is a virtual rpm that aims to make sure you always have the \ |
This package is a virtual rpm that aims to make sure you always have the \ |
286 |
latest %{kname}-%{1} installed... \ |
latest %{kname}-%{1} installed... \ |
287 |
\ |
\ |
|
%common_description_info \ |
|
|
\ |
|
288 |
%if %build_devel \ |
%if %build_devel \ |
289 |
%package -n %{kname}-%{1}-devel-latest \ |
%package -n %{kname}-%{1}-devel-latest \ |
290 |
Version: %{kversion} \ |
Version: %{kversion} \ |
299 |
%description -n %{kname}-%{1}-devel-latest \ |
%description -n %{kname}-%{1}-devel-latest \ |
300 |
This package is a virtual rpm that aims to make sure you always have the \ |
This package is a virtual rpm that aims to make sure you always have the \ |
301 |
latest %{kname}-%{1}-devel installed... \ |
latest %{kname}-%{1}-devel installed... \ |
|
\ |
|
|
%common_description_info \ |
|
302 |
%endif \ |
%endif \ |
303 |
\ |
\ |
304 |
%post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \ |
%post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \ |
305 |
|
%posttrans -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-posttrans \ |
306 |
%preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \ |
%preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \ |
307 |
%postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \ |
%postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \ |
308 |
\ |
\ |
313 |
\ |
\ |
314 |
%files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \ |
%files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \ |
315 |
%files -n %{kname}-%{1}-latest \ |
%files -n %{kname}-%{1}-latest \ |
|
%defattr(-,root,root) \ |
|
316 |
\ |
\ |
317 |
%if %build_devel \ |
%if %build_devel \ |
318 |
%files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \ |
%files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \ |
319 |
%files -n %{kname}-%{1}-devel-latest \ |
%files -n %{kname}-%{1}-devel-latest \ |
|
%defattr(-,root,root) \ |
|
320 |
%endif |
%endif |
321 |
|
|
322 |
|
|
325 |
# |
# |
326 |
%ifarch %{ix86} |
%ifarch %{ix86} |
327 |
%if %build_desktop586 |
%if %build_desktop586 |
328 |
%define summary_desktop586 Linux kernel for desktop use with i586 & 4GB RAM |
%define summary_desktop586 Linux kernel for desktop use with i586 and up to 4GB RAM |
329 |
%define info_desktop586 This kernel is compiled for desktop use, single or \ |
%define info_desktop586 This kernel is compiled for desktop use, single or \ |
330 |
multiple i586 processor(s)/core(s) and less than 4GB RAM, using full \ |
multiple i586 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB \ |
331 |
preempt, BFS cpu scheduler and cfq i/o scheduler. \ |
detected, if you need/want to use all 4GB or more, install %{kname}-server),\ |
332 |
|
using full preempt, BFS cpu scheduler and cfq i/o scheduler. \ |
333 |
This kernel relies on in-kernel smp alternatives to switch between up & smp \ |
This kernel relies on in-kernel smp alternatives to switch between up & smp \ |
334 |
mode depending on detected hardware. To force the kernel to boot in single \ |
mode depending on detected hardware. To force the kernel to boot in single \ |
335 |
processor mode, use the "nosmp" boot parameter. |
processor mode, use the "nosmp" boot parameter. |
342 |
# |
# |
343 |
%if %build_desktop |
%if %build_desktop |
344 |
%ifarch %{ix86} |
%ifarch %{ix86} |
345 |
%define summary_desktop Linux Kernel for desktop use with i686 & 4GB RAM |
%define summary_desktop Linux Kernel for desktop use with i686 and up to 4GB RAM |
346 |
%define info_desktop This kernel is compiled for desktop use, single or \ |
%define info_desktop This kernel is compiled for desktop use, single or \ |
347 |
multiple i686 processor(s)/core(s) and less than 4GB RAM, using full \ |
multiple i686 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB \ |
348 |
preempt, BFS cpu scheduler and cfq i/o scheduler. \ |
detected, if you need/want to use all 4GB or more, install %{kname}-server), \ |
349 |
|
using full preempt, BFS cpu scheduler and cfq i/o scheduler. \ |
350 |
This kernel relies on in-kernel smp alternatives to switch between up & smp \ |
This kernel relies on in-kernel smp alternatives to switch between up & smp \ |
351 |
mode depending on detected hardware. To force the kernel to boot in single \ |
mode depending on detected hardware. To force the kernel to boot in single \ |
352 |
processor mode, use the "nosmp" boot parameter. |
processor mode, use the "nosmp" boot parameter. |
367 |
# |
# |
368 |
%if %build_laptop |
%if %build_laptop |
369 |
%ifarch %{ix86} |
%ifarch %{ix86} |
370 |
%define summary_laptop Linux kernel for laptop use with i686-up/smp-4GB |
%define summary_laptop Linux kernel for laptop use with i686 and up to 4GB |
371 |
%define info_laptop This kernel is compiled for laptop use, single or \ |
%define info_laptop This kernel is compiled for laptop use, single or \ |
372 |
multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_250 \ |
multiple i686 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB \ |
373 |
to save battery, voluntary preempt, BFS cpu scheduler, cfq i/o scheduler \ |
detected, if you need/want to use all 4GB or more, install %{kname}-server), \ |
374 |
and some other laptop-specific optimizations. If you want to sacrifice \ |
using HZ_250 to save battery, voluntary preempt, BFS cpu scheduler, \ |
375 |
battery life for performance, you better use the %{kname}-desktop. \ |
cfq i/o scheduler and some other laptop-specific optimizations. \ |
376 |
|
If you want to sacrifice battery life for performance, you better use the \ |
377 |
|
%{kname}-desktop. \ |
378 |
This kernel relies on in-kernel smp alternatives to switch between up & smp \ |
This kernel relies on in-kernel smp alternatives to switch between up & smp \ |
379 |
mode depending on detected hardware. To force the kernel to boot in single \ |
mode depending on detected hardware. To force the kernel to boot in single \ |
380 |
processor mode, use the "nosmp" boot parameter. \ |
processor mode, use the "nosmp" boot parameter. \ |
450 |
Summary: The Linux source code for %{kname}-%{buildrel} |
Summary: The Linux source code for %{kname}-%{buildrel} |
451 |
Group: Development/Kernel |
Group: Development/Kernel |
452 |
Autoreqprov: no |
Autoreqprov: no |
453 |
Provides: kernel-source = %{kverrel}, kernel-devel = %{kverrel} |
Provides: kernel-source = %{kverrel} |
454 |
%ifarch %{ix86} |
Buildarch: noarch |
|
Conflicts: arch(x86_64) |
|
|
%endif |
|
455 |
|
|
456 |
%description -n %{kname}-source-%{buildrel} |
%description -n %{kname}-source-%{buildrel} |
457 |
The %{kname}-source package contains the source code files for the %{ktag} |
The %{kname}-source package contains the source code files for the %{ktag} |
461 |
If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...) |
If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...) |
462 |
drivers against, install the *-devel-* rpm that is matching your kernel. |
drivers against, install the *-devel-* rpm that is matching your kernel. |
463 |
|
|
|
%common_description_info |
|
464 |
|
|
465 |
%post -n %{kname}-source-%{buildrel} |
%post -n %{kname}-source-%{buildrel} |
466 |
for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do |
for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do |
491 |
Summary: Virtual rpm for latest %{kname}-source |
Summary: Virtual rpm for latest %{kname}-source |
492 |
Group: Development/Kernel |
Group: Development/Kernel |
493 |
Requires: %{kname}-source-%{buildrel} |
Requires: %{kname}-source-%{buildrel} |
494 |
%ifarch %{ix86} |
Buildarch: noarch |
|
Conflicts: arch(x86_64) |
|
|
%endif |
|
495 |
|
|
496 |
%description -n %{kname}-source-latest |
%description -n %{kname}-source-latest |
497 |
This package is a virtual rpm that aims to make sure you always have the |
This package is a virtual rpm that aims to make sure you always have the |
498 |
latest %{kname}-source installed... |
latest %{kname}-source installed... |
|
|
|
|
%common_description_info |
|
499 |
%endif |
%endif |
500 |
|
|
501 |
# |
# |
515 |
shipped with it are documented in these files. You also might want install |
shipped with it are documented in these files. You also might want install |
516 |
this package if you need a reference to the options that can be passed to |
this package if you need a reference to the options that can be passed to |
517 |
Linux kernel modules at load time. |
Linux kernel modules at load time. |
|
|
|
|
%common_description_info |
|
518 |
%endif |
%endif |
519 |
|
|
520 |
# |
# |
528 |
%define patches_dir ../%{patch_ver}/ |
%define patches_dir ../%{patch_ver}/ |
529 |
|
|
530 |
cd %src_dir |
cd %src_dir |
531 |
|
|
532 |
|
%if %sublevel |
533 |
%if %kpatch |
%if %kpatch |
534 |
|
%if %prev_sublevel |
535 |
%patch1 -p1 |
%patch1 -p1 |
536 |
%endif |
%endif |
|
%if %kgit |
|
537 |
%patch2 -p1 |
%patch2 -p1 |
538 |
|
%else |
539 |
|
%patch1 -p1 |
540 |
%endif |
%endif |
541 |
%if %kstable |
%else |
542 |
|
%if %kpatch |
543 |
%patch1 -p1 |
%patch1 -p1 |
544 |
%endif |
%endif |
545 |
|
%endif |
546 |
|
%if %kgit |
547 |
|
%patch2 -p1 |
548 |
|
%endif |
549 |
|
|
550 |
%{patches_dir}/scripts/apply_patches |
%{patches_dir}/scripts/apply_patches |
551 |
|
|
563 |
%define debug --no-debug |
%define debug --no-debug |
564 |
%endif |
%endif |
565 |
|
|
566 |
|
# enable xz module compression |
567 |
|
%if %build_modxz |
568 |
|
sed -i 's/^CONFIG_MODULE_COMPRESS_GZIP=y/# CONFIG_MODULE_COMPRESS_GZIP is not set/' \ |
569 |
|
%{patches_dir}/configs/*.config |
570 |
|
sed -i 's/^# CONFIG_MODULE_COMPRESS_XZ is not set/CONFIG_MODULE_COMPRESS_XZ=y/' \ |
571 |
|
%{patches_dir}/configs/*.config |
572 |
|
%endif |
573 |
|
|
574 |
%{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}" |
%{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}" |
575 |
|
|
576 |
# make sure the kernel has the sublevel we know it has... |
# make sure the kernel has the sublevel we know it has... |
606 |
fi |
fi |
607 |
|
|
608 |
# make sure EXTRAVERSION says what we want it to say |
# make sure EXTRAVERSION says what we want it to say |
609 |
%if %kstable |
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile |
|
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = .%{kstable}-$extension/" Makefile |
|
|
%else |
|
|
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile |
|
|
%endif |
|
610 |
|
|
611 |
%smake oldconfig |
%smake oldconfig |
612 |
} |
} |
616 |
KernelVer=$1 |
KernelVer=$1 |
617 |
echo "Building kernel $KernelVer" |
echo "Building kernel $KernelVer" |
618 |
|
|
619 |
%kmake all |
%kmake -s all |
620 |
|
|
621 |
# Start installing stuff |
# Start installing stuff |
622 |
install -d %{temp_boot} |
install -d %{temp_boot} |
676 |
cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/ |
cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/ |
677 |
|
|
678 |
for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \ |
for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \ |
679 |
m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do |
m68knommu mn10300 openrisc parisc powerpc ppc s390 sh sh64 score sparc tile \ |
680 |
|
unicore32 v850 xtensa; do |
681 |
rm -rf $TempDevelRoot/arch/$i |
rm -rf $TempDevelRoot/arch/$i |
682 |
done |
done |
683 |
|
|
704 |
|
|
705 |
### Create the kernel_devel_files.* |
### Create the kernel_devel_files.* |
706 |
cat > $kernel_devel_files <<EOF |
cat > $kernel_devel_files <<EOF |
|
%defattr(-,root,root) |
|
707 |
%dir $DevelRoot |
%dir $DevelRoot |
708 |
%dir $DevelRoot/arch |
%dir $DevelRoot/arch |
709 |
%dir $DevelRoot/include |
%dir $DevelRoot/include |
737 |
$DevelRoot/include/rxrpc |
$DevelRoot/include/rxrpc |
738 |
$DevelRoot/include/scsi |
$DevelRoot/include/scsi |
739 |
$DevelRoot/include/sound |
$DevelRoot/include/sound |
740 |
|
$DevelRoot/include/target |
741 |
$DevelRoot/include/trace |
$DevelRoot/include/trace |
742 |
$DevelRoot/include/video |
$DevelRoot/include/video |
743 |
$DevelRoot/include/xen |
$DevelRoot/include/xen |
794 |
|
|
795 |
### Create the kernel_files.* |
### Create the kernel_files.* |
796 |
cat > $kernel_files <<EOF |
cat > $kernel_files <<EOF |
|
%defattr(-,root,root) |
|
797 |
%{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
%{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
798 |
%{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
%{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
799 |
%{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
%{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
835 |
%endif |
%endif |
836 |
EOF |
EOF |
837 |
|
|
838 |
|
### Create kernel Posttran script |
839 |
|
cat > $kernel_files-posttrans <<EOF |
840 |
|
if [ -x /usr/sbin/dkms_autoinstaller ]; then |
841 |
|
/usr/sbin/dkms_autoinstaller start %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
842 |
|
fi |
843 |
|
EOF |
844 |
|
|
845 |
### Create kernel Preun script on the fly |
### Create kernel Preun script on the fly |
846 |
cat > $kernel_files-preun <<EOF |
cat > $kernel_files-preun <<EOF |
872 |
### Create kernel Postun script on the fly |
### Create kernel Postun script on the fly |
873 |
cat > $kernel_files-postun <<EOF |
cat > $kernel_files-postun <<EOF |
874 |
/sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
/sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} |
875 |
|
rm -rf /lib/modules/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} > /dev/null |
876 |
EOF |
EOF |
877 |
} |
} |
878 |
|
|
952 |
|
|
953 |
# Create directories infastructure |
# Create directories infastructure |
954 |
%if %build_source |
%if %build_source |
955 |
install -d %{target_source} |
install -d %{target_source} |
956 |
|
|
957 |
tar cf - . | tar xf - -C %{target_source} |
tar cf - . | tar xf - -C %{target_source} |
958 |
chmod -R a+rX %{target_source} |
chmod -R a+rX %{target_source} |
960 |
# we remove all the source files that we don't ship |
# we remove all the source files that we don't ship |
961 |
# first architecture files |
# first architecture files |
962 |
for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \ |
for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \ |
963 |
m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do |
m68knommu mn10300 openrisc parisc powerpc ppc s390 sh sh64 score sparc tile \ |
964 |
|
v850 xtensa unicore32; do |
965 |
rm -rf %{target_source}/arch/$i |
rm -rf %{target_source}/arch/$i |
966 |
done |
done |
967 |
|
|
971 |
|
|
972 |
# other misc files |
# other misc files |
973 |
rm -f %{target_source}/{.config.old,.config.cmd,.mailmap,.missing-syscalls.d,arch/.gitignore} |
rm -f %{target_source}/{.config.old,.config.cmd,.mailmap,.missing-syscalls.d,arch/.gitignore} |
974 |
|
rm -rf %{target_source}/.tmp_depmod/ |
975 |
|
|
976 |
#endif %build_source |
#endif %build_source |
977 |
%endif |
%endif |
995 |
popd |
popd |
996 |
|
|
997 |
|
|
|
### |
|
|
### clean |
|
|
### |
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
|
|
|
998 |
# We don't want to remove this, the whole reason of its existence is to be |
# We don't want to remove this, the whole reason of its existence is to be |
999 |
# able to do several rpm --short-circuit -bi for testing install |
# able to do several rpm --short-circuit -bi for testing install |
1000 |
# phase without repeating compilation phase |
# phase without repeating compilation phase |
1005 |
### |
### |
1006 |
%if %build_source |
%if %build_source |
1007 |
%files -n %{kname}-source-%{buildrel} |
%files -n %{kname}-source-%{buildrel} |
|
%defattr(-,root,root) |
|
1008 |
%dir %{_kerneldir} |
%dir %{_kerneldir} |
1009 |
%dir %{_kerneldir}/arch |
%dir %{_kerneldir}/arch |
1010 |
%dir %{_kerneldir}/include |
%dir %{_kerneldir}/include |
1036 |
%{_kerneldir}/include/rxrpc |
%{_kerneldir}/include/rxrpc |
1037 |
%{_kerneldir}/include/scsi |
%{_kerneldir}/include/scsi |
1038 |
%{_kerneldir}/include/sound |
%{_kerneldir}/include/sound |
1039 |
|
%{_kerneldir}/include/target |
1040 |
%{_kerneldir}/include/trace |
%{_kerneldir}/include/trace |
1041 |
%{_kerneldir}/include/video |
%{_kerneldir}/include/video |
1042 |
%{_kerneldir}/include/xen |
%{_kerneldir}/include/xen |
1065 |
%doc README.kernel-%{ktag}-sources |
%doc README.kernel-%{ktag}-sources |
1066 |
|
|
1067 |
%files -n %{kname}-source-latest |
%files -n %{kname}-source-latest |
|
%defattr(-,root,root) |
|
1068 |
%endif |
%endif |
1069 |
|
|
1070 |
%if %build_doc |
%if %build_doc |
1071 |
%files -n %{kname}-doc |
%files -n %{kname}-doc |
|
%defattr(-,root,root) |
|
1072 |
%doc linux-%{tar_ver}/Documentation/* |
%doc linux-%{tar_ver}/Documentation/* |
1073 |
%endif |
%endif |
1074 |
|
|
1075 |
%changelog |
%changelog |
1076 |
* Sun Mar 20 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.4-1mdv |
* Thu Dec 22 2011 Thomas Backlund <tmb@mandriva.org> 3.1.6-1.mga2 |
1077 |
|
- update to 3.1.6 |
1078 |
|
- drop patch DS01 (merged) |
1079 |
|
- trigger dkms build in posttrans so modules get built at kernel install |
1080 |
|
instead of at boot (speeds up boot time with new kernel) |
1081 |
|
- update desktop(586) & laptop summaries and descriptions to point out that |
1082 |
|
only 3-3.5GB RAM is detected on 32bit, and that server kernel is needed to |
1083 |
|
fully support 4GB or more |
1084 |
|
- switch transparent hugepages from on by default to madvise (only enabled |
1085 |
|
for apps that requests it), as it fixes desktop freeze when accessing |
1086 |
|
slow media such as usb (thanks to fbui/mdv mail on @cooker ml). |
1087 |
|
|
1088 |
|
* Fri Dec 9 2011 Thomas Backlund <tmb@mandriva.org> 3.1.5-1.mga2 |
1089 |
|
- update to 3.1.5 |
1090 |
|
- drop merged patches: |
1091 |
|
* DG01-DG06, FX01-FX06 |
1092 |
|
- add patch: |
1093 |
|
* DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select() |
1094 |
|
- clean spec: drop buildroot and defattr |
1095 |
|
|
1096 |
|
* Tue Dec 6 2011 Thomas Backlund <tmb@mandriva.org> 3.1.4-3.mga2 |
1097 |
|
- fix patch NI12: IFWLOG: fix return value of checkentry |
1098 |
|
(not properly modified in 2.6.35+ patch, blino, #3594) |
1099 |
|
- rebuild with GCC-4.6.2 |
1100 |
|
|
1101 |
|
* Wed Nov 30 2011 Thomas Backlund <tmb@mandriva.org> 3.1.4-2.mga2 |
1102 |
|
- update patch: |
1103 |
|
* CK01: upstream 3.1.0-ck2 including BFS 0.415 |
1104 |
|
|
1105 |
|
* Tue Nov 29 2011 Thomas Backlund <tmb@mandriva.org> 3.1.4-1.mga2 |
1106 |
|
- update to 3.1.4 |
1107 |
|
* reverts usb patch that broke isochronous devices |
1108 |
|
(i.e. webcam, audio, or other streaming devices) |
1109 |
|
|
1110 |
|
* Mon Nov 28 2011 Thomas Backlund <tmb@mandriva.org> 3.1.3-1.mga2 |
1111 |
|
- update to 3.1.3 |
1112 |
|
- add patches: |
1113 |
|
* DG01: i915: Fix inconsistent backlight level during disabled |
1114 |
|
* DG02: drm: fix integer overflow in drm_mode_dirtyfb_ioctl() |
1115 |
|
* DG03: radeon/kms: fix up gpio i2c mask bits for r4xx for real |
1116 |
|
* DG04: i915: Ivybridge still has fences |
1117 |
|
* DG05: i915: Turn on a required 3D clock gating bit on Sandybridge |
1118 |
|
* DG06: i915: Turn on another required clock gating bit on Sandybridge |
1119 |
|
* DP01: pci: rework ASPM disable code (brings power usage back down |
1120 |
|
to 2.6.37 level) |
1121 |
|
* FX01: don't serialise direct IO reads on page cache checks |
1122 |
|
(fixes performance regression introduced in 2.6.38) |
1123 |
|
* FX02: avoid direct I/O write vs buffered I/O race |
1124 |
|
* FX03: return -EIO when xfs_vn_getattr() failed |
1125 |
|
* FX04: fix buffer flushing during unmount |
1126 |
|
* FX05: fix possible memory corruption in xfs_readlink |
1127 |
|
* FX06: use doalloc flag in xfs_qm_dqattach_one() |
1128 |
|
- update patches: |
1129 |
|
* FU01: unionfs 2.5.10 for 3.1.3 |
1130 |
|
* MB02: merge 3rdparty support |
1131 |
|
* MB10-MB12: ndiswrapper 1.57-rc1 |
1132 |
|
- drop patches: |
1133 |
|
* DS15: its replaced by SND_HDA_PREALLOC_SIZE config option |
1134 |
|
* MB13-MB17: ndiswrapper fixes, merged |
1135 |
|
- disable patches: |
1136 |
|
* KP01: TuxOnIce support, currently broken |
1137 |
|
- dont ship openrisc arch files |
1138 |
|
- update defconfigs |
1139 |
|
|
1140 |
|
* Tue Oct 25 2011 Thomas Backlund <tmb@mandriva.org> 3.0.8-1.mga2 |
1141 |
|
- update to 3.0.8 |
1142 |
|
* drop merged patch: DM20 |
1143 |
|
- enable PM_RUNTIME and USB_SUSPEND |
1144 |
|
|
1145 |
|
* Tue Oct 18 2011 Thomas Backlund <tmb@mandriva.org> 3.0.7-1.mga2 |
1146 |
|
- update to 3.0.7 |
1147 |
|
- update patch: |
1148 |
|
* CK01: 3.0.7-ck1 including BFS 0.413 |
1149 |
|
- re-enable usblp as it is needed by both usb-pp adapters and some printers |
1150 |
|
(mga #2240, #2264) (cups is patched to work with both usblp and libusb) |
1151 |
|
|
1152 |
|
* Tue Oct 04 2011 Thomas Backlund <tmb@mandriva.org> 3.0.6-1.mga2 |
1153 |
|
- update to 3.0.6 |
1154 |
|
- add patch: |
1155 |
|
* DM20: fix boot hang on uvc webcam init (mga #2425) |
1156 |
|
|
1157 |
|
* Tue Aug 30 2011 Thomas Backlund <tmb@mandriva.org> 3.0.4-1.mga2 |
1158 |
|
- update to 3.0.4 |
1159 |
|
- drop merged patch: AA01 |
1160 |
|
|
1161 |
|
* Fri Aug 19 2011 Thomas Backlund <tmb@mandriva.org> 3.0.3-1.mga2 |
1162 |
|
- update to 3.0.3 |
1163 |
|
- update patches: |
1164 |
|
* CK01: Con Kolivas -ck patchset including BFS |
1165 |
|
* FU01: unionfs 2.5.9.2 |
1166 |
|
* KP01: TuxonIce 3.2 |
1167 |
|
- drop merged patches: |
1168 |
|
* CK02, DA60-DA61, DG10-DG14, DN08, DN15-DN19, DP05-DP08 |
1169 |
|
* DP20-DP26, DP30, DV11, FU02-FU03, MK01, NI30-NI31 |
1170 |
|
- add patches: |
1171 |
|
* AA01: genirq: Fix wrong bit operation |
1172 |
|
* DP10-DP12: samsung-laptop: support nc110, nc210, r700, x520 |
1173 |
|
* DP13: samsung-laptop: fix support for older N150, N210, N220 |
1174 |
|
* FB01: btrfs: btrfs_calc_avail_data_space: cope with no read_write devices |
1175 |
|
* MB17: ndiswrapper buildfix for 3.0 |
1176 |
|
* MC84: viahss buildfix for 3.0 |
1177 |
|
- rediff patches: |
1178 |
|
* NI16: netfilter psd mdv/mga modifications |
1179 |
|
- disable patches: |
1180 |
|
* DV01-DV02: framebuffer oops fixes (should not be needed anymore) |
1181 |
|
* FR01: reiser4 support (broken) |
1182 |
|
- adapt spec for 3.0 series version changes |
1183 |
|
- change kernel-tmb-source to noarch |
1184 |
|
- build with -s(ilent) to only log varnings and errors |
1185 |
|
- update defconfigs |
1186 |
|
|
1187 |
|
* Sun Jun 19 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.8-1.mga1 |
1188 |
|
- update to 2.6.38.8 (CVE-2011-1017) |
1189 |
|
- drop merged patches: |
1190 |
|
* AA01, DP15 |
1191 |
|
- add patches: |
1192 |
|
* CK02: update bfs scheduler to 0.406 |
1193 |
|
* MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183) |
1194 |
|
- add mgaver to 'uname -r' |
1195 |
|
|
1196 |
|
* Sun May 22 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.7-1.mga1 |
1197 |
|
- update to 2.6.38.7 (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927) |
1198 |
|
- drop merged patches: |
1199 |
|
* DG20-DG24 |
1200 |
|
- update patches: |
1201 |
|
* FU01, FU03: rollback unionfs to a working 2.5.8 |
1202 |
|
- add patches: |
1203 |
|
* AA01: block: rescan partitions on invalidated devices on -ENOMEDIA too |
1204 |
|
* DN17: r8169: add a new chip for RTL8105 |
1205 |
|
* DN18: r8169: add a new chip for RTL8168DP |
1206 |
|
* DN19: r8169: add support for RTL8168E/RTL8111E |
1207 |
|
|
1208 |
|
* Wed May 18 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-2.mga1 |
1209 |
|
- disable xz module compression again as not all tools/utils can cope |
1210 |
|
with it (can be enabled with '--with modxz' buildtime flag) |
1211 |
|
|
1212 |
|
* Thu May 12 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-1.mga1 |
1213 |
|
- enable xz module compression on 2011.0 |
1214 |
|
- update to 2.6.38.6 |
1215 |
|
- drop merged patches: |
1216 |
|
* AX01 |
1217 |
|
- add patches: |
1218 |
|
* DG20: drm/radeon/kms: add pci id to acer travelmate quirk for 5730 |
1219 |
|
* DG21: drm/radeon/kms: fix gart setup on fusion parts (v2) backport |
1220 |
|
* DG22: drm/i915/dp: Be paranoid in case we disable a DP before it is attached |
1221 |
|
* DG23: drm/i915/lvds: Only act on lid notify when the device is on |
1222 |
|
* DG24: drm/i915: Release object along create user fb error path |
1223 |
|
* DP30: revert: "dell-laptop: Toggle the unsupported hardware killswitch" |
1224 |
|
as it causes regressions on existing hw (reported by Colin Guthrie) |
1225 |
|
* SM02: add support for compressing modules with xz |
1226 |
|
- clean /lib/modules tree on uninstall |
1227 |
|
- disable ACPI_PROCFS_POWER as its obsoleted by the sysfs interface |
1228 |
|
- drop hardcoded vendor references from summarys and descriptions (#1161) |
1229 |
|
- drop warnings about being experimental kernel |
1230 |
|
|
1231 |
|
* Wed May 5 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.5-1.mga1 |
1232 |
|
- update to 2.6.38.5 |
1233 |
|
- add patches: |
1234 |
|
* AX01: x86, AMD: K8 Rev.A-E processors are subject to erratum 400 |
1235 |
|
* AX05: x86, 32bit: raise default vmalloc area to 192MB (Anssi, #904) |
1236 |
|
* DN15: r8169: add support for RTL8105E |
1237 |
|
* DN16: r8169: be verbose when unable to load firmware |
1238 |
|
* DN20: disable powersaving on rt2800 as it is broken (noted by rtp) |
1239 |
|
* DP06-DP08: samsung-laptop: add support for N230, R410P |
1240 |
|
* DP20-DP26: hp-wmi: add support for rfkill on HP Mini 5102 (Anssi) |
1241 |
|
- update patches: |
1242 |
|
* FU01: unionfs 2.5.9 |
1243 |
|
- drop patches: |
1244 |
|
* FU03: unionfs oops fix (obsolete) |
1245 |
|
- enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv) |
1246 |
|
|
1247 |
|
* Sun Apr 24 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.4-1.mga1 |
1248 |
|
- update to 2.6.38.4 |
1249 |
|
- update patches: |
1250 |
|
* DG10: drm/i915: Fix tiling corruption from pipelined fencing |
1251 |
|
* NI30, NI31: ipset 6.4 |
1252 |
|
- add patches: |
1253 |
|
* DA60, DA61: ide/ahci/raid support for Intel Panther Point |
1254 |
|
* DF01: add old ieee1394 aliases to new firewire stack |
1255 |
|
* DG11: drm: Retry i2c transfer of EDID block after failure |
1256 |
|
* DG12: drm/i915/dp: Sanity check eDP existence |
1257 |
|
* DG13: drm/i915: Restore missing command flush before interrupt on BLT ring |
1258 |
|
* DG14: drm/i915: Avoid unmapping pages from a NULL address space |
1259 |
|
* DG15: drm/i915: Enable GPU semaphores by default |
1260 |
|
* DM01: add dm-raid45 aliases to the new dm-raid target |
1261 |
|
* DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE |
1262 |
|
|
1263 |
|
* Sat Apr 16 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.3-1.mga1 |
1264 |
|
- update to 2.6.38.3 |
1265 |
|
- drop merged patches |
1266 |
|
|
1267 |
|
* Mon Apr 11 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.2-2.mga1 |
1268 |
|
- add -stable queue patches (31 fixes) |
1269 |
|
- update patches: |
1270 |
|
* CK01: Con Kolivas -ck3 patchset including bfs 0.400 |
1271 |
|
* FR01: reiser4 for 2.6.38 final |
1272 |
|
- drop patches: |
1273 |
|
* FR02: reiser4 buildfix (merged) |
1274 |
|
|
1275 |
|
* Tue Mar 29 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.2-1.mga1 |
1276 |
|
- update to 2.6.38.2 |
1277 |
|
- drop merged patches: |
1278 |
|
* AX01, AX10, FS01-FS03, LD01-LD02 (xz support) |
1279 |
|
* CK02 (-ck1 patchset buildfix) |
1280 |
|
* DA01-DA03 (ahci ids) |
1281 |
|
* DG01-DG02 (gpu fixes) |
1282 |
|
* DM10-DM14 (dm-raid45, replaced by new dm-raid target) |
1283 |
|
* DM20 (dm-crypt multicore support) |
1284 |
|
* DP06 (samsung-laptop buildfix) |
1285 |
|
* KB01 (headers_install_all export fix) |
1286 |
|
* SE01 (staging fix) |
1287 |
|
- rediff patches: |
1288 |
|
* AI01 (Toshiba Equium A60 fix) |
1289 |
|
* DV01-DV02 (framebuffer oops and deadlock fixes) |
1290 |
|
* MB02 (3rdparty merge) |
1291 |
|
- update patches: |
1292 |
|
* CK01: Con Kolivas -ck1 patchset including BFS v363 |
1293 |
|
* DP05: update samsung-laptop to the one being merged in |
1294 |
|
2.6.39 (replaces old samsung-backlight) |
1295 |
|
* FR01-FR02: reiser4 support |
1296 |
|
* FU01-FU03: unionfs 2.5.8 |
1297 |
|
* KP01: TuxOnIce |
1298 |
|
* S2: disable mrproper on -devel rpms |
1299 |
|
- add patches: |
1300 |
|
* DA20: acpi video blacklist (needed for shuttle-wmi) |
1301 |
|
* DG10: drm/i915: Fix pipelined fencing |
1302 |
|
* DP10: shuttle-wmi support |
1303 |
|
* MB16: ndiswrapper buildfix |
1304 |
|
- update defconfigs and filelists |
1305 |
|
|
1306 |
|
* Sun Mar 20 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.4-1.mga1 |
1307 |
- update to 2.6.37.4 (CVE-2011-1013, CVE-2011-1019, CVE-2011-1076) |
- update to 2.6.37.4 (CVE-2011-1013, CVE-2011-1019, CVE-2011-1076) |
1308 |
- drop merged patch: |
- drop merged patch: |
1309 |
* NI01 |
* NI01 |
1316 |
* DG02: drm/i915: Fix calculation of backlight value in combined mode |
* DG02: drm/i915: Fix calculation of backlight value in combined mode |
1317 |
- drop S5, not needed anymore as we ship unprepared kernel-source |
- drop S5, not needed anymore as we ship unprepared kernel-source |
1318 |
|
|
1319 |
* Sat Jan 26 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.2-1mdv |
* Sat Jan 26 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.2-1.mga1 |
1320 |
- update to 2.6.37.2 |
- update to 2.6.37.2 |
1321 |
- rediff patch: |
- rediff patch: |
1322 |
* CK01: Con Kolivas -ck1 patchset including BFS |
* CK01: Con Kolivas -ck1 patchset including BFS |