/[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 100142 by tmb, Sun May 22 14:28:01 2011 UTC revision 284469 by tmb, Sun Aug 26 22:41:06 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      5
6  %define sublevel        38  # sublevel is now used for -stable patches
7    %define sublevel        3
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         7  
   
 # 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}  
48  %else  %else
49  %if %kstable  %define tar_ver         %{kernelversion}.%(expr %{patchlevel} - 1)
 %define kversion        %{kernelversion}.%{patchlevel}.%{sublevel}.%{kstable}  
 %define tar_ver         %{kernelversion}.%{patchlevel}.%{sublevel}  
 %else  
 %define kversion        %{kernelversion}.%{patchlevel}.%{sublevel}  
 %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 97  Line 101 
101  # Build server (i686 / 64GB)/x86_64  # Build server (i686 / 64GB)/x86_64
102  %define build_server            1  %define build_server            1
103    
 # compress modules with xz  
 %define build_modxz             0  
   
104  # End of user definitions  # End of user definitions
105  %{?_without_desktop586: %global build_desktop586 0}  %{?_without_desktop586: %global build_desktop586 0}
106  %{?_without_desktop: %global build_desktop 0}  %{?_without_desktop: %global build_desktop 0}
# Line 110  Line 111 
111  %{?_without_source: %global build_source 0}  %{?_without_source: %global build_source 0}
112  %{?_without_devel: %global build_devel 0}  %{?_without_devel: %global build_devel 0}
113  %{?_without_debug: %global build_debug 0}  %{?_without_debug: %global build_debug 0}
 %{?_without_modxz: %global build_modxz 0}  
114    
115  %{?_with_desktop586: %global build_desktop586 1}  %{?_with_desktop586: %global build_desktop586 1}
116  %{?_with_desktop: %global build_desktop 1}  %{?_with_desktop: %global build_desktop 1}
# Line 121  Line 121 
121  %{?_with_source: %global build_source 1}  %{?_with_source: %global build_source 1}
122  %{?_with_devel: %global build_devel 1}  %{?_with_devel: %global build_devel 1}
123  %{?_with_debug: %global build_debug 1}  %{?_with_debug: %global build_debug 1}
 %{?_with_modxz: %global build_modxz 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 154  URL:           http://www.kernel.org Line 153  URL:           http://www.kernel.org
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 177  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 203  of the operating system:  memory allocat Line 215  of the operating system:  memory allocat
215  input and output, etc.  input and output, etc.
216    
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 kmod >= 7-6
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 kmod >= 7-6
227    
228  %description  %description
229  %common_description_kernel  %common_description_kernel
# Line 287  latest %{kname}-%{1}-devel installed... Line 297  latest %{kname}-%{1}-devel installed...
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 297  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 311  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 327  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 351  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 432  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 475  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
# Line 514  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 540  cd %src_dir Line 558  cd %src_dir
558  %define debug --no-debug  %define debug --no-debug
559  %endif  %endif
560    
 # enable xz module compression  
 %if %build_modxz  
 sed -i  's/^CONFIG_MODULE_COMPRESS_GZIP=y/# CONFIG_MODULE_COMPRESS_GZIP is not set/' \  
         %{patches_dir}/configs/*.config  
 sed -i  's/^# CONFIG_MODULE_COMPRESS_XZ is not set/CONFIG_MODULE_COMPRESS_XZ=y/' \  
         %{patches_dir}/configs/*.config  
 %endif  
   
561  %{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}"  %{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}"
562    
563  # make sure the kernel has the sublevel we know it has...  # make sure the kernel has the sublevel we know it has...
# Line 583  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 597  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 629  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                    cp -fR arch/x86/tools/relocs.c $TempDevelRoot/arch/x86/tools/
641          %else          %else
642                  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/
643                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/
644          %endif          %endif
645          cp -fR kernel/bounds.c $TempDevelRoot/kernel/          cp -fR kernel/bounds.c $TempDevelRoot/kernel/
646            cp -fR tools/include $TempDevelRoot/tools/
647          cp -fR .config Module.symvers $TempDevelRoot          cp -fR .config Module.symvers $TempDevelRoot
648          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/
649    
# Line 656  SaveDevel() { Line 665  SaveDevel() {
665          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
666          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
667    
668          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 \
669                   m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
670                     powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
671                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
672          done          done
673    
# Line 684  SaveDevel() { Line 694  SaveDevel() {
694    
695  ### Create the kernel_devel_files.*  ### Create the kernel_devel_files.*
696  cat > $kernel_devel_files <<EOF  cat > $kernel_devel_files <<EOF
 %defattr(-,root,root)  
697  %dir $DevelRoot  %dir $DevelRoot
698  %dir $DevelRoot/arch  %dir $DevelRoot/arch
699  %dir $DevelRoot/include  %dir $DevelRoot/include
# Line 711  $DevelRoot/include/keys Line 720  $DevelRoot/include/keys
720  $DevelRoot/include/linux  $DevelRoot/include/linux
721  $DevelRoot/include/math-emu  $DevelRoot/include/math-emu
722  $DevelRoot/include/media  $DevelRoot/include/media
723    $DevelRoot/include/memory
724    $DevelRoot/include/misc
725  $DevelRoot/include/mtd  $DevelRoot/include/mtd
726  $DevelRoot/include/net  $DevelRoot/include/net
727  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
# Line 775  CreateFiles() { Line 786  CreateFiles() {
786    
787  ### Create the kernel_files.*  ### Create the kernel_files.*
788  cat > $kernel_files <<EOF  cat > $kernel_files <<EOF
 %defattr(-,root,root)  
789  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
790  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
791  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
# Line 817  fi Line 827  fi
827  %endif  %endif
828  EOF  EOF
829    
830    ### Create kernel Posttran script
831    cat > $kernel_files-posttrans <<EOF
832    if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} ]; then
833        /usr/sbin/dkms_autoinstaller start %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
834    fi
835    EOF
836    
837  ### Create kernel Preun script on the fly  ### Create kernel Preun script on the fly
838  cat > $kernel_files-preun <<EOF  cat > $kernel_files-preun <<EOF
# Line 928  cp -a %{temp_root} %{buildroot} Line 944  cp -a %{temp_root} %{buildroot}
944    
945  # Create directories infastructure  # Create directories infastructure
946  %if %build_source  %if %build_source
947  install -d %{target_source}  install -d %{target_source}
948    
949  tar cf - . | tar xf - -C %{target_source}  tar cf - . | tar xf - -C %{target_source}
950  chmod -R a+rX %{target_source}  chmod -R a+rX %{target_source}
951    
952  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
953  # first architecture files  # first architecture files
954  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 \
955           m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
956             powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
957          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
958  done  done
959    
# Line 946  done Line 963  done
963    
964  # other misc files  # other misc files
965  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}
966    rm -rf %{target_source}/.tmp_depmod/
967    
968  #endif %build_source  #endif %build_source
969  %endif  %endif
# Line 969  done Line 987  done
987  popd  popd
988    
989    
 ###  
 ### clean  
 ###  
 %clean  
 rm -rf %{buildroot}  
   
   
990  # 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
991  # able to do several rpm --short-circuit -bi for testing install  # able to do several rpm --short-circuit -bi for testing install
992  # phase without repeating compilation phase  # phase without repeating compilation phase
# Line 986  rm -rf %{buildroot} Line 997  rm -rf %{buildroot}
997  ###  ###
998  %if %build_source  %if %build_source
999  %files -n %{kname}-source-%{buildrel}  %files -n %{kname}-source-%{buildrel}
 %defattr(-,root,root)  
1000  %dir %{_kerneldir}  %dir %{_kerneldir}
1001  %dir %{_kerneldir}/arch  %dir %{_kerneldir}/arch
1002  %dir %{_kerneldir}/include  %dir %{_kerneldir}/include
# Line 1011  rm -rf %{buildroot} Line 1021  rm -rf %{buildroot}
1021  %{_kerneldir}/include/linux  %{_kerneldir}/include/linux
1022  %{_kerneldir}/include/math-emu  %{_kerneldir}/include/math-emu
1023  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1024    %{_kerneldir}/include/memory
1025    %{_kerneldir}/include/misc
1026  %{_kerneldir}/include/mtd  %{_kerneldir}/include/mtd
1027  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1028  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
# Line 1047  rm -rf %{buildroot} Line 1059  rm -rf %{buildroot}
1059  %doc README.kernel-%{ktag}-sources  %doc README.kernel-%{ktag}-sources
1060    
1061  %files -n %{kname}-source-latest  %files -n %{kname}-source-latest
 %defattr(-,root,root)  
1062  %endif  %endif
1063    
1064  %if %build_doc  %if %build_doc
1065  %files -n %{kname}-doc  %files -n %{kname}-doc
 %defattr(-,root,root)  
1066  %doc linux-%{tar_ver}/Documentation/*  %doc linux-%{tar_ver}/Documentation/*
1067  %endif  %endif
1068    
1069  %changelog  %changelog
1070  * Sun May 22 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.7-1.mga1  * Mon Aug 27 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-1.mga3
1071    - update to 3.5.3
1072    
1073    * Thu Aug 16 2012 Thomas Backlund <tmb@mageia.org> 3.5.2-1.mga3
1074    - update to 3.5.2
1075    - update patches:
1076      * CK01: ck1 patchset for 3.5 series kernels including BFS 0.424
1077      * KP01: TuxOnIce 3.3 for 3.5 series kernels
1078    - drop merged patches:
1079      * AA01-AA13: (stable queue fixes)
1080      * BS01: silencing useless scsi ioctl warnings
1081      * CK02: BFS buildfix
1082    - add patches:
1083      * FU03, FU04: unionfs buildfixes for 3.5 series kernels
1084    - update filelists
1085    - update defconfigs
1086    
1087    * Sat Jul 21 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-2.mga3
1088    - make CONFIG_ATA_PIIX, CONFIG_BLK_DEV_SD and CONFIG_CRC_T10DIF
1089      builtin too, so it actually can boot without initrd
1090    - disable CONFIG_LOGO for less screen flickering during boot
1091    
1092    * Fri Jul 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-1.mga3
1093    - update to 3.4.6
1094    - drop patch:
1095      * DN25: ipw2x00: add support for nl80211 clients (merged)
1096    - update patch:
1097      * CK01: -ck3 patchset including BFS v0.424
1098    - add patches:
1099      * AA01-AA13: stable queue fixes
1100      * BS01: silence useless scsi ioctl warnings
1101      * CK02: fix BFS build with sched-nohz-rewrite added in 3.4.6
1102    - make theese config options builtin in order to be able to
1103      test booting without initrd:
1104      (see: https://wiki.mageia.org/en/Feature:BootSansRamdisk)
1105      CONFIG_SCSI_MOD, CONFIG_SCSI, CONFIG_ATA, CONFIG_SATA_AHCI,
1106      CONFIG_EXT3_FS, CONFIG_EXT4_FS, CONFIG_JBD, CONFIG_JBD2,
1107      CONFIG_BTRFS_FS, CONFIG_CRYPTO_CRC32C, CONFIG_CRC16,
1108      CONFIG_LIBCRC32C, CONFIG_ZLIB_DEFLATE
1109    
1110    * Sun Jul  1 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-2.mga3
1111    - enable EFI_STUB support (#6598)
1112    
1113    * Wed Jun 27 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-1.mga3
1114    - update to 3.4.4
1115    - drop patch:
1116      * AA01: 3.4.4-rc1 (merged)
1117    
1118    * Wed Jun 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.3-1.mga3
1119    - update to 3.4.3
1120    - add patch:
1121      * AA01: 3.4.4-rc1
1122    - drop patch:
1123      * FE01: ext4 uninit_bg fix (merged)
1124    - update patch:
1125      * CK01: ck2 patchset including BFS 0.423
1126    
1127    * Sat Jun  9 2012 Thomas Backlund <tmb@mageia.org> 3.4.2-1.mga3
1128    - update to 3.4.2
1129    - add patch:
1130      * FE01: ext4: fix the free blocks calculation for ext3
1131              file systems w/ uninit_bg
1132    
1133    * Mon Jun  4 2012 Thomas Backlund <tmb@mageia.org> 3.4.1-1.mga3
1134    - update to 3.4.1
1135    - drop merged patches:
1136      * DA60, DA61: ahci/ata ids
1137      * DG01-DG04, DG20-DG21, DG40-DG44, DG60: drm backports
1138      * DN10-DN11: ath5k stablilty fixes
1139      * DS20-DS24: sound fixes
1140    - update patches:
1141      * CK01: ck1 patchset including BFS 0.422
1142      * FU01: unionfs 2.5.11
1143      * KP01: tuxonice 3.2.1
1144      * NI10-NI11: netfilter IFWLOG support
1145      * NI16: netfilter psd support
1146    - add patches:
1147      * DM60: radio-rttrack buildfix
1148      * FU02: unionfs buildfix for kernel-3.4
1149    - drop patches:
1150      * DA50: prefer ata over ide hack, needs to be fixed properly
1151      * DN20: disabling powersave on rt2800usb
1152      * LK01: lib/Kconfig.debug text update
1153    - update defconfigs
1154    - update filelists
1155    
1156    * Thu May 17 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-2.mga2
1157    - revert switching server kernels to SLAB allocator at it fails to boot
1158      with BFS scheduler (reported/confirmed by Charles A Edwards.on -dev ml)
1159    - add patches:
1160      * DN25: ipw2x00: add support for nl80211 clients like Network Manager (#5720)
1161      * DS20: ALSA: echoaudio: Remove incorrect part of assertion
1162      * DS21: ALSA: HDA: Lessen CPU usage when waiting for chip to respond
1163      * DS22: ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
1164      * DS23: ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops
1165    
1166    * Sat May 12 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-1.mga2
1167    - update to 3.3.6
1168    - drop merged patches:
1169      * AA01-AA32: stable queue fixes
1170      * DP10-DP13: samsung-laptop dmitable addons
1171    - switch server kernels back to SLAB allocator as it performs better
1172      on bigger server hardware and workloads
1173    
1174    * Thu May 10 2012 Thomas Backlund <tmb@mageia.org> 3.3.5-1.mga2
1175    - update to 3.3.5
1176    - drop merged patches:
1177      * DN15-DN17: iwlwifi fixes
1178    - add patches from stable queue
1179      * AA01-AA32: fixes all over
1180    
1181    * Sat Apr 28 2012 Thomas Backlund <tmb@mageia.org> 3.3.4-1.mga2
1182    - update to 3.3.4
1183    - require dracut >= 017-9
1184    - add patches:
1185      * DN16: iwlwifi: use 6000G2B for 6030 device series
1186      * DN17: iwlwifi: fix hardware queue programming
1187    
1188    * Mon Apr 23 2012 Thomas Backlund <tmb@mageia.org> 3.3.3-1.mga2
1189    - update to 3.3.3
1190    - add patches:
1191      * BF01: floppy: disable pnp autoloading
1192      * DN10: ath5k: do not stop queues for full calibration
1193      * DN11: ath5k: do not re-run AGC calibration periodically
1194      * DN15: iwlwifi: use correct released ucode version
1195    - update patch:
1196      * KP01: TuxOnIce 3.2.1 for kernel-3.3
1197    
1198    * Tue Apr 03 2012 Thomas Backlund <tmb@mageia.org> 3.3.1-1.mga2
1199    - update to 3.3.1
1200    - drop merged patches:
1201      * DM51, SR01-SR03
1202    - update patch:
1203      * CK01: -ck1 patchset including BFS v0.420
1204    - add patches:
1205      * DA50: ata: prefer ata drivers over ide drivers when both are built (Anssi)
1206      * DA60-DA61: ata: add ide/ahci/raid mode support for Intel Lynx Point chipset
1207      * DG01-DG04: drm: add upstream drm changes to support gpu driver backports
1208      * DG20, DG21: drm/radeon: backport support for Southern Islands (HD7xxx)
1209                    GPUs and Trinity APUs
1210      * DG40-DG44: drm/nouveau: backport Kepler (GTX6xx) support
1211      * DG60: drm/i915: add Ivy Bridge GT2 Server entries
1212    - update defconfigs
1213    
1214    * Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2
1215    - update to 3.3 final
1216    - add patches:
1217        * DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2
1218                and similar hardware
1219        * DM51: media/tda10071: correct delivery system to DVB-S/S2
1220    - update defconfigs
1221    
1222    * Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2
1223    - update to 3.3-rc7
1224    
1225    * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1226    - update to 3.3-rc6
1227    - update patches:
1228        * FU01: unionfs 2.5.11
1229        * MB10, MB13, MB14: ndiswrapper 1.57
1230    - rediff patches:
1231        * NI15, NI16: netfilter psd support
1232        * patch disabling mrproper in -devel rpms
1233    - disable patch:
1234        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1235    - update defconfigs
1236    - update filelists
1237    
1238    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1239    - update to 3.2.9
1240    - require dracut >= 017-1
1241    - drop merged patches:
1242        * DG01, DP01, DU01, NM01
1243    - add patches:
1244        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1245    
1246    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1247    - update to 3.2.7
1248    - drop merged patches AA01-AA28
1249    - add patches:
1250        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1251        * DP01: PCI: workaround hard-wired bus number
1252        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1253        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1254        * NM01: mac80211: Fix a rwlock bad magic bug
1255    
1256    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1257    - update to 3.2.6
1258    - add current stable queue (28 fixes, AA01-AA28)
1259    - require dracut >= 016-1 for xz compressed modules support and
1260      other needed fixes
1261    - compress modules with xz
1262    
1263    * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2
1264    - update to 3.2.5
1265    - drop merged patch
1266        * DP01: ASPM rework
1267    
1268    * Thu Jan 26 2012 Thomas Backlund <tmb@mageia.org> 3.2.2-1.mga2
1269    - update to 3.2.2 (CVE-2012-0056)
1270    - update patches:
1271        * CK01: Con Kolivas 3.2-ck1 patchset
1272        * KP01: TuxOnIce 3.2.1
1273    - require dracut instead of mkinitrd
1274    - require module-init-tools >= 3.6-14 for xz support
1275    
1276    * Sun Jan 15 2012 Thomas Backlund <tmb@mageia.org> 3.2.1-1.mga2
1277    - update to 3.2.1
1278    
1279    * Thu Jan  5 2012 Thomas Backlund <tmb@mageia.org> 3.2.0-1.mga2
1280    - update to 3.2
1281    - add patches:
1282        * FU02: fix unionfs build with 3.2 series kernels
1283        * MB13: fix ndiswrapper build with 3.2 series kernels
1284    - update patches:
1285        * CK01: BFS scheduler 0.416
1286    - rediff patches:
1287        * DP11, MB02, NI11, NI16, Source2
1288    - drop patches:
1289        * FB01: btrfs fix, merged
1290    - update filelists and defconfigs
1291    
1292    * Thu Dec 22 2011 Thomas Backlund <tmb@mageia.org> 3.1.6-1.mga2
1293    - update to 3.1.6
1294    - drop patch DS01 (merged)
1295    - trigger dkms build in posttrans so modules get built at kernel install
1296      instead of at boot (speeds up boot time with new kernel)
1297    - update desktop(586) & laptop summaries and descriptions to point out that
1298      only 3-3.5GB RAM is detected on 32bit, and that server kernel is needed to
1299      fully support 4GB or more
1300    - switch transparent hugepages from on by default to madvise (only enabled
1301      for apps that requests it), as it fixes desktop freeze when accessing
1302      slow media such as usb (thanks to fbui/mdv mail on @cooker ml).
1303    
1304    * Fri Dec  9 2011 Thomas Backlund <tmb@mageia.org> 3.1.5-1.mga2
1305    - update to 3.1.5
1306    - drop merged patches:
1307        * DG01-DG06, FX01-FX06
1308    - add patch:
1309        * DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select()
1310    - clean spec: drop buildroot and defattr
1311    
1312    * Tue Dec  6 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-3.mga2
1313    - fix patch NI12: IFWLOG: fix return value of checkentry
1314      (not properly modified in 2.6.35+ patch, blino, #3594)
1315    - rebuild with GCC-4.6.2
1316    
1317    * Wed Nov 30 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-2.mga2
1318    - update patch:
1319      * CK01: upstream 3.1.0-ck2 including BFS 0.415
1320    
1321    * Tue Nov 29 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-1.mga2
1322    - update to 3.1.4
1323      * reverts usb patch that broke isochronous devices
1324        (i.e. webcam, audio, or other streaming devices)
1325    
1326    * Mon Nov 28 2011 Thomas Backlund <tmb@mageia.org> 3.1.3-1.mga2
1327    - update to 3.1.3
1328    - add patches:
1329      * DG01: i915: Fix inconsistent backlight level during disabled
1330      * DG02: drm: fix integer overflow in drm_mode_dirtyfb_ioctl()
1331      * DG03: radeon/kms: fix up gpio i2c mask bits for r4xx for real
1332      * DG04: i915: Ivybridge still has fences
1333      * DG05: i915: Turn on a required 3D clock gating bit on Sandybridge
1334      * DG06: i915: Turn on another required clock gating bit on Sandybridge
1335      * DP01: pci: rework ASPM disable code (brings power usage back down
1336                   to 2.6.37 level)
1337      * FX01: don't serialise direct IO reads on page cache checks
1338              (fixes performance regression introduced in 2.6.38)
1339      * FX02: avoid direct I/O write vs buffered I/O race
1340      * FX03: return -EIO when xfs_vn_getattr() failed
1341      * FX04: fix buffer flushing during unmount
1342      * FX05: fix possible memory corruption in xfs_readlink
1343      * FX06: use doalloc flag in xfs_qm_dqattach_one()
1344    - update patches:
1345      * FU01: unionfs 2.5.10 for 3.1.3
1346      * MB02: merge 3rdparty support
1347      * MB10-MB12: ndiswrapper 1.57-rc1
1348    - drop patches:
1349      * DS15: its replaced by SND_HDA_PREALLOC_SIZE config option
1350      * MB13-MB17: ndiswrapper fixes, merged
1351    - disable patches:
1352      * KP01: TuxOnIce support, currently broken
1353    - dont ship openrisc arch files
1354    - update defconfigs
1355    
1356    * Tue Oct 25 2011 Thomas Backlund <tmb@mageia.org> 3.0.8-1.mga2
1357    - update to 3.0.8
1358      * drop merged patch: DM20
1359    - enable PM_RUNTIME and USB_SUSPEND
1360    
1361    * Tue Oct 18 2011 Thomas Backlund <tmb@mageia.org> 3.0.7-1.mga2
1362    - update to 3.0.7
1363    - update patch:
1364        * CK01: 3.0.7-ck1 including BFS 0.413
1365    - re-enable usblp as it is needed by both usb-pp adapters and some printers
1366      (mga #2240, #2264) (cups is patched to work with both usblp and libusb)
1367    
1368    * Tue Oct 04 2011 Thomas Backlund <tmb@mageia.org> 3.0.6-1.mga2
1369    - update to 3.0.6
1370    - add patch:
1371        * DM20: fix boot hang on uvc webcam init (mga #2425)
1372    
1373    * Tue Aug 30 2011 Thomas Backlund <tmb@mageia.org> 3.0.4-1.mga2
1374    - update to 3.0.4
1375    - drop merged patch: AA01
1376    
1377    * Fri Aug 19 2011 Thomas Backlund <tmb@mageia.org> 3.0.3-1.mga2
1378    - update to 3.0.3
1379    - update patches:
1380        * CK01: Con Kolivas -ck patchset including BFS
1381        * FU01: unionfs 2.5.9.2
1382        * KP01: TuxonIce 3.2
1383    - drop merged patches:
1384        * CK02, DA60-DA61, DG10-DG14, DN08, DN15-DN19, DP05-DP08
1385        * DP20-DP26, DP30, DV11, FU02-FU03, MK01, NI30-NI31
1386    - add patches:
1387        * AA01: genirq: Fix wrong bit operation
1388        * DP10-DP12: samsung-laptop: support nc110, nc210, r700, x520
1389        * DP13: samsung-laptop: fix support for older N150, N210, N220
1390        * FB01: btrfs: btrfs_calc_avail_data_space: cope with no read_write devices
1391        * MB17: ndiswrapper buildfix for 3.0
1392        * MC84: viahss buildfix for 3.0
1393    - rediff patches:
1394        * NI16: netfilter psd mdv/mga modifications
1395    - disable patches:
1396        * DV01-DV02: framebuffer oops fixes (should not be needed anymore)
1397        * FR01: reiser4 support (broken)
1398    - adapt spec for 3.0 series version changes
1399    - change kernel-tmb-source to noarch
1400    - build with -s(ilent) to only log varnings and errors
1401    - update defconfigs
1402    
1403    * Sun Jun 19 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.8-1.mga1
1404    - update to 2.6.38.8 (CVE-2011-1017)
1405    - drop merged patches:
1406        * AA01, DP15
1407    - add patches:
1408        * CK02: update bfs scheduler to 0.406
1409        * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)
1410    - add mgaver to 'uname -r'
1411    
1412    * Sun May 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.7-1.mga1
1413  - update to 2.6.38.7 (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927)  - update to 2.6.38.7 (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927)
1414  - drop merged patches:  - drop merged patches:
1415      * DG20-DG24      * DG20-DG24
# Line 1069  rm -rf %{buildroot} Line 1421  rm -rf %{buildroot}
1421      * DN18: r8169: add a new chip for RTL8168DP      * DN18: r8169: add a new chip for RTL8168DP
1422      * DN19: r8169: add support for RTL8168E/RTL8111E      * DN19: r8169: add support for RTL8168E/RTL8111E
1423    
1424  * Wed May 18 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-2.mga1  * Wed May 18 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-2.mga1
1425  - disable xz module compression again as not all tools/utils can cope  - disable xz module compression again as not all tools/utils can cope
1426    with it (can be enabled with '--with modxz' buildtime flag)    with it (can be enabled with '--with modxz' buildtime flag)
1427    
1428  * Thu May 12 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-1.mga1  * Thu May 12 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-1.mga1
1429  - enable xz module compression on 2011.0  - enable xz module compression on 2011.0
1430  - update to 2.6.38.6  - update to 2.6.38.6
1431  - drop merged patches:  - drop merged patches:
# Line 1092  rm -rf %{buildroot} Line 1444  rm -rf %{buildroot}
1444  - drop hardcoded vendor references from summarys and descriptions (#1161)  - drop hardcoded vendor references from summarys and descriptions (#1161)
1445  - drop warnings about being experimental kernel  - drop warnings about being experimental kernel
1446    
1447  * Wed May  5 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.5-1.mga1  * Wed May  5 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.5-1.mga1
1448  - update to 2.6.38.5  - update to 2.6.38.5
1449  - add patches:  - add patches:
1450      * 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 1108  rm -rf %{buildroot} Line 1460  rm -rf %{buildroot}
1460      * FU03: unionfs oops fix (obsolete)      * FU03: unionfs oops fix (obsolete)
1461  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)
1462    
1463  * 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
1464  - update to 2.6.38.4  - update to 2.6.38.4
1465  - update patches:  - update patches:
1466      * DG10: drm/i915: Fix tiling corruption from pipelined fencing      * DG10: drm/i915: Fix tiling corruption from pipelined fencing
# Line 1124  rm -rf %{buildroot} Line 1476  rm -rf %{buildroot}
1476      * DM01: add dm-raid45 aliases to the new dm-raid target      * DM01: add dm-raid45 aliases to the new dm-raid target
1477      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
1478    
1479  * 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
1480  - update to 2.6.38.3  - update to 2.6.38.3
1481  - drop merged patches  - drop merged patches
1482    
1483  * 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
1484  - add -stable queue patches (31 fixes)  - add -stable queue patches (31 fixes)
1485  - update patches:  - update patches:
1486      * CK01: Con Kolivas -ck3 patchset including bfs 0.400      * CK01: Con Kolivas -ck3 patchset including bfs 0.400
# Line 1136  rm -rf %{buildroot} Line 1488  rm -rf %{buildroot}
1488  - drop patches:  - drop patches:
1489      * FR02: reiser4 buildfix (merged)      * FR02: reiser4 buildfix (merged)
1490    
1491  * 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
1492  - update to 2.6.38.2  - update to 2.6.38.2
1493  - drop merged patches:  - drop merged patches:
1494      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)
# Line 1167  rm -rf %{buildroot} Line 1519  rm -rf %{buildroot}
1519      * MB16: ndiswrapper buildfix      * MB16: ndiswrapper buildfix
1520  - update defconfigs and filelists  - update defconfigs and filelists
1521    
1522  * 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
1523  - 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)
1524  - drop merged patch:  - drop merged patch:
1525      * NI01      * NI01
# Line 1180  rm -rf %{buildroot} Line 1532  rm -rf %{buildroot}
1532      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1533  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1534    
1535  * 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
1536  - update to 2.6.37.2  - update to 2.6.37.2
1537  - rediff patch:  - rediff patch:
1538      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS

Legend:
Removed from v.100142  
changed lines
  Added in v.284469

  ViewVC Help
Powered by ViewVC 1.1.30