/[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 94546 by tmb, Tue May 3 22:24:58 2011 UTC revision 549320 by tmb, Mon Nov 4 00:08:24 2013 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      12
6  %define sublevel        38  # sublevel is now used for -stable patches
7    %define sublevel        0
8    # extstable is for extended stable patches
9    %define extstable       0
10    
11    # Package release
12    %define mgarel          1
13    
14  # kernel Makefile extraversion is substituted by  # kernel Makefile extraversion is substituted by
15  # 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)  
16  %define kpatch          0  %define kpatch          0
17    # kernel.org -gitX patch (only the number after "git")
18  %define kgit            0  %define kgit            0
 %define kstable         5  
   
 # this is the releaseversion  
 %define kbuild          1  
19    
20  %define ktag            tmb  # Patch tarball tag
21  %define kname           kernel-%{ktag}  %define ktag            tmb
22    # kernel base name (also name of srpm)
23    %define kname           kernel-%{ktag}
24    
25  %define rpmtag          %distsuffix  # release defines
26    %define rpmtag          %{distsuffix}%{mgaver}
27  %if %kpatch  %if %kpatch
28  %if %kgit  %if %kgit
29  %define rpmrel          %mkrel 0.%{kpatch}.%{kgit}.%{kbuild}  %define rpmrel          %mkrel 0.%{kpatch}.%{kgit}.%{mgarel}
30  %else  %else
31  %define rpmrel          %mkrel 0.%{kpatch}.%{kbuild}  %define rpmrel          %mkrel 0.%{kpatch}.%{mgarel}
32  %endif  %endif
33  %else  %else
34  %define rpmrel          %mkrel %{kbuild}  %define rpmrel          %mkrel %{mgarel}
35  %endif  %endif
36    
37  # theese two never change, they are used to fool rpm/urpmi/smart  # fakerel and fakever never change, they are used to fool
38    # rpm/urpmi/smart
39  %define fakever         1  %define fakever         1
40  %define fakerel         %mkrel 1  %define fakerel         %mkrel 1
41    
42    # version defines
43    %if %extstable
44    %define kversion        %{kernelversion}.%{patchlevel}.%{sublevel}.%{extstable}
45    %else
46    %define kversion        %{kernelversion}.%{patchlevel}.%{sublevel}
47    %endif
48    %define kverrel         %{kversion}-%{rpmrel}
49    
50  # 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
51  %if %kpatch  %if %kpatch
52  %define kversion        %{kernelversion}.%{patchlevel}.%{sublevel}  %if %sublevel
53  %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}  
54  %else  %else
55  %define kversion        %{kernelversion}.%{patchlevel}.%{sublevel}  %define tar_ver         %{kernelversion}.%(expr %{patchlevel} - 1)
 %define tar_ver         %{kversion}  
56  %endif  %endif
57  %define patch_ver       %{kversion}-%{ktag}%{kbuild}  %define patch_ver       %{kversion}-%{kpatch}-%{ktag}%{mgarel}
58    %else
59    %define tar_ver         %{kernelversion}.%{patchlevel}
60    %define patch_ver       %{kversion}-%{ktag}%{mgarel}
61  %endif  %endif
 %define kverrel         %{kversion}-%{rpmrel}  
62    
63  # used for not making too long names for rpms or search paths  # Used for not making too long names for rpms or search paths
64  %if %kpatch  %if %kpatch
65  %if %kgit  %if %kgit
66  %define buildrpmrel     0.%{kpatch}.%{kgit}.%{kbuild}%{rpmtag}  %define buildrpmrel     0.%{kpatch}.%{kgit}.%{mgarel}%{rpmtag}
67  %else  %else
68  %define buildrpmrel     0.%{kpatch}.%{kbuild}%{rpmtag}  %define buildrpmrel     0.%{kpatch}.%{mgarel}%{rpmtag}
69  %endif  %endif
70  %else  %else
71  %define buildrpmrel     %{kbuild}%{rpmtag}  %define buildrpmrel     %{mgarel}%{rpmtag}
72  %endif  %endif
73  %define buildrel        %{kversion}-%{buildrpmrel}  %define buildrel        %{kversion}-%{buildrpmrel}
74    
75  # 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 :(
76  %define top_dir_name    %{kname}-%{_arch}  %define top_dir_name    %{kname}-%{_arch}
77    
78  %define build_dir       ${RPM_BUILD_DIR}/%{top_dir_name}  %define build_dir       ${RPM_BUILD_DIR}/%{top_dir_name}
79  %define src_dir         %{build_dir}/linux-%{tar_ver}  %define src_dir         %{build_dir}/linux-%{tar_ver}
80    
81  # disable useless debug rpms...  # disable useless debug rpms...
82  %define _enable_debug_packages  %{nil}  %define _enable_debug_packages  %{nil}
83  %define debug_package           %{nil}  %define debug_package           %{nil}
84    
85  # Build defines  # Build defines
86  %define build_doc               0  %define build_doc               0
87  %define build_source            1  %define build_source            1
88  %define build_devel             1  %define build_devel             1
89  %define build_debug             0  %define build_debug             0
90    
91  # Build desktop i586 / 4GB  # xz compress modules
92    %define build_modxz             1
93    
94    # Build desktop586 (i586 / 4GB)
95  %ifarch %{ix86}  %ifarch %{ix86}
96  %define build_desktop586        1  %define build_desktop586        1
97  %endif  %endif
98    
99  # Build mm (i686 / 4GB) / x86_64  # Build desktop (i686 / 4GB) / x86_64
100  %define build_desktop           1  %define build_desktop           1
101    
102  # Build laptop (i686 / 4GB)/ x86_64  # Build laptop (i686 / 4GB)/ x86_64
# Line 119  Line 132 
132  %{?_with_debug: %global build_debug 1}  %{?_with_debug: %global build_debug 1}
133    
134  # For the .nosrc.rpm  # For the .nosrc.rpm
135  %define build_nosrc     0  %define build_nosrc     0
136  %{?_with_nosrc: %global build_nosrc 1}  %{?_with_nosrc: %global build_nosrc 1}
137    
138  %define kmake %make  %define kmake %make
# Line 134  Line 147 
147  #  #
148  # SRC RPM description  # SRC RPM description
149  #  #
150  Summary:        Linux kernel built for Mandriva with modifications by %{ktag}  Summary:        Linux kernel built for %vendor with modifications by %{ktag}
151  Name:           %{kname}  Name:           %{kname}
152  Version:        %{kversion}  Version:        %{kversion}
153  Release:        %{rpmrel}  Release:        %{rpmrel}
# Line 142  License:       GPLv2 Line 155  License:       GPLv2
155  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
156  ExclusiveArch:  %{ix86} x86_64  ExclusiveArch:  %{ix86} x86_64
157  ExclusiveOS:    Linux  ExclusiveOS:    Linux
158  URL:            http://wiki.mandriva.com/en/Docs/Howto/Mandriva_Kernels#kernel-tmb  URL:            http://www.kernel.org
159    
160  ####################################################################  ####################################################################
161  #  #
162  # Sources  # Sources
163  #  #
164  ### This is for full SRC RPM  ### This is for full SRC RPM
165  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-3.11.tar.xz
166  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-3.11.tar.sign
167  ### This is for stripped SRC RPM  ### This is for stripped SRC RPM
168  %if %build_nosrc  %if %build_nosrc
169  NoSource: 0  NoSource: 0
# Line 172  Source102:     %{kname}.patchlist Line 185  Source102:     %{kname}.patchlist
185  # Patch0 to Patch100 are for core kernel upgrades.  # Patch0 to Patch100 are for core kernel upgrades.
186  #  #
187    
188  # 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
189    
190  %if %kpatch  %if %kpatch
191  Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}.%{sublevel}-%{kpatch}.bz2  %if %sublevel
192  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
193    Source11:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/stable-review/patch-%{kversion}-%{kpatch}.sign
194    %else
195    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.xz
196    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign
197    %endif
198  %endif  %endif
199  %if %kgit  %if %kgit
200  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
201  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
202    %endif
203    %if %sublevel
204    %if %kpatch
205    %define prev_sublevel %(expr %{sublevel} - 1)
206    %if %prev_sublevel
207    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.xz
208    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign
209    %endif
210    %else
211    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{sublevel}.xz
212    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{sublevel}.sign
213  %endif  %endif
214  %if %kstable  %endif
215  Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.bz2  %if %extstable
216  Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.bz2.sign  Patch3:         patch-%{kernelversion}.%{patchlevel}.%{sublevel}.%{extstable}.patch
217  %endif  %endif
218    
219  #END  #END
# Line 193  Source10:      ftp://ftp.kernel.org/pub/linu Line 222  Source10:      ftp://ftp.kernel.org/pub/linu
222  # Defines for the things that are needed for all the kernels  # Defines for the things that are needed for all the kernels
223  #  #
224  %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 \
225  Mandriva Linux operating system.  The kernel handles the basic functions \  %vendor Linux operating system.  The kernel handles the basic functions \
226  of the operating system:  memory allocation, process allocation, device \  of the operating system:  memory allocation, process allocation, device \
227  input and output, etc.  input and output, etc.
228    
 %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 !!  
   
229  ### Global Requires/Provides  ### Global Requires/Provides
230  %define requires1       mkinitrd >= 6.0.92-12  %define requires1       bootloader-utils >= 1.16-1
231  %define requires2       bootloader-utils >= 1.12-1  %define requires2       dracut >= 033-1
232  %define requires3       sysfsutils >= 1.3.0-1 module-init-tools >= 3.6-10  %define requires3       kmod >= 12-2
233  %define requires4       kernel-firmware >= 20100217-1  %define requires4       sysfsutils >= 2.1.0-16
234    %define requires5       kernel-firmware >= 20130624-1
235    
236    %define kprovides1      %{kname} = %{kverrel}
237    %define kprovides2      kernel = %{tar_ver}
238    %define kprovides3      alsa = 1.0.26
239    %define kprovides_server drbd-api = 88
240    # conflict dkms packages that dont support kernel-3.12
241    %define kconflicts1     dkms-broadcom-wl < 6.30.223.141-1
242    %define kconflicts1     dkms-fglrx < 13.200.16-1
243    %define kconflicts2     dkms-nvidia-current < 319.60-2
244    %define kconflicts3     dkms-nvidia304 < 304.108-2
245    %define kconflicts4     dkms-nvidia173 < 173.14.38-1
246    # (tmb) nvidia96xx does not support this kernel or x11-server-1.13
247    %define kconflicts5     dkms-nvidia96xx <= 96.43.23
248    %define kconflicts6     dmms-xtables-addons < 2.3-1
249    # (tmb) conflict too old lvm2 rules to make upgrades work (tv, mga #9536)
250    %define kconflicts7     lvm2 < 2.02.98-3
251    # (tmb) conflict too old drakxtools-backend to avoid bogus root=/dev/ (#9536)
252    %define kconflicts8     drakxtools-backend < 15.37-1
253    # (tmb) conflict older btrfs-progs to get the new in same transaction and in initrd
254    %define kconflicts9     btrfs-progs < 0.20-0.rc1.20130607.2
255    # (tmb) conflict too old plymouth (#10128)
256    %define kconflicts10    plymouth < 0.8.6.1-8
257    # (tmb) conflict too old radeon-firmware to get the uvd firmwares in initrd
258    %define kconflicts11    radeon-firmware < 20130626-1
259    
 %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88  
   
 BuildRoot:              %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
 %define buildroot       %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
260  Autoreqprov:            no  Autoreqprov:            no
261  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2  BuildRequires:          gcc >= 4.0.1-5 kmod >= 12-2 bc
262    
263  %description  %description
264  %common_description_kernel  %common_description_kernel
265    
 %common_description_info  
   
266    
267  # mkflavour() name flavour processor  # mkflavour() name flavour processor
268  # name: the flavour name in the package name  # name: the flavour name in the package name
# Line 232  BuildRequires:                 gcc >= 4.0.1-5 module-i Line 271  BuildRequires:                 gcc >= 4.0.1-5 module-i
271  %package -n %{kname}-%{1}-%{buildrel}                   \  %package -n %{kname}-%{1}-%{buildrel}                   \
272  Version:        %{fakever}                              \  Version:        %{fakever}                              \
273  Release:        %{fakerel}                              \  Release:        %{fakerel}                              \
274  Provides:       %kprovides                              \  Summary:        %{expand:%{summary_%(echo %{1})}}       \
275  Provides:       should-restart = system                 \  Group:          System/Kernel and hardware              \
276  Requires(pre):  %requires1 %requires2 %requires3 %requires4 \  Provides:       %{kname}-%{1}                           \
277    Provides:       %kprovides1 %kprovides2 %kprovides3     \
278    %{expand:%%{?kprovides_%{1}:Provides: %{kprovides_%{1}}}} \
279    Provides:       should-restart = system                 \
280    Requires(pre):  %requires1 %requires2 %requires3 %requires4 \
281    Requires:       %requires2 %requires5                   \
282    Conflicts:      %kconflicts1 %kconflicts2 %kconflicts3  \
283    Conflicts:      %kconflicts4 %kconflicts5 %kconflicts6  \
284    Conflicts:      %kconflicts7 %kconflicts8 %kconflicts9  \
285    Conflicts:      %kconflicts10 %kconflicts11             \
286    Suggests:       crda iw cpupower                        \
287    Suggests:       %{kname}-%{1}-latest                    \
288  %ifarch %{ix86}                                         \  %ifarch %{ix86}                                         \
289  Conflicts:      arch(x86_64)                            \  Conflicts:      arch(x86_64)                            \
290  %endif                                                  \  %endif                                                  \
 Summary:        %{expand:%{summary_%(echo %{1})}}       \  
 Group:          System/Kernel and hardware              \  
291  %description -n %{kname}-%{1}-%{buildrel}               \  %description -n %{kname}-%{1}-%{buildrel}               \
292  %common_description_kernel %{expand:%{info_%(echo %{1})}} \  %common_description_kernel %{expand:%{info_%(echo %{1})}} \
293                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
294  %if %build_devel                                        \  %if %build_devel                                        \
295  %package -n     %{kname}-%{1}-devel-%{buildrel}         \  %package -n     %{kname}-%{1}-devel-%{buildrel}         \
296  Version:        %{fakever}                              \  Version:        %{fakever}                              \
297  Release:        %{fakerel}                              \  Release:        %{fakerel}                              \
298    Summary:        The kernel-devel files for %{kname}-%{1}-%{buildrel} \
299    Group:          Development/Kernel                      \
300  Requires:       glibc-devel ncurses-devel make gcc perl \  Requires:       glibc-devel ncurses-devel make gcc perl \
301  %ifarch %{ix86}                                         \  %ifarch %{ix86}                                         \
302  Conflicts:      arch(x86_64)                            \  Conflicts:      arch(x86_64)                            \
303  %endif                                                  \  %endif                                                  \
 Summary:        The kernel-devel files for %{kname}-%{1}-%{buildrel} \  
 Group:          Development/Kernel                      \  
304  Provides:       kernel-devel = %{kverrel}               \  Provides:       kernel-devel = %{kverrel}               \
305    Suggests:       %{kname}-%{1}-devel-latest              \
306  %description -n %{kname}-%{1}-devel-%{buildrel}         \  %description -n %{kname}-%{1}-devel-%{buildrel}         \
307  This package contains the kernel-devel files that should be enough to build \  This package contains the kernel-devel files that should be enough to build \
308  3rdparty drivers against for use with %{kname}-%{1}-%{buildrel}. \  3rdparty drivers against for use with %{kname}-%{1}-%{buildrel}. \
309                                                          \                                                          \
310  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 \
311  %{kname}-source-%{buildrel} rpm.                        \  %{kname}-source-%{buildrel} rpm.                        \
                                                         \  
 %common_description_info                                \  
312  %endif                                                  \  %endif                                                  \
313                                                          \                                                          \
314  %package -n %{kname}-%{1}-latest                        \  %package -n %{kname}-%{1}-latest                        \
# Line 280  Conflicts:     arch(x86_64)                            \ Line 325  Conflicts:     arch(x86_64)                            \
325  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 \
326  latest %{kname}-%{1} installed...                       \  latest %{kname}-%{1} installed...                       \
327                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
328  %if %build_devel                                        \  %if %build_devel                                        \
329  %package -n %{kname}-%{1}-devel-latest                  \  %package -n %{kname}-%{1}-devel-latest                  \
330  Version:        %{kversion}                             \  Version:        %{kversion}                             \
# Line 296  Conflicts:     arch(x86_64)                            \ Line 339  Conflicts:     arch(x86_64)                            \
339  %description -n %{kname}-%{1}-devel-latest              \  %description -n %{kname}-%{1}-devel-latest              \
340  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 \
341  latest %{kname}-%{1}-devel installed...                 \  latest %{kname}-%{1}-devel installed...                 \
                                                         \  
 %common_description_info                                \  
342  %endif                                                  \  %endif                                                  \
343                                                          \                                                          \
344  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \
345    %posttrans -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-posttrans \
346  %preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \  %preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \
347  %postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \  %postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \
348                                                          \                                                          \
# Line 311  latest %{kname}-%{1}-devel installed... Line 353  latest %{kname}-%{1}-devel installed...
353                                                          \                                                          \
354  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \
355  %files -n %{kname}-%{1}-latest                          \  %files -n %{kname}-%{1}-latest                          \
 %defattr(-,root,root)                                   \  
356                                                          \                                                          \
357  %if %build_devel                                        \  %if %build_devel                                        \
358  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \
359  %files -n %{kname}-%{1}-devel-latest                    \  %files -n %{kname}-%{1}-devel-latest                    \
 %defattr(-,root,root)                                   \  
360  %endif  %endif
361    
362    
# Line 325  latest %{kname}-%{1}-devel installed... Line 365  latest %{kname}-%{1}-devel installed...
365  #  #
366  %ifarch %{ix86}  %ifarch %{ix86}
367  %if %build_desktop586  %if %build_desktop586
368  %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
369  %define info_desktop586 This kernel is compiled for desktop use, single or \  %define info_desktop586 This kernel is compiled for desktop use, single or \
370  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 \
371  preempt, BFS cpu scheduler and cfq i/o scheduler. \  detected, if you need/want to use all 4GB or more, install %{kname}-server),\
372     using full preempt, BFS cpu scheduler and cfq i/o scheduler. \
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 341  processor mode, use the "nosmp" boot par Line 382  processor mode, use the "nosmp" boot par
382  #  #
383  %if %build_desktop  %if %build_desktop
384  %ifarch %{ix86}  %ifarch %{ix86}
385  %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
386  %define info_desktop This kernel is compiled for desktop use, single or \  %define info_desktop This kernel is compiled for desktop use, single or \
387  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 \
388  preempt, BFS cpu scheduler and cfq i/o scheduler. \  detected, if you need/want to use all 4GB or more, install %{kname}-server), \
389    using full preempt, BFS cpu scheduler and cfq i/o scheduler. \
390  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 \
391  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 \
392  processor mode, use the "nosmp" boot parameter.  processor mode, use the "nosmp" boot parameter.
# Line 365  processor mode, use the "nosmp" boot par Line 407  processor mode, use the "nosmp" boot par
407  #  #
408  %if %build_laptop  %if %build_laptop
409  %ifarch %{ix86}  %ifarch %{ix86}
410  %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
411  %define info_laptop This kernel is compiled for laptop use, single or \  %define info_laptop This kernel is compiled for laptop use, single or \
412  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 \
413  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), \
414  and some other laptop-specific optimizations. If you want to sacrifice \  using HZ_250 to save battery, voluntary preempt, BFS cpu scheduler, \
415  battery life for performance, you better use the %{kname}-desktop. \  cfq i/o scheduler and some other laptop-specific optimizations. \
416    If you want to sacrifice battery life for performance, you better use the \
417    %{kname}-desktop. \
418  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 \
419  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 \
420  processor mode, use the "nosmp" boot parameter. \  processor mode, use the "nosmp" boot parameter. \
# Line 446  Requires:      glibc-devel, ncurses-devel, m Line 490  Requires:      glibc-devel, ncurses-devel, m
490  Summary:        The Linux source code for %{kname}-%{buildrel}  Summary:        The Linux source code for %{kname}-%{buildrel}
491  Group:          Development/Kernel  Group:          Development/Kernel
492  Autoreqprov:    no  Autoreqprov:    no
493  Provides:       kernel-source = %{kverrel}, kernel-devel = %{kverrel}  Provides:       kernel-source = %{kverrel}
494  %ifarch %{ix86}  Buildarch:      noarch
 Conflicts:      arch(x86_64)  
 %endif  
495    
496  %description -n %{kname}-source-%{buildrel}  %description -n %{kname}-source-%{buildrel}
497  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 501  build your own custom kernel that is bet
501  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-*,...)
502  drivers against, install the *-devel-* rpm that is matching your kernel.  drivers against, install the *-devel-* rpm that is matching your kernel.
503    
 %common_description_info  
504    
505  %post -n %{kname}-source-%{buildrel}  %post -n %{kname}-source-%{buildrel}
506  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do
# Line 490  Release:       %{rpmrel} Line 531  Release:       %{rpmrel}
531  Summary:        Virtual rpm for latest %{kname}-source  Summary:        Virtual rpm for latest %{kname}-source
532  Group:          Development/Kernel  Group:          Development/Kernel
533  Requires:       %{kname}-source-%{buildrel}  Requires:       %{kname}-source-%{buildrel}
534  %ifarch %{ix86}  Buildarch:      noarch
 Conflicts:      arch(x86_64)  
 %endif  
535    
536  %description -n %{kname}-source-latest  %description -n %{kname}-source-latest
537  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
538  latest %{kname}-source installed...  latest %{kname}-source installed...
   
 %common_description_info  
539  %endif  %endif
540    
541  #  #
# Line 509  latest %{kname}-source installed... Line 546  latest %{kname}-source installed...
546  Version:        %{kversion}  Version:        %{kversion}
547  Release:        %{rpmrel}  Release:        %{rpmrel}
548  Summary:        Various documentation bits found in the %{kname} source  Summary:        Various documentation bits found in the %{kname} source
549  Group:          Books/Computer books  Group:          Documentation
550  Buildarch:      noarch  Buildarch:      noarch
551    
552  %description -n %{kname}-doc  %description -n %{kname}-doc
# Line 518  Various bits of information about the Li Line 555  Various bits of information about the Li
555  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
556  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
557  Linux kernel modules at load time.  Linux kernel modules at load time.
   
 %common_description_info  
558  %endif  %endif
559    
560  #  #
# Line 533  Linux kernel modules at load time. Line 568  Linux kernel modules at load time.
568  %define patches_dir ../%{patch_ver}/  %define patches_dir ../%{patch_ver}/
569    
570  cd %src_dir  cd %src_dir
571    
572    %if %sublevel
573  %if %kpatch  %if %kpatch
574    %if %prev_sublevel
575  %patch1 -p1  %patch1 -p1
576  %endif  %endif
 %if %kgit  
577  %patch2 -p1  %patch2 -p1
578    %else
579    %patch1 -p1
580  %endif  %endif
581  %if %kstable  %else
582    %if %kpatch
583  %patch1 -p1  %patch1 -p1
584  %endif  %endif
585    %endif
586    %if %kgit
587    %patch2 -p1
588    %endif
589    %if %extstable
590    %patch3 -p1
591    %endif
592    
593  %{patches_dir}/scripts/apply_patches  %{patches_dir}/scripts/apply_patches
594    
# Line 594  PrepareKernel() { Line 641  PrepareKernel() {
641          fi          fi
642    
643          # make sure EXTRAVERSION says what we want it to say          # make sure EXTRAVERSION says what we want it to say
644          %if %kstable          %if %extstable
645                  LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = .%{kstable}-$extension/" Makefile          LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = .%{extstable}-$extension/" Makefile
646          %else          %else
647                  LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile          LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile
648          %endif          %endif
649    
650          %smake oldconfig          %smake oldconfig
# Line 608  BuildKernel() { Line 655  BuildKernel() {
655          KernelVer=$1          KernelVer=$1
656          echo "Building kernel $KernelVer"          echo "Building kernel $KernelVer"
657    
658          %kmake all          %kmake -s all
659    
660          # Start installing stuff          # Start installing stuff
661          install -d %{temp_boot}          install -d %{temp_boot}
# Line 640  SaveDevel() { Line 687  SaveDevel() {
687          %ifarch %{ix86} x86_64          %ifarch %{ix86} x86_64
688                  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/
689                  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/
690                    cp -fR arch/x86/syscalls/syscall* $TempDevelRoot/arch/x86/syscalls/
691                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/
692                    cp -fR arch/x86/tools $TempDevelRoot/arch/x86/
693          %else          %else
694                  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/
695                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/
696          %endif          %endif
697          cp -fR kernel/bounds.c $TempDevelRoot/kernel/          cp -fR kernel/bounds.c $TempDevelRoot/kernel/
698            cp -fR tools/include $TempDevelRoot/tools/
699          cp -fR .config Module.symvers $TempDevelRoot          cp -fR .config Module.symvers $TempDevelRoot
700          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/
701    
# Line 656  SaveDevel() { Line 706  SaveDevel() {
706          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/
707    
708          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)
709          cp -fR drivers/media/video/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/video/bt8xx/          cp -fR drivers/media/pci/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/pci/bt8xx/
710          cp -fR drivers/media/video/bt8xx/bt848.h $TempDevelRoot/drivers/media/video/bt8xx/          cp -fR drivers/media/pci/bt8xx/bt848.h $TempDevelRoot/drivers/media/pci/bt8xx/
711          cp -fR drivers/media/video/btcx-risc.h $TempDevelRoot/drivers/media/video/          cp -fR drivers/media/common/btcx-risc.h $TempDevelRoot/drivers/media/common/
712    
713          # Needed for external dvb tree (#41418)          # Needed for external dvb tree (#41418)
714          cp -fR drivers/media/dvb/dvb-core/*.h $TempDevelRoot/drivers/media/dvb/dvb-core/          cp -fR drivers/media/dvb-core/*.h $TempDevelRoot/drivers/media/dvb-core/
715          cp -fR drivers/media/dvb/frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb/frontends/          cp -fR drivers/media/dvb-frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb-frontends/
716    
717          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
718          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
719    
720          for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \          for i in alpha arc arm arm26 arm64 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
721                   m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do                   microblaze mips m32r m68k m68knommu metag mn10300 openrisc parisc \
722                     powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
723                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
724          done          done
725    
# Line 676  SaveDevel() { Line 727  SaveDevel() {
727                  rm -rf $TempDevelRoot/arch/x86                  rm -rf $TempDevelRoot/arch/x86
728          %endif          %endif
729    
730            rm -rf $TempDevelRoot/include/kvm/arm*
731    
732          # Clean the scripts tree, and make sure everything is ok (sanity check)          # Clean the scripts tree, and make sure everything is ok (sanity check)
733          # running prepare+scripts (tree was already "prepared" in build)          # running prepare+scripts (tree was already "prepared" in build)
734          pushd $TempDevelRoot >/dev/null          pushd $TempDevelRoot >/dev/null
# Line 695  SaveDevel() { Line 748  SaveDevel() {
748    
749  ### Create the kernel_devel_files.*  ### Create the kernel_devel_files.*
750  cat > $kernel_devel_files <<EOF  cat > $kernel_devel_files <<EOF
 %defattr(-,root,root)  
751  %dir $DevelRoot  %dir $DevelRoot
752  %dir $DevelRoot/arch  %dir $DevelRoot/arch
753  %dir $DevelRoot/include  %dir $DevelRoot/include
# Line 714  $DevelRoot/fs Line 766  $DevelRoot/fs
766  $DevelRoot/include/Kbuild  $DevelRoot/include/Kbuild
767  $DevelRoot/include/acpi  $DevelRoot/include/acpi
768  $DevelRoot/include/asm-generic  $DevelRoot/include/asm-generic
769    $DevelRoot/include/clocksource
770  $DevelRoot/include/config  $DevelRoot/include/config
771  $DevelRoot/include/crypto  $DevelRoot/include/crypto
772  $DevelRoot/include/drm  $DevelRoot/include/drm
773    $DevelRoot/include/dt-bindings
774  $DevelRoot/include/generated  $DevelRoot/include/generated
775  $DevelRoot/include/keys  $DevelRoot/include/keys
776  $DevelRoot/include/linux  $DevelRoot/include/linux
777  $DevelRoot/include/math-emu  $DevelRoot/include/math-emu
778  $DevelRoot/include/media  $DevelRoot/include/media
779  $DevelRoot/include/mtd  $DevelRoot/include/memory
780    $DevelRoot/include/misc
781  $DevelRoot/include/net  $DevelRoot/include/net
782  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
783    $DevelRoot/include/ras
784  $DevelRoot/include/rdma  $DevelRoot/include/rdma
785  $DevelRoot/include/rxrpc  $DevelRoot/include/rxrpc
786  $DevelRoot/include/scsi  $DevelRoot/include/scsi
787  $DevelRoot/include/sound  $DevelRoot/include/sound
788  $DevelRoot/include/target  $DevelRoot/include/target
789  $DevelRoot/include/trace  $DevelRoot/include/trace
790    $DevelRoot/include/uapi
791  $DevelRoot/include/video  $DevelRoot/include/video
792  $DevelRoot/include/xen  $DevelRoot/include/xen
793  $DevelRoot/init  $DevelRoot/init
# Line 786  CreateFiles() { Line 843  CreateFiles() {
843    
844  ### Create the kernel_files.*  ### Create the kernel_files.*
845  cat > $kernel_files <<EOF  cat > $kernel_files <<EOF
 %defattr(-,root,root)  
846  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
847  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
848  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
# Line 828  fi Line 884  fi
884  %endif  %endif
885  EOF  EOF
886    
887    ### Create kernel Posttran script
888    cat > $kernel_files-posttrans <<EOF
889    if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} ]; then
890        /usr/sbin/dkms_autoinstaller start %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
891    fi
892    EOF
893    
894  ### Create kernel Preun script on the fly  ### Create kernel Preun script on the fly
895  cat > $kernel_files-preun <<EOF  cat > $kernel_files-preun <<EOF
# Line 859  EOF Line 921  EOF
921  ### Create kernel Postun script on the fly  ### Create kernel Postun script on the fly
922  cat > $kernel_files-postun <<EOF  cat > $kernel_files-postun <<EOF
923  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
924    rm -rf /lib/modules/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} > /dev/null
925  EOF  EOF
926  }  }
927    
# Line 938  cp -a %{temp_root} %{buildroot} Line 1001  cp -a %{temp_root} %{buildroot}
1001    
1002  # Create directories infastructure  # Create directories infastructure
1003  %if %build_source  %if %build_source
1004  install -d %{target_source}  install -d %{target_source}
1005    
1006  tar cf - . | tar xf - -C %{target_source}  tar cf - . | tar xf - -C %{target_source}
1007  chmod -R a+rX %{target_source}  chmod -R a+rX %{target_source}
1008    
1009  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
1010  # first architecture files  # first architecture files
1011  for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \  for i in alpha arc arm arm26 arm64 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
1012           m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do           microblaze mips m32r m68k m68knommu metag mn10300 openrisc parisc \
1013             powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
1014          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
1015  done  done
1016    
# Line 954  done Line 1018  done
1018          rm -rf %{target_source}/arch/x86          rm -rf %{target_source}/arch/x86
1019  %endif  %endif
1020    
1021    rm -rf %{target_source}/include/kvm/arm*
1022    
1023  # other misc files  # other misc files
1024  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}
1025    rm -rf %{target_source}/.tmp_depmod/
1026    
1027  #endif %build_source  #endif %build_source
1028  %endif  %endif
1029    
1030    # compressing modules
1031    %if %{build_modxz}
1032    find %{target_modules} -name "*.ko" | %kxargs xz -6e
1033    %else
1034    find %{target_modules} -name "*.ko" | %kxargs gzip -9
1035    %endif
1036    
1037  # We used to have a copy of PrepareKernel here  # We used to have a copy of PrepareKernel here
1038  # Now, we make sure that the thing in the linux dir is what we want it to be  # Now, we make sure that the thing in the linux dir is what we want it to be
1039  for i in %{target_modules}/*; do  for i in %{target_modules}/*; do
1040      rm -f $i/build $i/source          rm -f $i/build $i/source
1041  done  done
1042    
1043  # Create modules.description  # sniff, if we compressed all the modules, we change the stamp :(
1044    # we really need the depmod -ae here
1045  pushd %{target_modules}  pushd %{target_modules}
1046  for i in *; do  for i in *; do
1047          pushd $i          /sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i
1048          echo "Creating modules.description for $i"          echo $?
         modules=`find . -name "*.ko.gz"`  
         echo $modules | %kxargs /sbin/modinfo \  
         | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description  
         popd  
1049  done  done
 popd  
1050    
1051    # create modules.description
1052  ###  for i in *; do
1053  ### clean          pushd $i
1054  ###          echo "Creating modules.description for $i"
1055  %clean          modules=`find . -name "*.ko.[g,x]z"`
1056  rm -rf %{buildroot}          echo $modules | %kxargs /sbin/modinfo \
1057            | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description
1058            popd
1059    done
1060    popd
1061    
1062    
1063  # 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
# Line 996  rm -rf %{buildroot} Line 1070  rm -rf %{buildroot}
1070  ###  ###
1071  %if %build_source  %if %build_source
1072  %files -n %{kname}-source-%{buildrel}  %files -n %{kname}-source-%{buildrel}
 %defattr(-,root,root)  
1073  %dir %{_kerneldir}  %dir %{_kerneldir}
1074  %dir %{_kerneldir}/arch  %dir %{_kerneldir}/arch
1075  %dir %{_kerneldir}/include  %dir %{_kerneldir}/include
# Line 1015  rm -rf %{buildroot} Line 1088  rm -rf %{buildroot}
1088  %{_kerneldir}/include/Kbuild  %{_kerneldir}/include/Kbuild
1089  %{_kerneldir}/include/acpi  %{_kerneldir}/include/acpi
1090  %{_kerneldir}/include/asm-generic  %{_kerneldir}/include/asm-generic
1091    %{_kerneldir}/include/clocksource
1092  %{_kerneldir}/include/crypto  %{_kerneldir}/include/crypto
1093  %{_kerneldir}/include/drm  %{_kerneldir}/include/drm
1094    %{_kerneldir}/include/dt-bindings
1095  %{_kerneldir}/include/keys  %{_kerneldir}/include/keys
1096  %{_kerneldir}/include/linux  %{_kerneldir}/include/linux
1097  %{_kerneldir}/include/math-emu  %{_kerneldir}/include/math-emu
1098  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1099  %{_kerneldir}/include/mtd  %{_kerneldir}/include/memory
1100    %{_kerneldir}/include/misc
1101  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1102  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
1103    %{_kerneldir}/include/ras
1104  %{_kerneldir}/include/rdma  %{_kerneldir}/include/rdma
1105  %{_kerneldir}/include/rxrpc  %{_kerneldir}/include/rxrpc
1106  %{_kerneldir}/include/scsi  %{_kerneldir}/include/scsi
1107  %{_kerneldir}/include/sound  %{_kerneldir}/include/sound
1108  %{_kerneldir}/include/target  %{_kerneldir}/include/target
1109  %{_kerneldir}/include/trace  %{_kerneldir}/include/trace
1110    %{_kerneldir}/include/uapi
1111  %{_kerneldir}/include/video  %{_kerneldir}/include/video
1112  %{_kerneldir}/include/xen  %{_kerneldir}/include/xen
1113  %{_kerneldir}/init  %{_kerneldir}/init
# Line 1057  rm -rf %{buildroot} Line 1135  rm -rf %{buildroot}
1135  %doc README.kernel-%{ktag}-sources  %doc README.kernel-%{ktag}-sources
1136    
1137  %files -n %{kname}-source-latest  %files -n %{kname}-source-latest
 %defattr(-,root,root)  
1138  %endif  %endif
1139    
1140  %if %build_doc  %if %build_doc
1141  %files -n %{kname}-doc  %files -n %{kname}-doc
 %defattr(-,root,root)  
1142  %doc linux-%{tar_ver}/Documentation/*  %doc linux-%{tar_ver}/Documentation/*
1143  %endif  %endif
1144    
1145  %changelog  %changelog
1146  * Wed May  5 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.5-1.mga1  * Mon Nov  4 2013 Thomas Backlund <tmb@mageia.org> 3.12.0-1.mga4
1147    - update to 3.12 final
1148    
1149    * Mon Oct 14 2013 Thomas Backlund <tmb@mageia.org> 3.12.0-0.rc5.1.mga4
1150    - update to 3.12-rc5
1151    - drop patches:
1152      * DN40: bcma BCM43142 support (merged)
1153    - update patches:
1154      * FO01-FO09: overlayfs support
1155    - rediff patches:
1156      * NI10: netfilter IFWLOG support
1157    - add patches:
1158      * MB15: ndiswrapper buildfix for kernel 3.12
1159    - disable patches:
1160      * CK01: BFS scheduler (needs update to support 3.12)
1161      * FR01: reiser4 support (needs update to support 3.12)
1162      * KP01: TuxOnIce support (needs update to support 3.12)
1163    - update filelists
1164    - update defconfigs
1165    - update dkms conflicts
1166    
1167    * Thu Oct 3 2013 Thomas Backlund <tmb@mageia.org> 3.10.15-1.mga4
1168    - update to 3.10.15
1169    - drop merged patches:
1170      * DG01, DG02, NM01, NS01, NS02, NW01
1171    
1172    * Thu Aug 22 2013 Thomas Backlund <tmb@mageia.org> 3.10.9-1.mga4
1173    - update to 3.10.9
1174    - add patches:
1175      * DG01: drm/radeon: fix WREG32_OR macro setting bits in a register
1176      * DG02: drm/radeon/r7xx: fix copy paste typo in golden register setup
1177      * NM01: mac80211: add a flag to indicate CCK support for HT clients
1178      * NS01: net_sched: psched_ratecfg_precompute() improvements
1179      * NS02: net_sched: restore "linklayer atm" handling
1180      * NW01: ath9k: Enable PLL fix only for AR9340/AR9330
1181    
1182    * Sat Aug 17 2013 Thomas Backlund <tmb@mageia.org> 3.10.7-1.mga4
1183    - update to 3.10.7
1184    - drop merged/obsolete patches:
1185      * AA01-AA17: stable queue fixes
1186      * DN01-DN04: alx backport
1187      * DN22: carl9170 fix
1188    - update patches:
1189      * CK01: -ck patchset including BFS 0.440
1190      * FO01-FO09: overlayfs support
1191      * FR01: Reiser4 support
1192      * KP01: TuxOnIce support
1193    - add patches:
1194      * MB14: ndiswrapper kernel 3.10 buildfix
1195    - add support for extended stable builds
1196    - update requires on firmwares and tools
1197    - add conflicts on too old dkms, firmware and
1198      tools to get better upgrade transactions
1199    - update defconfigs
1200    - update filelists
1201    
1202    * Fri Jun 28 2013 Thomas Backlund <tmb@mageia.org> 3.9.8-1.mga4
1203    - update to 3.9.8
1204    - add patches:
1205      * AA01-AA17: -stable queue fixes
1206      * DN40: bcma: add support for BCM43142 (mga#9378, mga#10611)
1207    - drop merged patches:
1208      * DN10, DN21, DN30
1209    
1210    * Fri Jun 21 2013 Thomas Backlund <tmb@mageia.org> 3.9.7-1.mga4
1211    - update to 3.9.7
1212    - drop merged patches:
1213      * AA01-AA82 (stable queue fixes)
1214    - add patches:
1215      * DN10: ath9k_htc: Handle IDLE state transition properly
1216      * DN30: rtl8192cu: Fix problem in connecting to WEP or WPA(1) networks
1217    
1218    * Sun Jun  2 2013 Thomas Backlund <tmb@mageia.org> 3.9.4-1.mga4
1219    - update to 3.9.4
1220    - drop merged patches:
1221      * DI01, DI10-DI12, DI20-DI22, DI30-DI31, DI40-DI41
1222      * DI50-DI64, DI70-DI75, DM10, DN10-DN14, DS10
1223    - update patches:
1224      * CK01: -ck1 patchset including BFS 0.430
1225      * FR01: Reiser4 support for kernel 3.9
1226      * KP01: TuxOnIce 3.3 for kernel 3.9
1227    - rediff patches:
1228      * FO01, FO04: overlayfs support
1229      * MB02: 3rdparty tree merge
1230    - add patches:
1231      * DN04: fix up alx AR8161 breakage (mga #10079)
1232      * MB13: ndiswrapper buildfix for kernel 3.9
1233    - update filelists
1234    - update defconfigs
1235    
1236    * Sun May 12 2013 Thomas Backlund <tmb@mageia.org> 3.8.13-1.mga3
1237    - update to 3.8.13
1238    - drop merged patches:
1239      * BD01: block discard fix
1240      * DG01-DG03: drm/radeon fixes
1241      * DG12: drm/cirrus fix
1242      * DG21-DG25: drm/i915 fixes
1243    - add patches:
1244      * DI20-DI22: Input: Cypress PS2 support
1245      * DI30-DI31: Input: Cypress APA support
1246      * DI40-DI41: Input: Synaptics bugfixes
1247      * DI50-DI64: Input: ALPS Rushmore and Dolphin V1 support
1248      * DI70-DI75: Input: Wacom: DTH-2242 and 0x10d support
1249    
1250    * Wed May  8 2013 Thomas Backlund <tmb@mageia.org> 3.8.12-1.mga3
1251    - update to 3.8.12
1252    - update patches:
1253      * DN01-DN03: alx ethernet support including BigFoot e2200
1254    - add patches:
1255      * DG11: drm/cirrus: Correct register values for 16bpp
1256      * DG12: drm/cirrus: deal with bo reserve fail in dirty update path
1257      * DG21: Fix detection of base of stolen memory
1258      * DG22: Use MLC (l3$) for context objects
1259      * DG23: Add no-lvds quirk for Fujitsu Esprimo Q900
1260      * DG24: Fixup Oops in the pipe config computation
1261      * DG25: set CPT FDI RX polarity bits based on VBT
1262      * DN21: carl9170: fix frame drop and WARN due to minstrel_ht change
1263      * DN22: carl9170: remove fast channel change feature (unreliable)
1264    - drop merged patches:
1265      * AA01: TTY fix
1266      * DN04: alx fix
1267    
1268    * Wed May  1 2013 Thomas Backlund <tmb@mageia.org> 3.8.11-1.mga3
1269    - update to 3.8.11
1270    - drop merged patches:
1271      * AA01-AA03: stable queue fixes
1272    - add patch:
1273      * DT01: tty: fix up atime/mtime mess, take three (Linus, upstream)
1274    
1275    * Sat Apr 27 2013 Thomas Backlund <tmb@mageia.org> 3.8.10-1.mga3
1276    - update to 3.8.10
1277    - drop merged / obsolete patches:
1278      * AA01-AA20: 3.8.6+ stable fixes (merged)
1279      * DP01: disable-aspm-link check for ath5k (obsolete)
1280    - add patches:
1281      * AA01: aio: fix possible invalid memory access when DEBUG is enabled
1282      * AA02: TTY: do not update atime/mtime on read/write (CVE-2013-0160)
1283      * AA03: TTY: fix atime/mtime regression
1284      * BD01: block: fix max discard sectors limit
1285      * DG01: drm/radeon: don't use get_engine_clock() on APUs (mga #8077, fdo #62493)
1286      * DG02: drm/radeon: add some new SI PCI ids
1287      * DG03: drm/radeon: add new richland pci ids
1288      * DI10-DI12: intel_idle: add Haswell support
1289    - make EFI_VARS builtin on x86_64
1290    - set DEFAULT_NLS to utf8
1291    
1292    * Sun Apr  7 2013 Thomas Backlund <tmb@mageia.org> 3.8.6-1.mga3
1293    - update to 3.8.6
1294    - update patches:
1295      * CK01: -ck patchset inclunding BFS 0.428
1296      * DN01-DN02: alx ethernet driver
1297      * F01-F13: overlayfs
1298      * KP01: TuxOnIce 3.3
1299      * MB10: ndiswrapper 1.58
1300    - drop merged/obsolete patches:
1301      * AA01-AA16: stable queue fixes for 3.6 series
1302      * CK02: BFS boot fix
1303      * DM50: DVB-S builfix
1304      * DM60: rttrack buildfix
1305      * MB13, MB14: ndiswrapper buildfixes
1306    - add patches:
1307      * AA01-AA20: 3.8 -stable queue fixes
1308      * DI01: Intel Wellsburg PCH i2c support
1309      * DM10: Intel Wellsburg PCH lpc support
1310      * DN03-DN04: alx buildfixes
1311      * DN10: net: asix: init ASIX AX88772B MAC from EEPROM
1312      * DN11: net: asix: handle packets crossing URB boundaries
1313      * DN12: usb/net/asix_devices: Add USBNET HG20F9 ethernet dongle (coling)
1314      * DN13: asix cleanup
1315      * DN14: net: ax88179_178a: add ASIX AX88179_178A USB 3.0/2.0 to gigabit
1316              ethernet adapter support
1317      * DP01: PCI: Remove not needed check in disable aspm link (fixes ath5k)
1318      * DS10: Intel Wellsburg PCH alsa support
1319      * FR01: Reiser4 support
1320    - update defconfigs
1321    
1322    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-3.mga3
1323    - add patch:
1324      * DN01, DN02: alx network driver
1325    
1326    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-2.mga3
1327    - add patch:
1328      * CK02: fix some booting issues with BFS sceduler
1329    
1330    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-1.mga3
1331    - update to 3.6.5
1332    - move -doc to Documentation group
1333    - add patches:
1334      * AA01-AA16: stable queue fixes
1335      * FE01: ext4: fix unjournaled inode bitmap modification
1336              (fixes possible data corruption bug)
1337      * NI14: ipt_IFWLOG buildfix
1338    - update patches:
1339      * CK01: -ck1 patchset
1340      * FO01-FO13: overlayfs
1341      * KP01: TyxOnIce
1342    - disable patches:
1343      * DA20: acpi shuttle-wmi video blacklist (broken)
1344    - enable ZRAM support
1345    - update filelists
1346    - update defconfigs
1347    
1348    * Sat Sep 15 2012 Thomas Backlund <tmb@mageia.org> 3.5.4-1.mga3
1349    - update to 3.5.4
1350    - drop merged patches:
1351      * AA01-AA85, FE01, FU01
1352    
1353    * Tue Sep 11 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-2.mga3
1354    - add patches:
1355      * AA01-AA85: stable queue fixes
1356      * FO01-FO13: overlayfs support (from ubuntu)
1357      * FE01: ext3: Fix fdatasync() for files with only i_size changes (mga #7343)
1358      * FU01: udf: Fix data corruption for files in ICB
1359    - drop patches:
1360      * FU01-FU04: unionfs support (broken)
1361    - update defconfigs
1362    
1363    * Mon Aug 27 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-1.mga3
1364    - update to 3.5.3
1365    
1366    * Thu Aug 16 2012 Thomas Backlund <tmb@mageia.org> 3.5.2-1.mga3
1367    - update to 3.5.2
1368    - update patches:
1369      * CK01: ck1 patchset for 3.5 series kernels including BFS 0.424
1370      * KP01: TuxOnIce 3.3 for 3.5 series kernels
1371    - drop merged patches:
1372      * AA01-AA13: (stable queue fixes)
1373      * BS01: silencing useless scsi ioctl warnings
1374      * CK02: BFS buildfix
1375    - add patches:
1376      * FU03, FU04: unionfs buildfixes for 3.5 series kernels
1377    - update filelists
1378    - update defconfigs
1379    
1380    * Sat Jul 21 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-2.mga3
1381    - make CONFIG_ATA_PIIX, CONFIG_BLK_DEV_SD and CONFIG_CRC_T10DIF
1382      builtin too, so it actually can boot without initrd
1383    - disable CONFIG_LOGO for less screen flickering during boot
1384    
1385    * Fri Jul 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-1.mga3
1386    - update to 3.4.6
1387    - drop patch:
1388      * DN25: ipw2x00: add support for nl80211 clients (merged)
1389    - update patch:
1390      * CK01: -ck3 patchset including BFS v0.424
1391    - add patches:
1392      * AA01-AA13: stable queue fixes
1393      * BS01: silence useless scsi ioctl warnings
1394      * CK02: fix BFS build with sched-nohz-rewrite added in 3.4.6
1395    - make theese config options builtin in order to be able to
1396      test booting without initrd:
1397      (see: https://wiki.mageia.org/en/Feature:BootSansRamdisk)
1398      CONFIG_SCSI_MOD, CONFIG_SCSI, CONFIG_ATA, CONFIG_SATA_AHCI,
1399      CONFIG_EXT3_FS, CONFIG_EXT4_FS, CONFIG_JBD, CONFIG_JBD2,
1400      CONFIG_BTRFS_FS, CONFIG_CRYPTO_CRC32C, CONFIG_CRC16,
1401      CONFIG_LIBCRC32C, CONFIG_ZLIB_DEFLATE
1402    
1403    * Sun Jul  1 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-2.mga3
1404    - enable EFI_STUB support (#6598)
1405    
1406    * Wed Jun 27 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-1.mga3
1407    - update to 3.4.4
1408    - drop patch:
1409      * AA01: 3.4.4-rc1 (merged)
1410    
1411    * Wed Jun 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.3-1.mga3
1412    - update to 3.4.3
1413    - add patch:
1414      * AA01: 3.4.4-rc1
1415    - drop patch:
1416      * FE01: ext4 uninit_bg fix (merged)
1417    - update patch:
1418      * CK01: ck2 patchset including BFS 0.423
1419    
1420    * Sat Jun  9 2012 Thomas Backlund <tmb@mageia.org> 3.4.2-1.mga3
1421    - update to 3.4.2
1422    - add patch:
1423      * FE01: ext4: fix the free blocks calculation for ext3
1424              file systems w/ uninit_bg
1425    
1426    * Mon Jun  4 2012 Thomas Backlund <tmb@mageia.org> 3.4.1-1.mga3
1427    - update to 3.4.1
1428    - drop merged patches:
1429      * DA60, DA61: ahci/ata ids
1430      * DG01-DG04, DG20-DG21, DG40-DG44, DG60: drm backports
1431      * DN10-DN11: ath5k stablilty fixes
1432      * DS20-DS24: sound fixes
1433    - update patches:
1434      * CK01: ck1 patchset including BFS 0.422
1435      * FU01: unionfs 2.5.11
1436      * KP01: tuxonice 3.2.1
1437      * NI10-NI11: netfilter IFWLOG support
1438      * NI16: netfilter psd support
1439    - add patches:
1440      * DM60: radio-rttrack buildfix
1441      * FU02: unionfs buildfix for kernel-3.4
1442    - drop patches:
1443      * DA50: prefer ata over ide hack, needs to be fixed properly
1444      * DN20: disabling powersave on rt2800usb
1445      * LK01: lib/Kconfig.debug text update
1446    - update defconfigs
1447    - update filelists
1448    
1449    * Thu May 17 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-2.mga2
1450    - revert switching server kernels to SLAB allocator at it fails to boot
1451      with BFS scheduler (reported/confirmed by Charles A Edwards.on -dev ml)
1452    - add patches:
1453      * DN25: ipw2x00: add support for nl80211 clients like Network Manager (#5720)
1454      * DS20: ALSA: echoaudio: Remove incorrect part of assertion
1455      * DS21: ALSA: HDA: Lessen CPU usage when waiting for chip to respond
1456      * DS22: ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
1457      * DS23: ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops
1458    
1459    * Sat May 12 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-1.mga2
1460    - update to 3.3.6
1461    - drop merged patches:
1462      * AA01-AA32: stable queue fixes
1463      * DP10-DP13: samsung-laptop dmitable addons
1464    - switch server kernels back to SLAB allocator as it performs better
1465      on bigger server hardware and workloads
1466    
1467    * Thu May 10 2012 Thomas Backlund <tmb@mageia.org> 3.3.5-1.mga2
1468    - update to 3.3.5
1469    - drop merged patches:
1470      * DN15-DN17: iwlwifi fixes
1471    - add patches from stable queue
1472      * AA01-AA32: fixes all over
1473    
1474    * Sat Apr 28 2012 Thomas Backlund <tmb@mageia.org> 3.3.4-1.mga2
1475    - update to 3.3.4
1476    - require dracut >= 017-9
1477    - add patches:
1478      * DN16: iwlwifi: use 6000G2B for 6030 device series
1479      * DN17: iwlwifi: fix hardware queue programming
1480    
1481    * Mon Apr 23 2012 Thomas Backlund <tmb@mageia.org> 3.3.3-1.mga2
1482    - update to 3.3.3
1483    - add patches:
1484      * BF01: floppy: disable pnp autoloading
1485      * DN10: ath5k: do not stop queues for full calibration
1486      * DN11: ath5k: do not re-run AGC calibration periodically
1487      * DN15: iwlwifi: use correct released ucode version
1488    - update patch:
1489      * KP01: TuxOnIce 3.2.1 for kernel-3.3
1490    
1491    * Tue Apr 03 2012 Thomas Backlund <tmb@mageia.org> 3.3.1-1.mga2
1492    - update to 3.3.1
1493    - drop merged patches:
1494      * DM51, SR01-SR03
1495    - update patch:
1496      * CK01: -ck1 patchset including BFS v0.420
1497    - add patches:
1498      * DA50: ata: prefer ata drivers over ide drivers when both are built (Anssi)
1499      * DA60-DA61: ata: add ide/ahci/raid mode support for Intel Lynx Point chipset
1500      * DG01-DG04: drm: add upstream drm changes to support gpu driver backports
1501      * DG20, DG21: drm/radeon: backport support for Southern Islands (HD7xxx)
1502                    GPUs and Trinity APUs
1503      * DG40-DG44: drm/nouveau: backport Kepler (GTX6xx) support
1504      * DG60: drm/i915: add Ivy Bridge GT2 Server entries
1505    - update defconfigs
1506    
1507    * Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2
1508    - update to 3.3 final
1509    - add patches:
1510        * DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2
1511                and similar hardware
1512        * DM51: media/tda10071: correct delivery system to DVB-S/S2
1513    - update defconfigs
1514    
1515    * Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2
1516    - update to 3.3-rc7
1517    
1518    * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1519    - update to 3.3-rc6
1520    - update patches:
1521        * FU01: unionfs 2.5.11
1522        * MB10, MB13, MB14: ndiswrapper 1.57
1523    - rediff patches:
1524        * NI15, NI16: netfilter psd support
1525        * patch disabling mrproper in -devel rpms
1526    - disable patch:
1527        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1528    - update defconfigs
1529    - update filelists
1530    
1531    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1532    - update to 3.2.9
1533    - require dracut >= 017-1
1534    - drop merged patches:
1535        * DG01, DP01, DU01, NM01
1536    - add patches:
1537        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1538    
1539    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1540    - update to 3.2.7
1541    - drop merged patches AA01-AA28
1542    - add patches:
1543        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1544        * DP01: PCI: workaround hard-wired bus number
1545        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1546        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1547        * NM01: mac80211: Fix a rwlock bad magic bug
1548    
1549    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1550    - update to 3.2.6
1551    - add current stable queue (28 fixes, AA01-AA28)
1552    - require dracut >= 016-1 for xz compressed modules support and
1553      other needed fixes
1554    - compress modules with xz
1555    
1556    * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2
1557    - update to 3.2.5
1558    - drop merged patch
1559        * DP01: ASPM rework
1560    
1561    * Thu Jan 26 2012 Thomas Backlund <tmb@mageia.org> 3.2.2-1.mga2
1562    - update to 3.2.2 (CVE-2012-0056)
1563    - update patches:
1564        * CK01: Con Kolivas 3.2-ck1 patchset
1565        * KP01: TuxOnIce 3.2.1
1566    - require dracut instead of mkinitrd
1567    - require module-init-tools >= 3.6-14 for xz support
1568    
1569    * Sun Jan 15 2012 Thomas Backlund <tmb@mageia.org> 3.2.1-1.mga2
1570    - update to 3.2.1
1571    
1572    * Thu Jan  5 2012 Thomas Backlund <tmb@mageia.org> 3.2.0-1.mga2
1573    - update to 3.2
1574    - add patches:
1575        * FU02: fix unionfs build with 3.2 series kernels
1576        * MB13: fix ndiswrapper build with 3.2 series kernels
1577    - update patches:
1578        * CK01: BFS scheduler 0.416
1579    - rediff patches:
1580        * DP11, MB02, NI11, NI16, Source2
1581    - drop patches:
1582        * FB01: btrfs fix, merged
1583    - update filelists and defconfigs
1584    
1585    * Thu Dec 22 2011 Thomas Backlund <tmb@mageia.org> 3.1.6-1.mga2
1586    - update to 3.1.6
1587    - drop patch DS01 (merged)
1588    - trigger dkms build in posttrans so modules get built at kernel install
1589      instead of at boot (speeds up boot time with new kernel)
1590    - update desktop(586) & laptop summaries and descriptions to point out that
1591      only 3-3.5GB RAM is detected on 32bit, and that server kernel is needed to
1592      fully support 4GB or more
1593    - switch transparent hugepages from on by default to madvise (only enabled
1594      for apps that requests it), as it fixes desktop freeze when accessing
1595      slow media such as usb (thanks to fbui/mdv mail on @cooker ml).
1596    
1597    * Fri Dec  9 2011 Thomas Backlund <tmb@mageia.org> 3.1.5-1.mga2
1598    - update to 3.1.5
1599    - drop merged patches:
1600        * DG01-DG06, FX01-FX06
1601    - add patch:
1602        * DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select()
1603    - clean spec: drop buildroot and defattr
1604    
1605    * Tue Dec  6 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-3.mga2
1606    - fix patch NI12: IFWLOG: fix return value of checkentry
1607      (not properly modified in 2.6.35+ patch, blino, #3594)
1608    - rebuild with GCC-4.6.2
1609    
1610    * Wed Nov 30 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-2.mga2
1611    - update patch:
1612      * CK01: upstream 3.1.0-ck2 including BFS 0.415
1613    
1614    * Tue Nov 29 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-1.mga2
1615    - update to 3.1.4
1616      * reverts usb patch that broke isochronous devices
1617        (i.e. webcam, audio, or other streaming devices)
1618    
1619    * Mon Nov 28 2011 Thomas Backlund <tmb@mageia.org> 3.1.3-1.mga2
1620    - update to 3.1.3
1621    - add patches:
1622      * DG01: i915: Fix inconsistent backlight level during disabled
1623      * DG02: drm: fix integer overflow in drm_mode_dirtyfb_ioctl()
1624      * DG03: radeon/kms: fix up gpio i2c mask bits for r4xx for real
1625      * DG04: i915: Ivybridge still has fences
1626      * DG05: i915: Turn on a required 3D clock gating bit on Sandybridge
1627      * DG06: i915: Turn on another required clock gating bit on Sandybridge
1628      * DP01: pci: rework ASPM disable code (brings power usage back down
1629                   to 2.6.37 level)
1630      * FX01: don't serialise direct IO reads on page cache checks
1631              (fixes performance regression introduced in 2.6.38)
1632      * FX02: avoid direct I/O write vs buffered I/O race
1633      * FX03: return -EIO when xfs_vn_getattr() failed
1634      * FX04: fix buffer flushing during unmount
1635      * FX05: fix possible memory corruption in xfs_readlink
1636      * FX06: use doalloc flag in xfs_qm_dqattach_one()
1637    - update patches:
1638      * FU01: unionfs 2.5.10 for 3.1.3
1639      * MB02: merge 3rdparty support
1640      * MB10-MB12: ndiswrapper 1.57-rc1
1641    - drop patches:
1642      * DS15: its replaced by SND_HDA_PREALLOC_SIZE config option
1643      * MB13-MB17: ndiswrapper fixes, merged
1644    - disable patches:
1645      * KP01: TuxOnIce support, currently broken
1646    - dont ship openrisc arch files
1647    - update defconfigs
1648    
1649    * Tue Oct 25 2011 Thomas Backlund <tmb@mageia.org> 3.0.8-1.mga2
1650    - update to 3.0.8
1651      * drop merged patch: DM20
1652    - enable PM_RUNTIME and USB_SUSPEND
1653    
1654    * Tue Oct 18 2011 Thomas Backlund <tmb@mageia.org> 3.0.7-1.mga2
1655    - update to 3.0.7
1656    - update patch:
1657        * CK01: 3.0.7-ck1 including BFS 0.413
1658    - re-enable usblp as it is needed by both usb-pp adapters and some printers
1659      (mga #2240, #2264) (cups is patched to work with both usblp and libusb)
1660    
1661    * Tue Oct 04 2011 Thomas Backlund <tmb@mageia.org> 3.0.6-1.mga2
1662    - update to 3.0.6
1663    - add patch:
1664        * DM20: fix boot hang on uvc webcam init (mga #2425)
1665    
1666    * Tue Aug 30 2011 Thomas Backlund <tmb@mageia.org> 3.0.4-1.mga2
1667    - update to 3.0.4
1668    - drop merged patch: AA01
1669    
1670    * Fri Aug 19 2011 Thomas Backlund <tmb@mageia.org> 3.0.3-1.mga2
1671    - update to 3.0.3
1672    - update patches:
1673        * CK01: Con Kolivas -ck patchset including BFS
1674        * FU01: unionfs 2.5.9.2
1675        * KP01: TuxonIce 3.2
1676    - drop merged patches:
1677        * CK02, DA60-DA61, DG10-DG14, DN08, DN15-DN19, DP05-DP08
1678        * DP20-DP26, DP30, DV11, FU02-FU03, MK01, NI30-NI31
1679    - add patches:
1680        * AA01: genirq: Fix wrong bit operation
1681        * DP10-DP12: samsung-laptop: support nc110, nc210, r700, x520
1682        * DP13: samsung-laptop: fix support for older N150, N210, N220
1683        * FB01: btrfs: btrfs_calc_avail_data_space: cope with no read_write devices
1684        * MB17: ndiswrapper buildfix for 3.0
1685        * MC84: viahss buildfix for 3.0
1686    - rediff patches:
1687        * NI16: netfilter psd mdv/mga modifications
1688    - disable patches:
1689        * DV01-DV02: framebuffer oops fixes (should not be needed anymore)
1690        * FR01: reiser4 support (broken)
1691    - adapt spec for 3.0 series version changes
1692    - change kernel-tmb-source to noarch
1693    - build with -s(ilent) to only log varnings and errors
1694    - update defconfigs
1695    
1696    * Sun Jun 19 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.8-1.mga1
1697    - update to 2.6.38.8 (CVE-2011-1017)
1698    - drop merged patches:
1699        * AA01, DP15
1700    - add patches:
1701        * CK02: update bfs scheduler to 0.406
1702        * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)
1703    - add mgaver to 'uname -r'
1704    
1705    * Sun May 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.7-1.mga1
1706    - update to 2.6.38.7 (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927)
1707    - drop merged patches:
1708        * DG20-DG24
1709    - update patches:
1710        * FU01, FU03: rollback unionfs to a working 2.5.8
1711    - add patches:
1712        * AA01: block: rescan partitions on invalidated devices on -ENOMEDIA too
1713        * DN17: r8169: add a new chip for RTL8105
1714        * DN18: r8169: add a new chip for RTL8168DP
1715        * DN19: r8169: add support for RTL8168E/RTL8111E
1716    
1717    * Wed May 18 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-2.mga1
1718    - disable xz module compression again as not all tools/utils can cope
1719      with it (can be enabled with '--with modxz' buildtime flag)
1720    
1721    * Thu May 12 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-1.mga1
1722    - enable xz module compression on 2011.0
1723    - update to 2.6.38.6
1724    - drop merged patches:
1725        * AX01
1726    - add patches:
1727        * DG20: drm/radeon/kms: add pci id to acer travelmate quirk for 5730
1728        * DG21: drm/radeon/kms: fix gart setup on fusion parts (v2) backport
1729        * DG22: drm/i915/dp: Be paranoid in case we disable a DP before it is attached
1730        * DG23: drm/i915/lvds: Only act on lid notify when the device is on
1731        * DG24: drm/i915: Release object along create user fb error path
1732        * DP30: revert: "dell-laptop: Toggle the unsupported hardware killswitch"
1733                as it causes regressions on existing hw (reported by Colin Guthrie)
1734        * SM02: add support for compressing modules with xz
1735    - clean /lib/modules tree on uninstall
1736    - disable ACPI_PROCFS_POWER as its obsoleted by the sysfs interface
1737    - drop hardcoded vendor references from summarys and descriptions (#1161)
1738    - drop warnings about being experimental kernel
1739    
1740    * Wed May  5 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.5-1.mga1
1741  - update to 2.6.38.5  - update to 2.6.38.5
1742  - add patches:  - add patches:
1743      * AX01: x86, AMD: K8 Rev.A-E processors are subject to erratum 400      * AX01: x86, AMD: K8 Rev.A-E processors are subject to erratum 400
# Line 1083  rm -rf %{buildroot} Line 1753  rm -rf %{buildroot}
1753      * FU03: unionfs oops fix (obsolete)      * FU03: unionfs oops fix (obsolete)
1754  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)
1755    
1756  * Sun Apr 24 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.4-1.mga1  * Sun Apr 24 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.4-1.mga1
1757  - update to 2.6.38.4  - update to 2.6.38.4
1758  - update patches:  - update patches:
1759      * DG10: drm/i915: Fix tiling corruption from pipelined fencing      * DG10: drm/i915: Fix tiling corruption from pipelined fencing
# Line 1099  rm -rf %{buildroot} Line 1769  rm -rf %{buildroot}
1769      * DM01: add dm-raid45 aliases to the new dm-raid target      * DM01: add dm-raid45 aliases to the new dm-raid target
1770      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
1771    
1772  * Sat Apr 16 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.3-1.mga1  * Sat Apr 16 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.3-1.mga1
1773  - update to 2.6.38.3  - update to 2.6.38.3
1774  - drop merged patches  - drop merged patches
1775    
1776  * Mon Apr 11 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.2-2.mga1  * Mon Apr 11 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.2-2.mga1
1777  - add -stable queue patches (31 fixes)  - add -stable queue patches (31 fixes)
1778  - update patches:  - update patches:
1779      * CK01: Con Kolivas -ck3 patchset including bfs 0.400      * CK01: Con Kolivas -ck3 patchset including bfs 0.400
# Line 1111  rm -rf %{buildroot} Line 1781  rm -rf %{buildroot}
1781  - drop patches:  - drop patches:
1782      * FR02: reiser4 buildfix (merged)      * FR02: reiser4 buildfix (merged)
1783    
1784  * Tue Mar 29 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.2-1.mga1  * Tue Mar 29 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.2-1.mga1
1785  - update to 2.6.38.2  - update to 2.6.38.2
1786  - drop merged patches:  - drop merged patches:
1787      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)
# Line 1142  rm -rf %{buildroot} Line 1812  rm -rf %{buildroot}
1812      * MB16: ndiswrapper buildfix      * MB16: ndiswrapper buildfix
1813  - update defconfigs and filelists  - update defconfigs and filelists
1814    
1815  * 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
1816  - 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)
1817  - drop merged patch:  - drop merged patch:
1818      * NI01      * NI01
# Line 1155  rm -rf %{buildroot} Line 1825  rm -rf %{buildroot}
1825      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1826  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1827    
1828  * Sat Jan 26 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.2-1.mga1  * Sat Jan 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.37.2-1.mga1
1829  - update to 2.6.37.2  - update to 2.6.37.2
1830  - rediff patch:  - rediff patch:
1831      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS
# Line 1449  rm -rf %{buildroot} Line 2119  rm -rf %{buildroot}
2119              (fixes a regression and improves writeback ~3 times on big files)              (fixes a regression and improves writeback ~3 times on big files)
2120      * NI01: netfilter: fix CONFIG_COMPAT support      * NI01: netfilter: fix CONFIG_COMPAT support
2121    
2122  * Fri Aug 26 2010 Thomas Backlund <tmb@mandriva.org> 2.6.35.4-1mdv  * Fri Aug 27 2010 Thomas Backlund <tmb@mandriva.org> 2.6.35.4-1mdv
2123  - update to 2.6.35.4 (CVE-2010-2803)  - update to 2.6.35.4 (CVE-2010-2803)
2124    * drop merged patches:    * drop merged patches:
2125        AX01, FS20        AX01, FS20

Legend:
Removed from v.94546  
changed lines
  Added in v.549320

  ViewVC Help
Powered by ViewVC 1.1.30