/[packages]/cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec
ViewVC logotype

Diff of /cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 78708 by tmb, Tue Mar 29 10:06:54 2011 UTC revision 235519 by tmb, Sat May 12 20:25:25 2012 UTC
# Line 1  Line 1 
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      3
6  %define sublevel        38  # 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         2  
   
 # 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
# Line 119  Line 123 
123  %{?_with_debug: %global build_debug 1}  %{?_with_debug: %global build_debug 1}
124    
125  # For the .nosrc.rpm  # For the .nosrc.rpm
126  %define build_nosrc     0  %define build_nosrc     0
127  %{?_with_nosrc: %global build_nosrc 1}  %{?_with_nosrc: %global build_nosrc 1}
128    
129  %define kmake %make  %define kmake %make
# Line 134  Line 138 
138  #  #
139  # SRC RPM description  # SRC RPM description
140  #  #
141  Summary:        Linux kernel built for Mandriva with modifications by %{ktag}  Summary:        Linux kernel built for %vendor with modifications by %{ktag}
142  Name:           %{kname}  Name:           %{kname}
143  Version:        %{kversion}  Version:        %{kversion}
144  Release:        %{rpmrel}  Release:        %{rpmrel}
# Line 142  License:       GPLv2 Line 146  License:       GPLv2
146  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
147  ExclusiveArch:  %{ix86} x86_64  ExclusiveArch:  %{ix86} x86_64
148  ExclusiveOS:    Linux  ExclusiveOS:    Linux
149  URL:            http://wiki.mandriva.com/en/Docs/Howto/Mandriva_Kernels#kernel-tmb  URL:            http://www.kernel.org
150    
151  ####################################################################  ####################################################################
152  #  #
153  # Sources  # Sources
154  #  #
155  ### This is for full SRC RPM  ### This is for full SRC RPM
156  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
157  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
158  ### This is for stripped SRC RPM  ### This is for stripped SRC RPM
159  %if %build_nosrc  %if %build_nosrc
160  NoSource: 0  NoSource: 0
# Line 172  Source102:     %{kname}.patchlist Line 176  Source102:     %{kname}.patchlist
176  # Patch0 to Patch100 are for core kernel upgrades.  # Patch0 to Patch100 are for core kernel upgrades.
177  #  #
178    
179  # 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
180    
181  %if %kpatch  %if %kpatch
182  Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}.%{sublevel}-%{kpatch}.bz2  %if %sublevel
183  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
184    Source11:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/stable-review/patch-%{kversion}-%{kpatch}.sign
185    %else
186    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.xz
187    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign
188    %endif
189  %endif  %endif
190  %if %kgit  %if %kgit
191  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
192  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
193    %endif
194    %if %sublevel
195    %if %kpatch
196    %define prev_sublevel %(expr %{sublevel} - 1)
197    %if %prev_sublevel
198    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.xz
199    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign
200    %endif
201    %else
202    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.xz
203    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.sign
204  %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  
205  %endif  %endif
206    
207  #END  #END
# Line 193  Source10:      ftp://ftp.kernel.org/pub/linu Line 210  Source10:      ftp://ftp.kernel.org/pub/linu
210  # Defines for the things that are needed for all the kernels  # Defines for the things that are needed for all the kernels
211  #  #
212  %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 \
213  Mandriva Linux operating system.  The kernel handles the basic functions \  %vendor Linux operating system.  The kernel handles the basic functions \
214  of the operating system:  memory allocation, process allocation, device \  of the operating system:  memory allocation, process allocation, device \
215  input and output, etc.  input and output, etc.
216    
 %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 !!  
   
217  ### Global Requires/Provides  ### Global Requires/Provides
218  %define requires1       mkinitrd >= 6.0.92-12  %define requires1       dracut >= 017-9
219  %define requires2       bootloader-utils >= 1.12-1  %define requires2       bootloader-utils >= 1.12-1
220  %define requires3       sysfsutils >= 1.3.0-1 module-init-tools >= 3.6-10  %define requires3       sysfsutils >= 1.3.0-1 module-init-tools >= 3.16-14
221  %define requires4       kernel-firmware >= 20100217-1  %define requires4       kernel-firmware >= 20111229-1
222    
223  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88
224    
 BuildRoot:              %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
 %define buildroot       %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
225  Autoreqprov:            no  Autoreqprov:            no
226  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.16-14
227    
228  %description  %description
229  %common_description_kernel  %common_description_kernel
230    
 %common_description_info  
   
231    
232  # mkflavour() name flavour processor  # mkflavour() name flavour processor
233  # name: the flavour name in the package name  # name: the flavour name in the package name
# Line 243  Group:         System/Kernel and hardware              \ Line 247  Group:         System/Kernel and hardware              \
247  %description -n %{kname}-%{1}-%{buildrel}               \  %description -n %{kname}-%{1}-%{buildrel}               \
248  %common_description_kernel %{expand:%{info_%(echo %{1})}} \  %common_description_kernel %{expand:%{info_%(echo %{1})}} \
249                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
250  %if %build_devel                                        \  %if %build_devel                                        \
251  %package -n     %{kname}-%{1}-devel-%{buildrel}         \  %package -n     %{kname}-%{1}-devel-%{buildrel}         \
252  Version:        %{fakever}                              \  Version:        %{fakever}                              \
# Line 262  This package contains the kernel-devel f Line 264  This package contains the kernel-devel f
264                                                          \                                                          \
265  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 \
266  %{kname}-source-%{buildrel} rpm.                        \  %{kname}-source-%{buildrel} rpm.                        \
                                                         \  
 %common_description_info                                \  
267  %endif                                                  \  %endif                                                  \
268                                                          \                                                          \
269  %package -n %{kname}-%{1}-latest                        \  %package -n %{kname}-%{1}-latest                        \
# Line 280  Conflicts:     arch(x86_64)                            \ Line 280  Conflicts:     arch(x86_64)                            \
280  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 \
281  latest %{kname}-%{1} installed...                       \  latest %{kname}-%{1} installed...                       \
282                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
283  %if %build_devel                                        \  %if %build_devel                                        \
284  %package -n %{kname}-%{1}-devel-latest                  \  %package -n %{kname}-%{1}-devel-latest                  \
285  Version:        %{kversion}                             \  Version:        %{kversion}                             \
# Line 296  Conflicts:     arch(x86_64)                            \ Line 294  Conflicts:     arch(x86_64)                            \
294  %description -n %{kname}-%{1}-devel-latest              \  %description -n %{kname}-%{1}-devel-latest              \
295  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 \
296  latest %{kname}-%{1}-devel installed...                 \  latest %{kname}-%{1}-devel installed...                 \
                                                         \  
 %common_description_info                                \  
297  %endif                                                  \  %endif                                                  \
298                                                          \                                                          \
299  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \
300    %posttrans -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-posttrans \
301  %preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \  %preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \
302  %postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \  %postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \
303                                                          \                                                          \
# Line 311  latest %{kname}-%{1}-devel installed... Line 308  latest %{kname}-%{1}-devel installed...
308                                                          \                                                          \
309  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \
310  %files -n %{kname}-%{1}-latest                          \  %files -n %{kname}-%{1}-latest                          \
 %defattr(-,root,root)                                   \  
311                                                          \                                                          \
312  %if %build_devel                                        \  %if %build_devel                                        \
313  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \
314  %files -n %{kname}-%{1}-devel-latest                    \  %files -n %{kname}-%{1}-devel-latest                    \
 %defattr(-,root,root)                                   \  
315  %endif  %endif
316    
317    
# Line 325  latest %{kname}-%{1}-devel installed... Line 320  latest %{kname}-%{1}-devel installed...
320  #  #
321  %ifarch %{ix86}  %ifarch %{ix86}
322  %if %build_desktop586  %if %build_desktop586
323  %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
324  %define info_desktop586 This kernel is compiled for desktop use, single or \  %define info_desktop586 This kernel is compiled for desktop use, single or \
325  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 \
326  preempt, BFS cpu scheduler and cfq i/o scheduler. \  detected, if you need/want to use all 4GB or more, install %{kname}-server),\
327     using full preempt, BFS cpu scheduler and cfq i/o scheduler. \
328  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 \
329  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 \
330  processor mode, use the "nosmp" boot parameter.  processor mode, use the "nosmp" boot parameter.
# Line 341  processor mode, use the "nosmp" boot par Line 337  processor mode, use the "nosmp" boot par
337  #  #
338  %if %build_desktop  %if %build_desktop
339  %ifarch %{ix86}  %ifarch %{ix86}
340  %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
341  %define info_desktop This kernel is compiled for desktop use, single or \  %define info_desktop This kernel is compiled for desktop use, single or \
342  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 \
343  preempt, BFS cpu scheduler and cfq i/o scheduler. \  detected, if you need/want to use all 4GB or more, install %{kname}-server), \
344    using full preempt, BFS cpu scheduler and cfq i/o scheduler. \
345  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 \
346  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 \
347  processor mode, use the "nosmp" boot parameter.  processor mode, use the "nosmp" boot parameter.
# Line 365  processor mode, use the "nosmp" boot par Line 362  processor mode, use the "nosmp" boot par
362  #  #
363  %if %build_laptop  %if %build_laptop
364  %ifarch %{ix86}  %ifarch %{ix86}
365  %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
366  %define info_laptop This kernel is compiled for laptop use, single or \  %define info_laptop This kernel is compiled for laptop use, single or \
367  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 \
368  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), \
369  and some other laptop-specific optimizations. If you want to sacrifice \  using HZ_250 to save battery, voluntary preempt, BFS cpu scheduler, \
370  battery life for performance, you better use the %{kname}-desktop. \  cfq i/o scheduler and some other laptop-specific optimizations. \
371    If you want to sacrifice battery life for performance, you better use the \
372    %{kname}-desktop. \
373  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 \
374  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 \
375  processor mode, use the "nosmp" boot parameter. \  processor mode, use the "nosmp" boot parameter. \
# Line 446  Requires:      glibc-devel, ncurses-devel, m Line 445  Requires:      glibc-devel, ncurses-devel, m
445  Summary:        The Linux source code for %{kname}-%{buildrel}  Summary:        The Linux source code for %{kname}-%{buildrel}
446  Group:          Development/Kernel  Group:          Development/Kernel
447  Autoreqprov:    no  Autoreqprov:    no
448  Provides:       kernel-source = %{kverrel}, kernel-devel = %{kverrel}  Provides:       kernel-source = %{kverrel}
449  %ifarch %{ix86}  Buildarch:      noarch
 Conflicts:      arch(x86_64)  
 %endif  
450    
451  %description -n %{kname}-source-%{buildrel}  %description -n %{kname}-source-%{buildrel}
452  The %{kname}-source package contains the source code files for the %{ktag}  The %{kname}-source package contains the source code files for the %{ktag}
# Line 459  build your own custom kernel that is bet Line 456  build your own custom kernel that is bet
456  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-*,...)
457  drivers against, install the *-devel-* rpm that is matching your kernel.  drivers against, install the *-devel-* rpm that is matching your kernel.
458    
 %common_description_info  
459    
460  %post -n %{kname}-source-%{buildrel}  %post -n %{kname}-source-%{buildrel}
461  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do
# Line 490  Release:       %{rpmrel} Line 486  Release:       %{rpmrel}
486  Summary:        Virtual rpm for latest %{kname}-source  Summary:        Virtual rpm for latest %{kname}-source
487  Group:          Development/Kernel  Group:          Development/Kernel
488  Requires:       %{kname}-source-%{buildrel}  Requires:       %{kname}-source-%{buildrel}
489  %ifarch %{ix86}  Buildarch:      noarch
 Conflicts:      arch(x86_64)  
 %endif  
490    
491  %description -n %{kname}-source-latest  %description -n %{kname}-source-latest
492  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
493  latest %{kname}-source installed...  latest %{kname}-source installed...
   
 %common_description_info  
494  %endif  %endif
495    
496  #  #
# Line 518  Various bits of information about the Li Line 510  Various bits of information about the Li
510  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
511  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
512  Linux kernel modules at load time.  Linux kernel modules at load time.
   
 %common_description_info  
513  %endif  %endif
514    
515  #  #
# Line 533  Linux kernel modules at load time. Line 523  Linux kernel modules at load time.
523  %define patches_dir ../%{patch_ver}/  %define patches_dir ../%{patch_ver}/
524    
525  cd %src_dir  cd %src_dir
526    
527    %if %sublevel
528  %if %kpatch  %if %kpatch
529    %if %prev_sublevel
530  %patch1 -p1  %patch1 -p1
531  %endif  %endif
 %if %kgit  
532  %patch2 -p1  %patch2 -p1
533    %else
534    %patch1 -p1
535  %endif  %endif
536  %if %kstable  %else
537    %if %kpatch
538  %patch1 -p1  %patch1 -p1
539  %endif  %endif
540    %endif
541    %if %kgit
542    %patch2 -p1
543    %endif
544    
545  %{patches_dir}/scripts/apply_patches  %{patches_dir}/scripts/apply_patches
546    
# Line 594  PrepareKernel() { Line 593  PrepareKernel() {
593          fi          fi
594    
595          # make sure EXTRAVERSION says what we want it to say          # make sure EXTRAVERSION says what we want it to say
596          %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  
597    
598          %smake oldconfig          %smake oldconfig
599  }  }
# Line 608  BuildKernel() { Line 603  BuildKernel() {
603          KernelVer=$1          KernelVer=$1
604          echo "Building kernel $KernelVer"          echo "Building kernel $KernelVer"
605    
606          %kmake all          %kmake -s all
607    
608          # Start installing stuff          # Start installing stuff
609          install -d %{temp_boot}          install -d %{temp_boot}
# Line 640  SaveDevel() { Line 635  SaveDevel() {
635          %ifarch %{ix86} x86_64          %ifarch %{ix86} x86_64
636                  cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/                  cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/
637                  cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/                  cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/
638                    cp -fR arch/x86/syscalls/syscall* $TempDevelRoot/arch/x86/syscalls/
639                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/
640          %else          %else
641                  cp -fR arch/%{_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{_arch}/kernel/                  cp -fR arch/%{_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{_arch}/kernel/
# Line 667  SaveDevel() { Line 663  SaveDevel() {
663          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
664          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
665    
666          for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \          for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
667                   m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
668                     powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
669                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
670          done          done
671    
# Line 695  SaveDevel() { Line 692  SaveDevel() {
692    
693  ### Create the kernel_devel_files.*  ### Create the kernel_devel_files.*
694  cat > $kernel_devel_files <<EOF  cat > $kernel_devel_files <<EOF
 %defattr(-,root,root)  
695  %dir $DevelRoot  %dir $DevelRoot
696  %dir $DevelRoot/arch  %dir $DevelRoot/arch
697  %dir $DevelRoot/include  %dir $DevelRoot/include
# Line 722  $DevelRoot/include/keys Line 718  $DevelRoot/include/keys
718  $DevelRoot/include/linux  $DevelRoot/include/linux
719  $DevelRoot/include/math-emu  $DevelRoot/include/math-emu
720  $DevelRoot/include/media  $DevelRoot/include/media
721    $DevelRoot/include/misc
722  $DevelRoot/include/mtd  $DevelRoot/include/mtd
723  $DevelRoot/include/net  $DevelRoot/include/net
724  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
# Line 786  CreateFiles() { Line 783  CreateFiles() {
783    
784  ### Create the kernel_files.*  ### Create the kernel_files.*
785  cat > $kernel_files <<EOF  cat > $kernel_files <<EOF
 %defattr(-,root,root)  
786  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
787  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
788  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
# Line 828  fi Line 824  fi
824  %endif  %endif
825  EOF  EOF
826    
827    ### Create kernel Posttran script
828    cat > $kernel_files-posttrans <<EOF
829    if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} ]; then
830        /usr/sbin/dkms_autoinstaller start %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
831    fi
832    EOF
833    
834  ### Create kernel Preun script on the fly  ### Create kernel Preun script on the fly
835  cat > $kernel_files-preun <<EOF  cat > $kernel_files-preun <<EOF
# Line 859  EOF Line 861  EOF
861  ### Create kernel Postun script on the fly  ### Create kernel Postun script on the fly
862  cat > $kernel_files-postun <<EOF  cat > $kernel_files-postun <<EOF
863  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
864    rm -rf /lib/modules/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} > /dev/null
865  EOF  EOF
866  }  }
867    
# Line 938  cp -a %{temp_root} %{buildroot} Line 941  cp -a %{temp_root} %{buildroot}
941    
942  # Create directories infastructure  # Create directories infastructure
943  %if %build_source  %if %build_source
944  install -d %{target_source}  install -d %{target_source}
945    
946  tar cf - . | tar xf - -C %{target_source}  tar cf - . | tar xf - -C %{target_source}
947  chmod -R a+rX %{target_source}  chmod -R a+rX %{target_source}
948    
949  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
950  # first architecture files  # first architecture files
951  for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \  for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
952           m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
953             powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
954          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
955  done  done
956    
# Line 956  done Line 960  done
960    
961  # other misc files  # other misc files
962  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}
963    rm -rf %{target_source}/.tmp_depmod/
964    
965  #endif %build_source  #endif %build_source
966  %endif  %endif
# Line 979  done Line 984  done
984  popd  popd
985    
986    
 ###  
 ### clean  
 ###  
 %clean  
 rm -rf %{buildroot}  
   
   
987  # 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
988  # able to do several rpm --short-circuit -bi for testing install  # able to do several rpm --short-circuit -bi for testing install
989  # phase without repeating compilation phase  # phase without repeating compilation phase
# Line 996  rm -rf %{buildroot} Line 994  rm -rf %{buildroot}
994  ###  ###
995  %if %build_source  %if %build_source
996  %files -n %{kname}-source-%{buildrel}  %files -n %{kname}-source-%{buildrel}
 %defattr(-,root,root)  
997  %dir %{_kerneldir}  %dir %{_kerneldir}
998  %dir %{_kerneldir}/arch  %dir %{_kerneldir}/arch
999  %dir %{_kerneldir}/include  %dir %{_kerneldir}/include
# Line 1021  rm -rf %{buildroot} Line 1018  rm -rf %{buildroot}
1018  %{_kerneldir}/include/linux  %{_kerneldir}/include/linux
1019  %{_kerneldir}/include/math-emu  %{_kerneldir}/include/math-emu
1020  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1021    %{_kerneldir}/include/misc
1022  %{_kerneldir}/include/mtd  %{_kerneldir}/include/mtd
1023  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1024  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
# Line 1057  rm -rf %{buildroot} Line 1055  rm -rf %{buildroot}
1055  %doc README.kernel-%{ktag}-sources  %doc README.kernel-%{ktag}-sources
1056    
1057  %files -n %{kname}-source-latest  %files -n %{kname}-source-latest
 %defattr(-,root,root)  
1058  %endif  %endif
1059    
1060  %if %build_doc  %if %build_doc
1061  %files -n %{kname}-doc  %files -n %{kname}-doc
 %defattr(-,root,root)  
1062  %doc linux-%{tar_ver}/Documentation/*  %doc linux-%{tar_ver}/Documentation/*
1063  %endif  %endif
1064    
1065  %changelog  %changelog
1066  * Tue Mar 29 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.2-1.mga1  * Sat May 12 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-1.mga2
1067    - update to 3.3.6
1068    - drop merged patches:
1069      * AA01-AA32: stable queue fixes
1070      * DP10-DP13: samsung-laptop dmitable addons
1071    - switch server kernels back to SLAB allocator as it performs better
1072      on bigger server hardware and workloads
1073    
1074    * Thu May 10 2012 Thomas Backlund <tmb@mageia.org> 3.3.5-1.mga2
1075    - update to 3.3.5
1076    - drop merged patches:
1077      * DN15-DN17: iwlwifi fixes
1078    - add patches from stable queue
1079      * AA01-AA32: fixes all over
1080    
1081    * Sat Apr 28 2012 Thomas Backlund <tmb@mageia.org> 3.3.4-1.mga2
1082    - update to 3.3.4
1083    - require dracut >= 017-9
1084    - add patches:
1085      * DN16: iwlwifi: use 6000G2B for 6030 device series
1086      * DN17: iwlwifi: fix hardware queue programming
1087    
1088    * Mon Apr 23 2012 Thomas Backlund <tmb@mageia.org> 3.3.3-1.mga2
1089    - update to 3.3.3
1090    - add patches:
1091      * BF01: floppy: disable pnp autoloading
1092      * DN10: ath5k: do not stop queues for full calibration
1093      * DN11: ath5k: do not re-run AGC calibration periodically
1094      * DN15: iwlwifi: use correct released ucode version
1095    - update patch:
1096      * KP01: TuxOnIce 3.2.1 for kernel-3.3
1097    
1098    * Tue Apr 03 2012 Thomas Backlund <tmb@mageia.org> 3.3.1-1.mga2
1099    - update to 3.3.1
1100    - drop merged patches:
1101      * DM51, SR01-SR03
1102    - update patch:
1103      * CK01: -ck1 patchset including BFS v0.420
1104    - add patches:
1105      * DA50: ata: prefer ata drivers over ide drivers when both are built (Anssi)
1106      * DA60-DA61: ata: add ide/ahci/raid mode support for Intel Lynx Point chipset
1107      * DG01-DG04: drm: add upstream drm changes to support gpu driver backports
1108      * DG20, DG21: drm/radeon: backport support for Southern Islands (HD7xxx)
1109                    GPUs and Trinity APUs
1110      * DG40-DG44: drm/nouveau: backport Kepler (GTX6xx) support
1111      * DG60: drm/i915: add Ivy Bridge GT2 Server entries
1112    - update defconfigs
1113    
1114    * Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2
1115    - update to 3.3 final
1116    - add patches:
1117        * DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2
1118                and similar hardware
1119        * DM51: media/tda10071: correct delivery system to DVB-S/S2
1120    - update defconfigs
1121    
1122    * Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2
1123    - update to 3.3-rc7
1124    
1125    * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1126    - update to 3.3-rc6
1127    - update patches:
1128        * FU01: unionfs 2.5.11
1129        * MB10, MB13, MB14: ndiswrapper 1.57
1130    - rediff patches:
1131        * NI15, NI16: netfilter psd support
1132        * patch disabling mrproper in -devel rpms
1133    - disable patch:
1134        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1135    - update defconfigs
1136    - update filelists
1137    
1138    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1139    - update to 3.2.9
1140    - require dracut >= 017-1
1141    - drop merged patches:
1142        * DG01, DP01, DU01, NM01
1143    - add patches:
1144        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1145    
1146    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1147    - update to 3.2.7
1148    - drop merged patches AA01-AA28
1149    - add patches:
1150        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1151        * DP01: PCI: workaround hard-wired bus number
1152        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1153        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1154        * NM01: mac80211: Fix a rwlock bad magic bug
1155    
1156    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1157    - update to 3.2.6
1158    - add current stable queue (28 fixes, AA01-AA28)
1159    - require dracut >= 016-1 for xz compressed modules support and
1160      other needed fixes
1161    - compress modules with xz
1162    
1163    * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2
1164    - update to 3.2.5
1165    - drop merged patch
1166        * DP01: ASPM rework
1167    
1168    * Thu Jan 26 2012 Thomas Backlund <tmb@mageia.org> 3.2.2-1.mga2
1169    - update to 3.2.2 (CVE-2012-0056)
1170    - update patches:
1171        * CK01: Con Kolivas 3.2-ck1 patchset
1172        * KP01: TuxOnIce 3.2.1
1173    - require dracut instead of mkinitrd
1174    - require module-init-tools >= 3.6-14 for xz support
1175    
1176    * Sun Jan 15 2012 Thomas Backlund <tmb@mageia.org> 3.2.1-1.mga2
1177    - update to 3.2.1
1178    
1179    * Thu Jan  5 2012 Thomas Backlund <tmb@mageia.org> 3.2.0-1.mga2
1180    - update to 3.2
1181    - add patches:
1182        * FU02: fix unionfs build with 3.2 series kernels
1183        * MB13: fix ndiswrapper build with 3.2 series kernels
1184    - update patches:
1185        * CK01: BFS scheduler 0.416
1186    - rediff patches:
1187        * DP11, MB02, NI11, NI16, Source2
1188    - drop patches:
1189        * FB01: btrfs fix, merged
1190    - update filelists and defconfigs
1191    
1192    * Thu Dec 22 2011 Thomas Backlund <tmb@mageia.org> 3.1.6-1.mga2
1193    - update to 3.1.6
1194    - drop patch DS01 (merged)
1195    - trigger dkms build in posttrans so modules get built at kernel install
1196      instead of at boot (speeds up boot time with new kernel)
1197    - update desktop(586) & laptop summaries and descriptions to point out that
1198      only 3-3.5GB RAM is detected on 32bit, and that server kernel is needed to
1199      fully support 4GB or more
1200    - switch transparent hugepages from on by default to madvise (only enabled
1201      for apps that requests it), as it fixes desktop freeze when accessing
1202      slow media such as usb (thanks to fbui/mdv mail on @cooker ml).
1203    
1204    * Fri Dec  9 2011 Thomas Backlund <tmb@mageia.org> 3.1.5-1.mga2
1205    - update to 3.1.5
1206    - drop merged patches:
1207        * DG01-DG06, FX01-FX06
1208    - add patch:
1209        * DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select()
1210    - clean spec: drop buildroot and defattr
1211    
1212    * Tue Dec  6 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-3.mga2
1213    - fix patch NI12: IFWLOG: fix return value of checkentry
1214      (not properly modified in 2.6.35+ patch, blino, #3594)
1215    - rebuild with GCC-4.6.2
1216    
1217    * Wed Nov 30 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-2.mga2
1218    - update patch:
1219      * CK01: upstream 3.1.0-ck2 including BFS 0.415
1220    
1221    * Tue Nov 29 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-1.mga2
1222    - update to 3.1.4
1223      * reverts usb patch that broke isochronous devices
1224        (i.e. webcam, audio, or other streaming devices)
1225    
1226    * Mon Nov 28 2011 Thomas Backlund <tmb@mageia.org> 3.1.3-1.mga2
1227    - update to 3.1.3
1228    - add patches:
1229      * DG01: i915: Fix inconsistent backlight level during disabled
1230      * DG02: drm: fix integer overflow in drm_mode_dirtyfb_ioctl()
1231      * DG03: radeon/kms: fix up gpio i2c mask bits for r4xx for real
1232      * DG04: i915: Ivybridge still has fences
1233      * DG05: i915: Turn on a required 3D clock gating bit on Sandybridge
1234      * DG06: i915: Turn on another required clock gating bit on Sandybridge
1235      * DP01: pci: rework ASPM disable code (brings power usage back down
1236                   to 2.6.37 level)
1237      * FX01: don't serialise direct IO reads on page cache checks
1238              (fixes performance regression introduced in 2.6.38)
1239      * FX02: avoid direct I/O write vs buffered I/O race
1240      * FX03: return -EIO when xfs_vn_getattr() failed
1241      * FX04: fix buffer flushing during unmount
1242      * FX05: fix possible memory corruption in xfs_readlink
1243      * FX06: use doalloc flag in xfs_qm_dqattach_one()
1244    - update patches:
1245      * FU01: unionfs 2.5.10 for 3.1.3
1246      * MB02: merge 3rdparty support
1247      * MB10-MB12: ndiswrapper 1.57-rc1
1248    - drop patches:
1249      * DS15: its replaced by SND_HDA_PREALLOC_SIZE config option
1250      * MB13-MB17: ndiswrapper fixes, merged
1251    - disable patches:
1252      * KP01: TuxOnIce support, currently broken
1253    - dont ship openrisc arch files
1254    - update defconfigs
1255    
1256    * Tue Oct 25 2011 Thomas Backlund <tmb@mageia.org> 3.0.8-1.mga2
1257    - update to 3.0.8
1258      * drop merged patch: DM20
1259    - enable PM_RUNTIME and USB_SUSPEND
1260    
1261    * Tue Oct 18 2011 Thomas Backlund <tmb@mageia.org> 3.0.7-1.mga2
1262    - update to 3.0.7
1263    - update patch:
1264        * CK01: 3.0.7-ck1 including BFS 0.413
1265    - re-enable usblp as it is needed by both usb-pp adapters and some printers
1266      (mga #2240, #2264) (cups is patched to work with both usblp and libusb)
1267    
1268    * Tue Oct 04 2011 Thomas Backlund <tmb@mageia.org> 3.0.6-1.mga2
1269    - update to 3.0.6
1270    - add patch:
1271        * DM20: fix boot hang on uvc webcam init (mga #2425)
1272    
1273    * Tue Aug 30 2011 Thomas Backlund <tmb@mageia.org> 3.0.4-1.mga2
1274    - update to 3.0.4
1275    - drop merged patch: AA01
1276    
1277    * Fri Aug 19 2011 Thomas Backlund <tmb@mageia.org> 3.0.3-1.mga2
1278    - update to 3.0.3
1279    - update patches:
1280        * CK01: Con Kolivas -ck patchset including BFS
1281        * FU01: unionfs 2.5.9.2
1282        * KP01: TuxonIce 3.2
1283    - drop merged patches:
1284        * CK02, DA60-DA61, DG10-DG14, DN08, DN15-DN19, DP05-DP08
1285        * DP20-DP26, DP30, DV11, FU02-FU03, MK01, NI30-NI31
1286    - add patches:
1287        * AA01: genirq: Fix wrong bit operation
1288        * DP10-DP12: samsung-laptop: support nc110, nc210, r700, x520
1289        * DP13: samsung-laptop: fix support for older N150, N210, N220
1290        * FB01: btrfs: btrfs_calc_avail_data_space: cope with no read_write devices
1291        * MB17: ndiswrapper buildfix for 3.0
1292        * MC84: viahss buildfix for 3.0
1293    - rediff patches:
1294        * NI16: netfilter psd mdv/mga modifications
1295    - disable patches:
1296        * DV01-DV02: framebuffer oops fixes (should not be needed anymore)
1297        * FR01: reiser4 support (broken)
1298    - adapt spec for 3.0 series version changes
1299    - change kernel-tmb-source to noarch
1300    - build with -s(ilent) to only log varnings and errors
1301    - update defconfigs
1302    
1303    * Sun Jun 19 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.8-1.mga1
1304    - update to 2.6.38.8 (CVE-2011-1017)
1305    - drop merged patches:
1306        * AA01, DP15
1307    - add patches:
1308        * CK02: update bfs scheduler to 0.406
1309        * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)
1310    - add mgaver to 'uname -r'
1311    
1312    * Sun May 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.7-1.mga1
1313    - update to 2.6.38.7 (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927)
1314    - drop merged patches:
1315        * DG20-DG24
1316    - update patches:
1317        * FU01, FU03: rollback unionfs to a working 2.5.8
1318    - add patches:
1319        * AA01: block: rescan partitions on invalidated devices on -ENOMEDIA too
1320        * DN17: r8169: add a new chip for RTL8105
1321        * DN18: r8169: add a new chip for RTL8168DP
1322        * DN19: r8169: add support for RTL8168E/RTL8111E
1323    
1324    * Wed May 18 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-2.mga1
1325    - disable xz module compression again as not all tools/utils can cope
1326      with it (can be enabled with '--with modxz' buildtime flag)
1327    
1328    * Thu May 12 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-1.mga1
1329    - enable xz module compression on 2011.0
1330    - update to 2.6.38.6
1331    - drop merged patches:
1332        * AX01
1333    - add patches:
1334        * DG20: drm/radeon/kms: add pci id to acer travelmate quirk for 5730
1335        * DG21: drm/radeon/kms: fix gart setup on fusion parts (v2) backport
1336        * DG22: drm/i915/dp: Be paranoid in case we disable a DP before it is attached
1337        * DG23: drm/i915/lvds: Only act on lid notify when the device is on
1338        * DG24: drm/i915: Release object along create user fb error path
1339        * DP30: revert: "dell-laptop: Toggle the unsupported hardware killswitch"
1340                as it causes regressions on existing hw (reported by Colin Guthrie)
1341        * SM02: add support for compressing modules with xz
1342    - clean /lib/modules tree on uninstall
1343    - disable ACPI_PROCFS_POWER as its obsoleted by the sysfs interface
1344    - drop hardcoded vendor references from summarys and descriptions (#1161)
1345    - drop warnings about being experimental kernel
1346    
1347    * Wed May  5 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.5-1.mga1
1348    - update to 2.6.38.5
1349    - add patches:
1350        * AX01: x86, AMD: K8 Rev.A-E processors are subject to erratum 400
1351        * AX05: x86, 32bit: raise default vmalloc area to 192MB (Anssi, #904)
1352        * DN15: r8169: add support for RTL8105E
1353        * DN16: r8169: be verbose when unable to load firmware
1354        * DN20: disable powersaving on rt2800 as it is broken (noted by rtp)
1355        * DP06-DP08: samsung-laptop: add support for N230, R410P
1356        * DP20-DP26: hp-wmi: add support for rfkill on HP Mini 5102 (Anssi)
1357    - update patches:
1358        * FU01: unionfs 2.5.9
1359    - drop patches:
1360        * FU03: unionfs oops fix (obsolete)
1361    - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)
1362    
1363    * Sun Apr 24 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.4-1.mga1
1364    - update to 2.6.38.4
1365    - update patches:
1366        * DG10: drm/i915: Fix tiling corruption from pipelined fencing
1367        * NI30, NI31: ipset 6.4
1368    - add patches:
1369        * DA60, DA61: ide/ahci/raid support for Intel Panther Point
1370        * DF01: add old ieee1394 aliases to new firewire stack
1371        * DG11: drm: Retry i2c transfer of EDID block after failure
1372        * DG12: drm/i915/dp: Sanity check eDP existence
1373        * DG13: drm/i915: Restore missing command flush before interrupt on BLT ring
1374        * DG14: drm/i915: Avoid unmapping pages from a NULL address space
1375        * DG15: drm/i915: Enable GPU semaphores by default
1376        * DM01: add dm-raid45 aliases to the new dm-raid target
1377        * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
1378    
1379    * Sat Apr 16 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.3-1.mga1
1380    - update to 2.6.38.3
1381    - drop merged patches
1382    
1383    * Mon Apr 11 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.2-2.mga1
1384    - add -stable queue patches (31 fixes)
1385    - update patches:
1386        * CK01: Con Kolivas -ck3 patchset including bfs 0.400
1387        * FR01: reiser4 for 2.6.38 final
1388    - drop patches:
1389        * FR02: reiser4 buildfix (merged)
1390    
1391    * Tue Mar 29 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.2-1.mga1
1392  - update to 2.6.38.2  - update to 2.6.38.2
1393  - drop merged patches:  - drop merged patches:
1394      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)
# Line 1098  rm -rf %{buildroot} Line 1419  rm -rf %{buildroot}
1419      * MB16: ndiswrapper buildfix      * MB16: ndiswrapper buildfix
1420  - update defconfigs and filelists  - update defconfigs and filelists
1421    
1422  * Sun Mar 20 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.4-1.mga1  * Sun Mar 20 2011 Thomas Backlund <tmb@mageia.org> 2.6.37.4-1.mga1
1423  - 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)
1424  - drop merged patch:  - drop merged patch:
1425      * NI01      * NI01
# Line 1111  rm -rf %{buildroot} Line 1432  rm -rf %{buildroot}
1432      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1433  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1434    
1435  * Sat Jan 26 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.2-1.mga1  * Sat Jan 26 2011 Thomas Backlund <tmb@mageia.org> 2.6.37.2-1.mga1
1436  - update to 2.6.37.2  - update to 2.6.37.2
1437  - rediff patch:  - rediff patch:
1438      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS

Legend:
Removed from v.78708  
changed lines
  Added in v.235519

  ViewVC Help
Powered by ViewVC 1.1.30