/[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 97433 by tmb, Thu May 12 11:46:46 2011 UTC revision 445408 by tmb, Fri Jun 21 09:17:10 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      9
6  %define sublevel        38  # sublevel is now used for -stable patches
7    %define sublevel        7
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         6  
   
 # 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    # xz compress modules
86    %define build_modxz             1
87    
88  # Build desktop i586 / 4GB  # Build desktop586 (i586 / 4GB)
89  %ifarch %{ix86}  %ifarch %{ix86}
90  %define build_desktop586        1  %define build_desktop586        1
91  %endif  %endif
92    
93  # Build mm (i686 / 4GB) / x86_64  # Build desktop (i686 / 4GB) / x86_64
94  %define build_desktop           1  %define build_desktop           1
95    
96  # Build laptop (i686 / 4GB)/ x86_64  # Build laptop (i686 / 4GB)/ x86_64
# Line 119  Line 126 
126  %{?_with_debug: %global build_debug 1}  %{?_with_debug: %global build_debug 1}
127    
128  # For the .nosrc.rpm  # For the .nosrc.rpm
129  %define build_nosrc     0  %define build_nosrc     0
130  %{?_with_nosrc: %global build_nosrc 1}  %{?_with_nosrc: %global build_nosrc 1}
131    
132  %define kmake %make  %define kmake %make
# Line 149  URL:           http://www.kernel.org Line 156  URL:           http://www.kernel.org
156  # Sources  # Sources
157  #  #
158  ### This is for full SRC RPM  ### This is for full SRC RPM
159  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
160  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
161  ### This is for stripped SRC RPM  ### This is for stripped SRC RPM
162  %if %build_nosrc  %if %build_nosrc
163  NoSource: 0  NoSource: 0
# Line 172  Source102:     %{kname}.patchlist Line 179  Source102:     %{kname}.patchlist
179  # Patch0 to Patch100 are for core kernel upgrades.  # Patch0 to Patch100 are for core kernel upgrades.
180  #  #
181    
182  # 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
183    
184  %if %kpatch  %if %kpatch
185  Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}.%{sublevel}-%{kpatch}.bz2  %if %sublevel
186  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
187    Source11:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/stable-review/patch-%{kversion}-%{kpatch}.sign
188    %else
189    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.xz
190    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign
191    %endif
192  %endif  %endif
193  %if %kgit  %if %kgit
194  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
195  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
196    %endif
197    %if %sublevel
198    %if %kpatch
199    %define prev_sublevel %(expr %{sublevel} - 1)
200    %if %prev_sublevel
201    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.xz
202    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign
203    %endif
204    %else
205    Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.xz
206    Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.sign
207  %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  
208  %endif  %endif
209    
210  #END  #END
# Line 198  of the operating system:  memory allocat Line 218  of the operating system:  memory allocat
218  input and output, etc.  input and output, etc.
219    
220  ### Global Requires/Provides  ### Global Requires/Provides
221  %define requires1       mkinitrd >= 6.0.92-12  %define requires1       dracut >= 017-9
222  %define requires2       bootloader-utils >= 1.12-1  %define requires2       bootloader-utils >= 1.12-1
223  %define requires3       sysfsutils >= 1.3.0-1 module-init-tools >= 3.6-10  %define requires3       sysfsutils >= 1.3.0-1 kmod >= 7-6
224  %define requires4       kernel-firmware >= 20100217-1  %define requires4       kernel-firmware >= 20111229-1
225    
226  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88
227    
 BuildRoot:              %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
 %define buildroot       %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
228  Autoreqprov:            no  Autoreqprov:            no
229  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2  BuildRequires:          gcc >= 4.0.1-5 kmod >= 7-6 bc
230    
231  %description  %description
232  %common_description_kernel  %common_description_kernel
# Line 282  latest %{kname}-%{1}-devel installed... Line 300  latest %{kname}-%{1}-devel installed...
300  %endif                                                  \  %endif                                                  \
301                                                          \                                                          \
302  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \
303    %posttrans -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-posttrans \
304  %preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \  %preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \
305  %postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \  %postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \
306                                                          \                                                          \
# Line 292  latest %{kname}-%{1}-devel installed... Line 311  latest %{kname}-%{1}-devel installed...
311                                                          \                                                          \
312  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \  %files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \
313  %files -n %{kname}-%{1}-latest                          \  %files -n %{kname}-%{1}-latest                          \
 %defattr(-,root,root)                                   \  
314                                                          \                                                          \
315  %if %build_devel                                        \  %if %build_devel                                        \
316  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \  %files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \
317  %files -n %{kname}-%{1}-devel-latest                    \  %files -n %{kname}-%{1}-devel-latest                    \
 %defattr(-,root,root)                                   \  
318  %endif  %endif
319    
320    
# Line 306  latest %{kname}-%{1}-devel installed... Line 323  latest %{kname}-%{1}-devel installed...
323  #  #
324  %ifarch %{ix86}  %ifarch %{ix86}
325  %if %build_desktop586  %if %build_desktop586
326  %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
327  %define info_desktop586 This kernel is compiled for desktop use, single or \  %define info_desktop586 This kernel is compiled for desktop use, single or \
328  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 \
329  preempt, BFS cpu scheduler and cfq i/o scheduler. \  detected, if you need/want to use all 4GB or more, install %{kname}-server),\
330     using full preempt, BFS cpu scheduler and cfq i/o scheduler. \
331  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 \
332  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 \
333  processor mode, use the "nosmp" boot parameter.  processor mode, use the "nosmp" boot parameter.
# Line 322  processor mode, use the "nosmp" boot par Line 340  processor mode, use the "nosmp" boot par
340  #  #
341  %if %build_desktop  %if %build_desktop
342  %ifarch %{ix86}  %ifarch %{ix86}
343  %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
344  %define info_desktop This kernel is compiled for desktop use, single or \  %define info_desktop This kernel is compiled for desktop use, single or \
345  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 \
346  preempt, BFS cpu scheduler and cfq i/o scheduler. \  detected, if you need/want to use all 4GB or more, install %{kname}-server), \
347    using full preempt, BFS cpu scheduler and cfq i/o scheduler. \
348  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 \
349  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 \
350  processor mode, use the "nosmp" boot parameter.  processor mode, use the "nosmp" boot parameter.
# Line 346  processor mode, use the "nosmp" boot par Line 365  processor mode, use the "nosmp" boot par
365  #  #
366  %if %build_laptop  %if %build_laptop
367  %ifarch %{ix86}  %ifarch %{ix86}
368  %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
369  %define info_laptop This kernel is compiled for laptop use, single or \  %define info_laptop This kernel is compiled for laptop use, single or \
370  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 \
371  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), \
372  and some other laptop-specific optimizations. If you want to sacrifice \  using HZ_250 to save battery, voluntary preempt, BFS cpu scheduler, \
373  battery life for performance, you better use the %{kname}-desktop. \  cfq i/o scheduler and some other laptop-specific optimizations. \
374    If you want to sacrifice battery life for performance, you better use the \
375    %{kname}-desktop. \
376  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 \
377  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 \
378  processor mode, use the "nosmp" boot parameter. \  processor mode, use the "nosmp" boot parameter. \
# Line 427  Requires:      glibc-devel, ncurses-devel, m Line 448  Requires:      glibc-devel, ncurses-devel, m
448  Summary:        The Linux source code for %{kname}-%{buildrel}  Summary:        The Linux source code for %{kname}-%{buildrel}
449  Group:          Development/Kernel  Group:          Development/Kernel
450  Autoreqprov:    no  Autoreqprov:    no
451  Provides:       kernel-source = %{kverrel}, kernel-devel = %{kverrel}  Provides:       kernel-source = %{kverrel}
452  %ifarch %{ix86}  Buildarch:      noarch
 Conflicts:      arch(x86_64)  
 %endif  
453    
454  %description -n %{kname}-source-%{buildrel}  %description -n %{kname}-source-%{buildrel}
455  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 470  Release:       %{rpmrel} Line 489  Release:       %{rpmrel}
489  Summary:        Virtual rpm for latest %{kname}-source  Summary:        Virtual rpm for latest %{kname}-source
490  Group:          Development/Kernel  Group:          Development/Kernel
491  Requires:       %{kname}-source-%{buildrel}  Requires:       %{kname}-source-%{buildrel}
492  %ifarch %{ix86}  Buildarch:      noarch
 Conflicts:      arch(x86_64)  
 %endif  
493    
494  %description -n %{kname}-source-latest  %description -n %{kname}-source-latest
495  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 487  latest %{kname}-source installed... Line 504  latest %{kname}-source installed...
504  Version:        %{kversion}  Version:        %{kversion}
505  Release:        %{rpmrel}  Release:        %{rpmrel}
506  Summary:        Various documentation bits found in the %{kname} source  Summary:        Various documentation bits found in the %{kname} source
507  Group:          Books/Computer books  Group:          Documentation
508  Buildarch:      noarch  Buildarch:      noarch
509    
510  %description -n %{kname}-doc  %description -n %{kname}-doc
# Line 509  Linux kernel modules at load time. Line 526  Linux kernel modules at load time.
526  %define patches_dir ../%{patch_ver}/  %define patches_dir ../%{patch_ver}/
527    
528  cd %src_dir  cd %src_dir
529    
530    %if %sublevel
531  %if %kpatch  %if %kpatch
532    %if %prev_sublevel
533  %patch1 -p1  %patch1 -p1
534  %endif  %endif
 %if %kgit  
535  %patch2 -p1  %patch2 -p1
536    %else
537    %patch1 -p1
538  %endif  %endif
539  %if %kstable  %else
540    %if %kpatch
541  %patch1 -p1  %patch1 -p1
542  %endif  %endif
543    %endif
544    %if %kgit
545    %patch2 -p1
546    %endif
547    
548  %{patches_dir}/scripts/apply_patches  %{patches_dir}/scripts/apply_patches
549    
# Line 570  PrepareKernel() { Line 596  PrepareKernel() {
596          fi          fi
597    
598          # make sure EXTRAVERSION says what we want it to say          # make sure EXTRAVERSION says what we want it to say
599          %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  
600    
601          %smake oldconfig          %smake oldconfig
602  }  }
# Line 584  BuildKernel() { Line 606  BuildKernel() {
606          KernelVer=$1          KernelVer=$1
607          echo "Building kernel $KernelVer"          echo "Building kernel $KernelVer"
608    
609          %kmake all          %kmake -s all
610    
611          # Start installing stuff          # Start installing stuff
612          install -d %{temp_boot}          install -d %{temp_boot}
# Line 616  SaveDevel() { Line 638  SaveDevel() {
638          %ifarch %{ix86} x86_64          %ifarch %{ix86} x86_64
639                  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/
640                  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/
641                    cp -fR arch/x86/syscalls/syscall* $TempDevelRoot/arch/x86/syscalls/
642                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/                  cp -fR arch/x86/include $TempDevelRoot/arch/x86/
643                    cp -fR arch/x86/tools/relocs.c $TempDevelRoot/arch/x86/tools/
644          %else          %else
645                  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/
646                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/                  cp -fR arch/%{_arch}/include $TempDevelRoot/arch/%{_arch}/
647          %endif          %endif
648          cp -fR kernel/bounds.c $TempDevelRoot/kernel/          cp -fR kernel/bounds.c $TempDevelRoot/kernel/
649            cp -fR tools/include $TempDevelRoot/tools/
650          cp -fR .config Module.symvers $TempDevelRoot          cp -fR .config Module.symvers $TempDevelRoot
651          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/          cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty/
652    
# Line 632  SaveDevel() { Line 657  SaveDevel() {
657          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/
658    
659          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)
660          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/
661          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/
662          cp -fR drivers/media/video/btcx-risc.h $TempDevelRoot/drivers/media/video/          cp -fR drivers/media/common/btcx-risc.h $TempDevelRoot/drivers/media/common/
663    
664          # Needed for external dvb tree (#41418)          # Needed for external dvb tree (#41418)
665          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/
666          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/
667    
668          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
669          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
670    
671          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 \
672                   m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do                   microblaze mips m32r m68k m68knommu metag mn10300 openrisc parisc \
673                     powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
674                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
675          done          done
676    
# Line 671  SaveDevel() { Line 697  SaveDevel() {
697    
698  ### Create the kernel_devel_files.*  ### Create the kernel_devel_files.*
699  cat > $kernel_devel_files <<EOF  cat > $kernel_devel_files <<EOF
 %defattr(-,root,root)  
700  %dir $DevelRoot  %dir $DevelRoot
701  %dir $DevelRoot/arch  %dir $DevelRoot/arch
702  %dir $DevelRoot/include  %dir $DevelRoot/include
# Line 690  $DevelRoot/fs Line 715  $DevelRoot/fs
715  $DevelRoot/include/Kbuild  $DevelRoot/include/Kbuild
716  $DevelRoot/include/acpi  $DevelRoot/include/acpi
717  $DevelRoot/include/asm-generic  $DevelRoot/include/asm-generic
718    $DevelRoot/include/clocksource
719  $DevelRoot/include/config  $DevelRoot/include/config
720  $DevelRoot/include/crypto  $DevelRoot/include/crypto
721  $DevelRoot/include/drm  $DevelRoot/include/drm
# Line 698  $DevelRoot/include/keys Line 724  $DevelRoot/include/keys
724  $DevelRoot/include/linux  $DevelRoot/include/linux
725  $DevelRoot/include/math-emu  $DevelRoot/include/math-emu
726  $DevelRoot/include/media  $DevelRoot/include/media
727  $DevelRoot/include/mtd  $DevelRoot/include/memory
728    $DevelRoot/include/misc
729  $DevelRoot/include/net  $DevelRoot/include/net
730  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
731    $DevelRoot/include/ras
732  $DevelRoot/include/rdma  $DevelRoot/include/rdma
733  $DevelRoot/include/rxrpc  $DevelRoot/include/rxrpc
734  $DevelRoot/include/scsi  $DevelRoot/include/scsi
735  $DevelRoot/include/sound  $DevelRoot/include/sound
736  $DevelRoot/include/target  $DevelRoot/include/target
737  $DevelRoot/include/trace  $DevelRoot/include/trace
738    $DevelRoot/include/uapi
739  $DevelRoot/include/video  $DevelRoot/include/video
740  $DevelRoot/include/xen  $DevelRoot/include/xen
741  $DevelRoot/init  $DevelRoot/init
# Line 762  CreateFiles() { Line 791  CreateFiles() {
791    
792  ### Create the kernel_files.*  ### Create the kernel_files.*
793  cat > $kernel_files <<EOF  cat > $kernel_files <<EOF
 %defattr(-,root,root)  
794  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
795  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
796  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
# Line 804  fi Line 832  fi
832  %endif  %endif
833  EOF  EOF
834    
835    ### Create kernel Posttran script
836    cat > $kernel_files-posttrans <<EOF
837    if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} ]; then
838        /usr/sbin/dkms_autoinstaller start %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
839    fi
840    EOF
841    
842  ### Create kernel Preun script on the fly  ### Create kernel Preun script on the fly
843  cat > $kernel_files-preun <<EOF  cat > $kernel_files-preun <<EOF
# Line 915  cp -a %{temp_root} %{buildroot} Line 949  cp -a %{temp_root} %{buildroot}
949    
950  # Create directories infastructure  # Create directories infastructure
951  %if %build_source  %if %build_source
952  install -d %{target_source}  install -d %{target_source}
953    
954  tar cf - . | tar xf - -C %{target_source}  tar cf - . | tar xf - -C %{target_source}
955  chmod -R a+rX %{target_source}  chmod -R a+rX %{target_source}
956    
957  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
958  # first architecture files  # first architecture files
959  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 \
960           m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa; do           microblaze mips m32r m68k m68knommu metag mn10300 openrisc parisc \
961             powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
962          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
963  done  done
964    
# Line 933  done Line 968  done
968    
969  # other misc files  # other misc files
970  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}
971    rm -rf %{target_source}/.tmp_depmod/
972    
973  #endif %build_source  #endif %build_source
974  %endif  %endif
975    
976    # compressing modules
977    %if %{build_modxz}
978    find %{target_modules} -name "*.ko" | %kxargs xz -6e
979    %else
980    find %{target_modules} -name "*.ko" | %kxargs gzip -9
981    %endif
982    
983  # We used to have a copy of PrepareKernel here  # We used to have a copy of PrepareKernel here
984  # 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
985  for i in %{target_modules}/*; do  for i in %{target_modules}/*; do
986      rm -f $i/build $i/source          rm -f $i/build $i/source
987  done  done
988    
989  # Create modules.description  # sniff, if we compressed all the modules, we change the stamp :(
990    # we really need the depmod -ae here
991  pushd %{target_modules}  pushd %{target_modules}
992  for i in *; do  for i in *; do
993          pushd $i          /sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i
994          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  
995  done  done
 popd  
996    
997    # create modules.description
998  ###  for i in *; do
999  ### clean          pushd $i
1000  ###          echo "Creating modules.description for $i"
1001  %clean          modules=`find . -name "*.ko.[g,x]z"`
1002  rm -rf %{buildroot}          echo $modules | %kxargs /sbin/modinfo \
1003            | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description
1004            popd
1005    done
1006    popd
1007    
1008    
1009  # 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 973  rm -rf %{buildroot} Line 1016  rm -rf %{buildroot}
1016  ###  ###
1017  %if %build_source  %if %build_source
1018  %files -n %{kname}-source-%{buildrel}  %files -n %{kname}-source-%{buildrel}
 %defattr(-,root,root)  
1019  %dir %{_kerneldir}  %dir %{_kerneldir}
1020  %dir %{_kerneldir}/arch  %dir %{_kerneldir}/arch
1021  %dir %{_kerneldir}/include  %dir %{_kerneldir}/include
# Line 992  rm -rf %{buildroot} Line 1034  rm -rf %{buildroot}
1034  %{_kerneldir}/include/Kbuild  %{_kerneldir}/include/Kbuild
1035  %{_kerneldir}/include/acpi  %{_kerneldir}/include/acpi
1036  %{_kerneldir}/include/asm-generic  %{_kerneldir}/include/asm-generic
1037    %{_kerneldir}/include/clocksource
1038  %{_kerneldir}/include/crypto  %{_kerneldir}/include/crypto
1039  %{_kerneldir}/include/drm  %{_kerneldir}/include/drm
1040  %{_kerneldir}/include/keys  %{_kerneldir}/include/keys
1041  %{_kerneldir}/include/linux  %{_kerneldir}/include/linux
1042  %{_kerneldir}/include/math-emu  %{_kerneldir}/include/math-emu
1043  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1044  %{_kerneldir}/include/mtd  %{_kerneldir}/include/memory
1045    %{_kerneldir}/include/misc
1046  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1047  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
1048    %{_kerneldir}/include/ras
1049  %{_kerneldir}/include/rdma  %{_kerneldir}/include/rdma
1050  %{_kerneldir}/include/rxrpc  %{_kerneldir}/include/rxrpc
1051  %{_kerneldir}/include/scsi  %{_kerneldir}/include/scsi
1052  %{_kerneldir}/include/sound  %{_kerneldir}/include/sound
1053  %{_kerneldir}/include/target  %{_kerneldir}/include/target
1054  %{_kerneldir}/include/trace  %{_kerneldir}/include/trace
1055    %{_kerneldir}/include/uapi
1056  %{_kerneldir}/include/video  %{_kerneldir}/include/video
1057  %{_kerneldir}/include/xen  %{_kerneldir}/include/xen
1058  %{_kerneldir}/init  %{_kerneldir}/init
# Line 1034  rm -rf %{buildroot} Line 1080  rm -rf %{buildroot}
1080  %doc README.kernel-%{ktag}-sources  %doc README.kernel-%{ktag}-sources
1081    
1082  %files -n %{kname}-source-latest  %files -n %{kname}-source-latest
 %defattr(-,root,root)  
1083  %endif  %endif
1084    
1085  %if %build_doc  %if %build_doc
1086  %files -n %{kname}-doc  %files -n %{kname}-doc
 %defattr(-,root,root)  
1087  %doc linux-%{tar_ver}/Documentation/*  %doc linux-%{tar_ver}/Documentation/*
1088  %endif  %endif
1089    
1090  %changelog  %changelog
1091  * Thu May 12 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-1.mga1  * Fri Jun  21 2013 Thomas Backlund <tmb@mageia.org> 3.9.7-1.mga4
1092    - update to 3.9.7
1093    - drop merged patches:
1094      * AA01-AA82 (stable queue fixes)
1095    - add patches:
1096      * DN10: ath9k_htc: Handle IDLE state transition properly
1097      * DN30: rtl8192cu: Fix problem in connecting to WEP or WPA(1) networks
1098    
1099    * Sun Jun  2 2013 Thomas Backlund <tmb@mageia.org> 3.9.4-1.mga4
1100    - update to 3.9.4
1101    - drop merged patches:
1102      * DI01, DI10-DI12, DI20-DI22, DI30-DI31, DI40-DI41
1103      * DI50-DI64, DI70-DI75, DM10, DN10-DN14, DS10
1104    - update patches:
1105      * CK01: -ck1 patchset including BFS 0.430
1106      * FR01: Reiser4 support for kernel 3.9
1107      * KP01: TuxOnIce 3.3 for kernel 3.9
1108    - rediff patches:
1109      * FO01, FO04: overlayfs support
1110      * MB02: 3rdparty tree merge
1111    - add patches:
1112      * DN04: fix up alx AR8161 breakage (mga #10079)
1113      * MB13: ndiswrapper buildfix for kernel 3.9
1114    - update filelists
1115    - update defconfigs
1116    
1117    * Sun May 12 2013 Thomas Backlund <tmb@mageia.org> 3.8.13-1.mga3
1118    - update to 3.8.13
1119    - drop merged patches:
1120      * BD01: block discard fix
1121      * DG01-DG03: drm/radeon fixes
1122      * DG12: drm/cirrus fix
1123      * DG21-DG25: drm/i915 fixes
1124    - add patches:
1125      * DI20-DI22: Input: Cypress PS2 support
1126      * DI30-DI31: Input: Cypress APA support
1127      * DI40-DI41: Input: Synaptics bugfixes
1128      * DI50-DI64: Input: ALPS Rushmore and Dolphin V1 support
1129      * DI70-DI75: Input: Wacom: DTH-2242 and 0x10d support
1130    
1131    * Wed May  8 2013 Thomas Backlund <tmb@mageia.org> 3.8.12-1.mga3
1132    - update to 3.8.12
1133    - update patches:
1134      * DN01-DN03: alx ethernet support including BigFoot e2200
1135    - add patches:
1136      * DG11: drm/cirrus: Correct register values for 16bpp
1137      * DG12: drm/cirrus: deal with bo reserve fail in dirty update path
1138      * DG21: Fix detection of base of stolen memory
1139      * DG22: Use MLC (l3$) for context objects
1140      * DG23: Add no-lvds quirk for Fujitsu Esprimo Q900
1141      * DG24: Fixup Oops in the pipe config computation
1142      * DG25: set CPT FDI RX polarity bits based on VBT
1143      * DN21: carl9170: fix frame drop and WARN due to minstrel_ht change
1144      * DN22: carl9170: remove fast channel change feature (unreliable)
1145    - drop merged patches:
1146      * AA01: TTY fix
1147      * DN04: alx fix
1148    
1149    * Wed May  1 2013 Thomas Backlund <tmb@mageia.org> 3.8.11-1.mga3
1150    - update to 3.8.11
1151    - drop merged patches:
1152      * AA01-AA03: stable queue fixes
1153    - add patch:
1154      * DT01: tty: fix up atime/mtime mess, take three (Linus, upstream)
1155    
1156    * Sat Apr 27 2013 Thomas Backlund <tmb@mageia.org> 3.8.10-1.mga3
1157    - update to 3.8.10
1158    - drop merged / obsolete patches:
1159      * AA01-AA20: 3.8.6+ stable fixes (merged)
1160      * DP01: disable-aspm-link check for ath5k (obsolete)
1161    - add patches:
1162      * AA01: aio: fix possible invalid memory access when DEBUG is enabled
1163      * AA02: TTY: do not update atime/mtime on read/write (CVE-2013-0160)
1164      * AA03: TTY: fix atime/mtime regression
1165      * BD01: block: fix max discard sectors limit
1166      * DG01: drm/radeon: don't use get_engine_clock() on APUs (mga #8077, fdo #62493)
1167      * DG02: drm/radeon: add some new SI PCI ids
1168      * DG03: drm/radeon: add new richland pci ids
1169      * DI10-DI12: intel_idle: add Haswell support
1170    - make EFI_VARS builtin on x86_64
1171    - set DEFAULT_NLS to utf8
1172    
1173    * Sun Apr  7 2013 Thomas Backlund <tmb@mageia.org> 3.8.6-1.mga3
1174    - update to 3.8.6
1175    - update patches:
1176      * CK01: -ck patchset inclunding BFS 0.428
1177      * DN01-DN02: alx ethernet driver
1178      * F01-F13: overlayfs
1179      * KP01: TuxOnIce 3.3
1180      * MB10: ndiswrapper 1.58
1181    - drop merged/obsolete patches:
1182      * AA01-AA16: stable queue fixes for 3.6 series
1183      * CK02: BFS boot fix
1184      * DM50: DVB-S builfix
1185      * DM60: rttrack buildfix
1186      * MB13, MB14: ndiswrapper buildfixes
1187    - add patches:
1188      * AA01-AA20: 3.8 -stable queue fixes
1189      * DI01: Intel Wellsburg PCH i2c support
1190      * DM10: Intel Wellsburg PCH lpc support
1191      * DN03-DN04: alx buildfixes
1192      * DN10: net: asix: init ASIX AX88772B MAC from EEPROM
1193      * DN11: net: asix: handle packets crossing URB boundaries
1194      * DN12: usb/net/asix_devices: Add USBNET HG20F9 ethernet dongle (coling)
1195      * DN13: asix cleanup
1196      * DN14: net: ax88179_178a: add ASIX AX88179_178A USB 3.0/2.0 to gigabit
1197              ethernet adapter support
1198      * DP01: PCI: Remove not needed check in disable aspm link (fixes ath5k)
1199      * DS10: Intel Wellsburg PCH alsa support
1200      * FR01: Reiser4 support
1201    - update defconfigs
1202    
1203    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-3.mga3
1204    - add patch:
1205      * DN01, DN02: alx network driver
1206    
1207    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-2.mga3
1208    - add patch:
1209      * CK02: fix some booting issues with BFS sceduler
1210    
1211    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-1.mga3
1212    - update to 3.6.5
1213    - move -doc to Documentation group
1214    - add patches:
1215      * AA01-AA16: stable queue fixes
1216      * FE01: ext4: fix unjournaled inode bitmap modification
1217              (fixes possible data corruption bug)
1218      * NI14: ipt_IFWLOG buildfix
1219    - update patches:
1220      * CK01: -ck1 patchset
1221      * FO01-FO13: overlayfs
1222      * KP01: TyxOnIce
1223    - disable patches:
1224      * DA20: acpi shuttle-wmi video blacklist (broken)
1225    - enable ZRAM support
1226    - update filelists
1227    - update defconfigs
1228    
1229    * Sat Sep 15 2012 Thomas Backlund <tmb@mageia.org> 3.5.4-1.mga3
1230    - update to 3.5.4
1231    - drop merged patches:
1232      * AA01-AA85, FE01, FU01
1233    
1234    * Tue Sep 11 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-2.mga3
1235    - add patches:
1236      * AA01-AA85: stable queue fixes
1237      * FO01-FO13: overlayfs support (from ubuntu)
1238      * FE01: ext3: Fix fdatasync() for files with only i_size changes (mga #7343)
1239      * FU01: udf: Fix data corruption for files in ICB
1240    - drop patches:
1241      * FU01-FU04: unionfs support (broken)
1242    - update defconfigs
1243    
1244    * Mon Aug 27 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-1.mga3
1245    - update to 3.5.3
1246    
1247    * Thu Aug 16 2012 Thomas Backlund <tmb@mageia.org> 3.5.2-1.mga3
1248    - update to 3.5.2
1249    - update patches:
1250      * CK01: ck1 patchset for 3.5 series kernels including BFS 0.424
1251      * KP01: TuxOnIce 3.3 for 3.5 series kernels
1252    - drop merged patches:
1253      * AA01-AA13: (stable queue fixes)
1254      * BS01: silencing useless scsi ioctl warnings
1255      * CK02: BFS buildfix
1256    - add patches:
1257      * FU03, FU04: unionfs buildfixes for 3.5 series kernels
1258    - update filelists
1259    - update defconfigs
1260    
1261    * Sat Jul 21 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-2.mga3
1262    - make CONFIG_ATA_PIIX, CONFIG_BLK_DEV_SD and CONFIG_CRC_T10DIF
1263      builtin too, so it actually can boot without initrd
1264    - disable CONFIG_LOGO for less screen flickering during boot
1265    
1266    * Fri Jul 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-1.mga3
1267    - update to 3.4.6
1268    - drop patch:
1269      * DN25: ipw2x00: add support for nl80211 clients (merged)
1270    - update patch:
1271      * CK01: -ck3 patchset including BFS v0.424
1272    - add patches:
1273      * AA01-AA13: stable queue fixes
1274      * BS01: silence useless scsi ioctl warnings
1275      * CK02: fix BFS build with sched-nohz-rewrite added in 3.4.6
1276    - make theese config options builtin in order to be able to
1277      test booting without initrd:
1278      (see: https://wiki.mageia.org/en/Feature:BootSansRamdisk)
1279      CONFIG_SCSI_MOD, CONFIG_SCSI, CONFIG_ATA, CONFIG_SATA_AHCI,
1280      CONFIG_EXT3_FS, CONFIG_EXT4_FS, CONFIG_JBD, CONFIG_JBD2,
1281      CONFIG_BTRFS_FS, CONFIG_CRYPTO_CRC32C, CONFIG_CRC16,
1282      CONFIG_LIBCRC32C, CONFIG_ZLIB_DEFLATE
1283    
1284    * Sun Jul  1 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-2.mga3
1285    - enable EFI_STUB support (#6598)
1286    
1287    * Wed Jun 27 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-1.mga3
1288    - update to 3.4.4
1289    - drop patch:
1290      * AA01: 3.4.4-rc1 (merged)
1291    
1292    * Wed Jun 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.3-1.mga3
1293    - update to 3.4.3
1294    - add patch:
1295      * AA01: 3.4.4-rc1
1296    - drop patch:
1297      * FE01: ext4 uninit_bg fix (merged)
1298    - update patch:
1299      * CK01: ck2 patchset including BFS 0.423
1300    
1301    * Sat Jun  9 2012 Thomas Backlund <tmb@mageia.org> 3.4.2-1.mga3
1302    - update to 3.4.2
1303    - add patch:
1304      * FE01: ext4: fix the free blocks calculation for ext3
1305              file systems w/ uninit_bg
1306    
1307    * Mon Jun  4 2012 Thomas Backlund <tmb@mageia.org> 3.4.1-1.mga3
1308    - update to 3.4.1
1309    - drop merged patches:
1310      * DA60, DA61: ahci/ata ids
1311      * DG01-DG04, DG20-DG21, DG40-DG44, DG60: drm backports
1312      * DN10-DN11: ath5k stablilty fixes
1313      * DS20-DS24: sound fixes
1314    - update patches:
1315      * CK01: ck1 patchset including BFS 0.422
1316      * FU01: unionfs 2.5.11
1317      * KP01: tuxonice 3.2.1
1318      * NI10-NI11: netfilter IFWLOG support
1319      * NI16: netfilter psd support
1320    - add patches:
1321      * DM60: radio-rttrack buildfix
1322      * FU02: unionfs buildfix for kernel-3.4
1323    - drop patches:
1324      * DA50: prefer ata over ide hack, needs to be fixed properly
1325      * DN20: disabling powersave on rt2800usb
1326      * LK01: lib/Kconfig.debug text update
1327    - update defconfigs
1328    - update filelists
1329    
1330    * Thu May 17 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-2.mga2
1331    - revert switching server kernels to SLAB allocator at it fails to boot
1332      with BFS scheduler (reported/confirmed by Charles A Edwards.on -dev ml)
1333    - add patches:
1334      * DN25: ipw2x00: add support for nl80211 clients like Network Manager (#5720)
1335      * DS20: ALSA: echoaudio: Remove incorrect part of assertion
1336      * DS21: ALSA: HDA: Lessen CPU usage when waiting for chip to respond
1337      * DS22: ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
1338      * DS23: ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops
1339    
1340    * Sat May 12 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-1.mga2
1341    - update to 3.3.6
1342    - drop merged patches:
1343      * AA01-AA32: stable queue fixes
1344      * DP10-DP13: samsung-laptop dmitable addons
1345    - switch server kernels back to SLAB allocator as it performs better
1346      on bigger server hardware and workloads
1347    
1348    * Thu May 10 2012 Thomas Backlund <tmb@mageia.org> 3.3.5-1.mga2
1349    - update to 3.3.5
1350    - drop merged patches:
1351      * DN15-DN17: iwlwifi fixes
1352    - add patches from stable queue
1353      * AA01-AA32: fixes all over
1354    
1355    * Sat Apr 28 2012 Thomas Backlund <tmb@mageia.org> 3.3.4-1.mga2
1356    - update to 3.3.4
1357    - require dracut >= 017-9
1358    - add patches:
1359      * DN16: iwlwifi: use 6000G2B for 6030 device series
1360      * DN17: iwlwifi: fix hardware queue programming
1361    
1362    * Mon Apr 23 2012 Thomas Backlund <tmb@mageia.org> 3.3.3-1.mga2
1363    - update to 3.3.3
1364    - add patches:
1365      * BF01: floppy: disable pnp autoloading
1366      * DN10: ath5k: do not stop queues for full calibration
1367      * DN11: ath5k: do not re-run AGC calibration periodically
1368      * DN15: iwlwifi: use correct released ucode version
1369    - update patch:
1370      * KP01: TuxOnIce 3.2.1 for kernel-3.3
1371    
1372    * Tue Apr 03 2012 Thomas Backlund <tmb@mageia.org> 3.3.1-1.mga2
1373    - update to 3.3.1
1374    - drop merged patches:
1375      * DM51, SR01-SR03
1376    - update patch:
1377      * CK01: -ck1 patchset including BFS v0.420
1378    - add patches:
1379      * DA50: ata: prefer ata drivers over ide drivers when both are built (Anssi)
1380      * DA60-DA61: ata: add ide/ahci/raid mode support for Intel Lynx Point chipset
1381      * DG01-DG04: drm: add upstream drm changes to support gpu driver backports
1382      * DG20, DG21: drm/radeon: backport support for Southern Islands (HD7xxx)
1383                    GPUs and Trinity APUs
1384      * DG40-DG44: drm/nouveau: backport Kepler (GTX6xx) support
1385      * DG60: drm/i915: add Ivy Bridge GT2 Server entries
1386    - update defconfigs
1387    
1388    * Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2
1389    - update to 3.3 final
1390    - add patches:
1391        * DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2
1392                and similar hardware
1393        * DM51: media/tda10071: correct delivery system to DVB-S/S2
1394    - update defconfigs
1395    
1396    * Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2
1397    - update to 3.3-rc7
1398    
1399    * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1400    - update to 3.3-rc6
1401    - update patches:
1402        * FU01: unionfs 2.5.11
1403        * MB10, MB13, MB14: ndiswrapper 1.57
1404    - rediff patches:
1405        * NI15, NI16: netfilter psd support
1406        * patch disabling mrproper in -devel rpms
1407    - disable patch:
1408        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1409    - update defconfigs
1410    - update filelists
1411    
1412    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1413    - update to 3.2.9
1414    - require dracut >= 017-1
1415    - drop merged patches:
1416        * DG01, DP01, DU01, NM01
1417    - add patches:
1418        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1419    
1420    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1421    - update to 3.2.7
1422    - drop merged patches AA01-AA28
1423    - add patches:
1424        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1425        * DP01: PCI: workaround hard-wired bus number
1426        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1427        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1428        * NM01: mac80211: Fix a rwlock bad magic bug
1429    
1430    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1431    - update to 3.2.6
1432    - add current stable queue (28 fixes, AA01-AA28)
1433    - require dracut >= 016-1 for xz compressed modules support and
1434      other needed fixes
1435    - compress modules with xz
1436    
1437    * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2
1438    - update to 3.2.5
1439    - drop merged patch
1440        * DP01: ASPM rework
1441    
1442    * Thu Jan 26 2012 Thomas Backlund <tmb@mageia.org> 3.2.2-1.mga2
1443    - update to 3.2.2 (CVE-2012-0056)
1444    - update patches:
1445        * CK01: Con Kolivas 3.2-ck1 patchset
1446        * KP01: TuxOnIce 3.2.1
1447    - require dracut instead of mkinitrd
1448    - require module-init-tools >= 3.6-14 for xz support
1449    
1450    * Sun Jan 15 2012 Thomas Backlund <tmb@mageia.org> 3.2.1-1.mga2
1451    - update to 3.2.1
1452    
1453    * Thu Jan  5 2012 Thomas Backlund <tmb@mageia.org> 3.2.0-1.mga2
1454    - update to 3.2
1455    - add patches:
1456        * FU02: fix unionfs build with 3.2 series kernels
1457        * MB13: fix ndiswrapper build with 3.2 series kernels
1458    - update patches:
1459        * CK01: BFS scheduler 0.416
1460    - rediff patches:
1461        * DP11, MB02, NI11, NI16, Source2
1462    - drop patches:
1463        * FB01: btrfs fix, merged
1464    - update filelists and defconfigs
1465    
1466    * Thu Dec 22 2011 Thomas Backlund <tmb@mageia.org> 3.1.6-1.mga2
1467    - update to 3.1.6
1468    - drop patch DS01 (merged)
1469    - trigger dkms build in posttrans so modules get built at kernel install
1470      instead of at boot (speeds up boot time with new kernel)
1471    - update desktop(586) & laptop summaries and descriptions to point out that
1472      only 3-3.5GB RAM is detected on 32bit, and that server kernel is needed to
1473      fully support 4GB or more
1474    - switch transparent hugepages from on by default to madvise (only enabled
1475      for apps that requests it), as it fixes desktop freeze when accessing
1476      slow media such as usb (thanks to fbui/mdv mail on @cooker ml).
1477    
1478    * Fri Dec  9 2011 Thomas Backlund <tmb@mageia.org> 3.1.5-1.mga2
1479    - update to 3.1.5
1480    - drop merged patches:
1481        * DG01-DG06, FX01-FX06
1482    - add patch:
1483        * DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select()
1484    - clean spec: drop buildroot and defattr
1485    
1486    * Tue Dec  6 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-3.mga2
1487    - fix patch NI12: IFWLOG: fix return value of checkentry
1488      (not properly modified in 2.6.35+ patch, blino, #3594)
1489    - rebuild with GCC-4.6.2
1490    
1491    * Wed Nov 30 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-2.mga2
1492    - update patch:
1493      * CK01: upstream 3.1.0-ck2 including BFS 0.415
1494    
1495    * Tue Nov 29 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-1.mga2
1496    - update to 3.1.4
1497      * reverts usb patch that broke isochronous devices
1498        (i.e. webcam, audio, or other streaming devices)
1499    
1500    * Mon Nov 28 2011 Thomas Backlund <tmb@mageia.org> 3.1.3-1.mga2
1501    - update to 3.1.3
1502    - add patches:
1503      * DG01: i915: Fix inconsistent backlight level during disabled
1504      * DG02: drm: fix integer overflow in drm_mode_dirtyfb_ioctl()
1505      * DG03: radeon/kms: fix up gpio i2c mask bits for r4xx for real
1506      * DG04: i915: Ivybridge still has fences
1507      * DG05: i915: Turn on a required 3D clock gating bit on Sandybridge
1508      * DG06: i915: Turn on another required clock gating bit on Sandybridge
1509      * DP01: pci: rework ASPM disable code (brings power usage back down
1510                   to 2.6.37 level)
1511      * FX01: don't serialise direct IO reads on page cache checks
1512              (fixes performance regression introduced in 2.6.38)
1513      * FX02: avoid direct I/O write vs buffered I/O race
1514      * FX03: return -EIO when xfs_vn_getattr() failed
1515      * FX04: fix buffer flushing during unmount
1516      * FX05: fix possible memory corruption in xfs_readlink
1517      * FX06: use doalloc flag in xfs_qm_dqattach_one()
1518    - update patches:
1519      * FU01: unionfs 2.5.10 for 3.1.3
1520      * MB02: merge 3rdparty support
1521      * MB10-MB12: ndiswrapper 1.57-rc1
1522    - drop patches:
1523      * DS15: its replaced by SND_HDA_PREALLOC_SIZE config option
1524      * MB13-MB17: ndiswrapper fixes, merged
1525    - disable patches:
1526      * KP01: TuxOnIce support, currently broken
1527    - dont ship openrisc arch files
1528    - update defconfigs
1529    
1530    * Tue Oct 25 2011 Thomas Backlund <tmb@mageia.org> 3.0.8-1.mga2
1531    - update to 3.0.8
1532      * drop merged patch: DM20
1533    - enable PM_RUNTIME and USB_SUSPEND
1534    
1535    * Tue Oct 18 2011 Thomas Backlund <tmb@mageia.org> 3.0.7-1.mga2
1536    - update to 3.0.7
1537    - update patch:
1538        * CK01: 3.0.7-ck1 including BFS 0.413
1539    - re-enable usblp as it is needed by both usb-pp adapters and some printers
1540      (mga #2240, #2264) (cups is patched to work with both usblp and libusb)
1541    
1542    * Tue Oct 04 2011 Thomas Backlund <tmb@mageia.org> 3.0.6-1.mga2
1543    - update to 3.0.6
1544    - add patch:
1545        * DM20: fix boot hang on uvc webcam init (mga #2425)
1546    
1547    * Tue Aug 30 2011 Thomas Backlund <tmb@mageia.org> 3.0.4-1.mga2
1548    - update to 3.0.4
1549    - drop merged patch: AA01
1550    
1551    * Fri Aug 19 2011 Thomas Backlund <tmb@mageia.org> 3.0.3-1.mga2
1552    - update to 3.0.3
1553    - update patches:
1554        * CK01: Con Kolivas -ck patchset including BFS
1555        * FU01: unionfs 2.5.9.2
1556        * KP01: TuxonIce 3.2
1557    - drop merged patches:
1558        * CK02, DA60-DA61, DG10-DG14, DN08, DN15-DN19, DP05-DP08
1559        * DP20-DP26, DP30, DV11, FU02-FU03, MK01, NI30-NI31
1560    - add patches:
1561        * AA01: genirq: Fix wrong bit operation
1562        * DP10-DP12: samsung-laptop: support nc110, nc210, r700, x520
1563        * DP13: samsung-laptop: fix support for older N150, N210, N220
1564        * FB01: btrfs: btrfs_calc_avail_data_space: cope with no read_write devices
1565        * MB17: ndiswrapper buildfix for 3.0
1566        * MC84: viahss buildfix for 3.0
1567    - rediff patches:
1568        * NI16: netfilter psd mdv/mga modifications
1569    - disable patches:
1570        * DV01-DV02: framebuffer oops fixes (should not be needed anymore)
1571        * FR01: reiser4 support (broken)
1572    - adapt spec for 3.0 series version changes
1573    - change kernel-tmb-source to noarch
1574    - build with -s(ilent) to only log varnings and errors
1575    - update defconfigs
1576    
1577    * Sun Jun 19 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.8-1.mga1
1578    - update to 2.6.38.8 (CVE-2011-1017)
1579    - drop merged patches:
1580        * AA01, DP15
1581    - add patches:
1582        * CK02: update bfs scheduler to 0.406
1583        * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)
1584    - add mgaver to 'uname -r'
1585    
1586    * Sun May 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.7-1.mga1
1587    - update to 2.6.38.7 (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927)
1588    - drop merged patches:
1589        * DG20-DG24
1590    - update patches:
1591        * FU01, FU03: rollback unionfs to a working 2.5.8
1592    - add patches:
1593        * AA01: block: rescan partitions on invalidated devices on -ENOMEDIA too
1594        * DN17: r8169: add a new chip for RTL8105
1595        * DN18: r8169: add a new chip for RTL8168DP
1596        * DN19: r8169: add support for RTL8168E/RTL8111E
1597    
1598    * Wed May 18 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-2.mga1
1599    - disable xz module compression again as not all tools/utils can cope
1600      with it (can be enabled with '--with modxz' buildtime flag)
1601    
1602    * Thu May 12 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.6-1.mga1
1603    - enable xz module compression on 2011.0
1604  - update to 2.6.38.6  - update to 2.6.38.6
1605  - drop merged patches:  - drop merged patches:
1606      * AX01      * AX01
# Line 1062  rm -rf %{buildroot} Line 1618  rm -rf %{buildroot}
1618  - drop hardcoded vendor references from summarys and descriptions (#1161)  - drop hardcoded vendor references from summarys and descriptions (#1161)
1619  - drop warnings about being experimental kernel  - drop warnings about being experimental kernel
1620    
1621  * 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
1622  - update to 2.6.38.5  - update to 2.6.38.5
1623  - add patches:  - add patches:
1624      * 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 1078  rm -rf %{buildroot} Line 1634  rm -rf %{buildroot}
1634      * FU03: unionfs oops fix (obsolete)      * FU03: unionfs oops fix (obsolete)
1635  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)
1636    
1637  * 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
1638  - update to 2.6.38.4  - update to 2.6.38.4
1639  - update patches:  - update patches:
1640      * DG10: drm/i915: Fix tiling corruption from pipelined fencing      * DG10: drm/i915: Fix tiling corruption from pipelined fencing
# Line 1094  rm -rf %{buildroot} Line 1650  rm -rf %{buildroot}
1650      * DM01: add dm-raid45 aliases to the new dm-raid target      * DM01: add dm-raid45 aliases to the new dm-raid target
1651      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
1652    
1653  * 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
1654  - update to 2.6.38.3  - update to 2.6.38.3
1655  - drop merged patches  - drop merged patches
1656    
1657  * 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
1658  - add -stable queue patches (31 fixes)  - add -stable queue patches (31 fixes)
1659  - update patches:  - update patches:
1660      * CK01: Con Kolivas -ck3 patchset including bfs 0.400      * CK01: Con Kolivas -ck3 patchset including bfs 0.400
# Line 1106  rm -rf %{buildroot} Line 1662  rm -rf %{buildroot}
1662  - drop patches:  - drop patches:
1663      * FR02: reiser4 buildfix (merged)      * FR02: reiser4 buildfix (merged)
1664    
1665  * 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
1666  - update to 2.6.38.2  - update to 2.6.38.2
1667  - drop merged patches:  - drop merged patches:
1668      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)
# Line 1137  rm -rf %{buildroot} Line 1693  rm -rf %{buildroot}
1693      * MB16: ndiswrapper buildfix      * MB16: ndiswrapper buildfix
1694  - update defconfigs and filelists  - update defconfigs and filelists
1695    
1696  * 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
1697  - 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)
1698  - drop merged patch:  - drop merged patch:
1699      * NI01      * NI01
# Line 1150  rm -rf %{buildroot} Line 1706  rm -rf %{buildroot}
1706      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1707  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1708    
1709  * 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
1710  - update to 2.6.37.2  - update to 2.6.37.2
1711  - rediff patch:  - rediff patch:
1712      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS
# Line 1444  rm -rf %{buildroot} Line 2000  rm -rf %{buildroot}
2000              (fixes a regression and improves writeback ~3 times on big files)              (fixes a regression and improves writeback ~3 times on big files)
2001      * NI01: netfilter: fix CONFIG_COMPAT support      * NI01: netfilter: fix CONFIG_COMPAT support
2002    
2003  * 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
2004  - update to 2.6.35.4 (CVE-2010-2803)  - update to 2.6.35.4 (CVE-2010-2803)
2005    * drop merged patches:    * drop merged patches:
2006        AX01, FS20        AX01, FS20

Legend:
Removed from v.97433  
changed lines
  Added in v.445408

  ViewVC Help
Powered by ViewVC 1.1.30