/[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 151411 by tmb, Mon Oct 3 21:53:46 2011 UTC revision 254432 by tmb, Mon Jun 4 19:47:56 2012 UTC
# Line 2  Line 2 
2  # *tmb* series kernels now use kernel.org versioning  # *tmb* series kernels now use kernel.org versioning
3  #  #
4  %define kernelversion   3  %define kernelversion   3
5  %define patchlevel      0  %define patchlevel      4
6  # sublevel is now used for -stable patches  # sublevel is now used for -stable patches
7  %define sublevel        6  %define sublevel        1
8    
9  # Package release  # Package release
10  %define mgarel          1  %define mgarel          1
# Line 101  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 114  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 125  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
# Line 158  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 185  Source102:     %{kname}.patchlist Line 180  Source102:     %{kname}.patchlist
180    
181  %if %kpatch  %if %kpatch
182  %if %sublevel  %if %sublevel
183  Patch2:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/stable-review/patch-%{kversion}-%{kpatch}.bz2  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}.bz2.sign  Source11:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/stable-review/patch-%{kversion}-%{kpatch}.sign
185  %else  %else
186  Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.bz2  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}.bz2.sign  Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign
188  %endif  %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}-%{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}-%{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  %endif
194  %if %sublevel  %if %sublevel
195  %if %kpatch  %if %kpatch
196  %define prev_sublevel %(expr %{sublevel} - 1)  %define prev_sublevel %(expr %{sublevel} - 1)
197  %if %prev_sublevel  %if %prev_sublevel
198  Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.bz2  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}.bz2.sign  Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign
200  %endif  %endif
201  %else  %else
202  Patch1:         ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.bz2  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}.bz2.sign  Source10:       ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.%{patchlevel}/patch-%{kversion}.sign
204  %endif  %endif
205  %endif  %endif
206    
# Line 220  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 module-init-tools >= 3.16-14
221  %define requires4       kernel-firmware >= 20100217-1  %define requires4       kernel-firmware >= 20111229-1
222    
223  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88
224    
 BuildRoot:              %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
 %define buildroot       %{_tmppath}/%{kname}-%{kversion}-%{_arch}-build  
225  Autoreqprov:            no  Autoreqprov:            no
226  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.2-0.pre8.2  BuildRequires:          gcc >= 4.0.1-5 module-init-tools >= 3.16-14
227    
228  %description  %description
229  %common_description_kernel  %common_description_kernel
# Line 304  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 314  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 328  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 344  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 368  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 562  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 647  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 674  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 unicore32 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 702  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 729  $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/misc
724  $DevelRoot/include/mtd  $DevelRoot/include/mtd
725  $DevelRoot/include/net  $DevelRoot/include/net
726  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
# Line 793  CreateFiles() { Line 785  CreateFiles() {
785    
786  ### Create the kernel_files.*  ### Create the kernel_files.*
787  cat > $kernel_files <<EOF  cat > $kernel_files <<EOF
 %defattr(-,root,root)  
788  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
789  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
790  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
# Line 835  fi Line 826  fi
826  %endif  %endif
827  EOF  EOF
828    
829    ### Create kernel Posttran script
830    cat > $kernel_files-posttrans <<EOF
831    if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} ]; then
832        /usr/sbin/dkms_autoinstaller start %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
833    fi
834    EOF
835    
836  ### Create kernel Preun script on the fly  ### Create kernel Preun script on the fly
837  cat > $kernel_files-preun <<EOF  cat > $kernel_files-preun <<EOF
# Line 953  chmod -R a+rX %{target_source} Line 950  chmod -R a+rX %{target_source}
950    
951  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
952  # first architecture files  # first architecture files
953  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 \
954           m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
955             powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
956          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
957  done  done
958    
# Line 988  done Line 986  done
986  popd  popd
987    
988    
 ###  
 ### clean  
 ###  
 %clean  
 rm -rf %{buildroot}  
   
   
989  # 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
990  # able to do several rpm --short-circuit -bi for testing install  # able to do several rpm --short-circuit -bi for testing install
991  # phase without repeating compilation phase  # phase without repeating compilation phase
# Line 1005  rm -rf %{buildroot} Line 996  rm -rf %{buildroot}
996  ###  ###
997  %if %build_source  %if %build_source
998  %files -n %{kname}-source-%{buildrel}  %files -n %{kname}-source-%{buildrel}
 %defattr(-,root,root)  
999  %dir %{_kerneldir}  %dir %{_kerneldir}
1000  %dir %{_kerneldir}/arch  %dir %{_kerneldir}/arch
1001  %dir %{_kerneldir}/include  %dir %{_kerneldir}/include
# Line 1030  rm -rf %{buildroot} Line 1020  rm -rf %{buildroot}
1020  %{_kerneldir}/include/linux  %{_kerneldir}/include/linux
1021  %{_kerneldir}/include/math-emu  %{_kerneldir}/include/math-emu
1022  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1023    %{_kerneldir}/include/misc
1024  %{_kerneldir}/include/mtd  %{_kerneldir}/include/mtd
1025  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1026  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
# Line 1066  rm -rf %{buildroot} Line 1057  rm -rf %{buildroot}
1057  %doc README.kernel-%{ktag}-sources  %doc README.kernel-%{ktag}-sources
1058    
1059  %files -n %{kname}-source-latest  %files -n %{kname}-source-latest
 %defattr(-,root,root)  
1060  %endif  %endif
1061    
1062  %if %build_doc  %if %build_doc
1063  %files -n %{kname}-doc  %files -n %{kname}-doc
 %defattr(-,root,root)  
1064  %doc linux-%{tar_ver}/Documentation/*  %doc linux-%{tar_ver}/Documentation/*
1065  %endif  %endif
1066    
1067  %changelog  %changelog
1068  * Tue Oct 04 2011 Thomas Backlund <tmb@mandriva.org> 3.0.6-1.mga2  * Mon Jun  4 2012 Thomas Backlund <tmb@mageia.org> 3.4.1-1.mga2
1069    - update to 3.4.1
1070    - drop merged patches:
1071      * DA60, DA61: ahci/ata ids
1072      * DG01-DG04, DG20-DG21, DG40-DG44, DG60: drm backports
1073      * DN10-DN11: ath5k stablilty fixes
1074      * DS20-DS24: sound fixes
1075    - update patches:
1076      * CK01: ck1 patchset including BFS 0.422
1077      * FU01: unionfs 2.5.11
1078      * KP01: tuxonice 3.2.1
1079      * NI10-NI11: netfilter IFWLOG support
1080      * NI16: netfilter psd support
1081    - add patches:
1082      * DM60: radio-rttrack buildfix
1083      * FU02: unionfs buildfix for kernel-3.4
1084    - drop patches:
1085      * DA50: prefer ata over ide hack, needs to be fixed properly
1086      * DN20: disabling powersave on rt2800usb
1087      * LK01: lib/Kconfig.debug text update
1088    - update defconfigs
1089    - update filelists
1090    
1091    * Thu May 17 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-2.mga2
1092    - revert switching server kernels to SLAB allocator at it fails to boot
1093      with BFS scheduler (reported/confirmed by Charles A Edwards.on -dev ml)
1094    - add patches:
1095      * DN25: ipw2x00: add support for nl80211 clients like Network Manager (#5720)
1096      * DS20: ALSA: echoaudio: Remove incorrect part of assertion
1097      * DS21: ALSA: HDA: Lessen CPU usage when waiting for chip to respond
1098      * DS22: ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
1099      * DS23: ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops
1100    
1101    * Sat May 12 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-1.mga2
1102    - update to 3.3.6
1103    - drop merged patches:
1104      * AA01-AA32: stable queue fixes
1105      * DP10-DP13: samsung-laptop dmitable addons
1106    - switch server kernels back to SLAB allocator as it performs better
1107      on bigger server hardware and workloads
1108    
1109    * Thu May 10 2012 Thomas Backlund <tmb@mageia.org> 3.3.5-1.mga2
1110    - update to 3.3.5
1111    - drop merged patches:
1112      * DN15-DN17: iwlwifi fixes
1113    - add patches from stable queue
1114      * AA01-AA32: fixes all over
1115    
1116    * Sat Apr 28 2012 Thomas Backlund <tmb@mageia.org> 3.3.4-1.mga2
1117    - update to 3.3.4
1118    - require dracut >= 017-9
1119    - add patches:
1120      * DN16: iwlwifi: use 6000G2B for 6030 device series
1121      * DN17: iwlwifi: fix hardware queue programming
1122    
1123    * Mon Apr 23 2012 Thomas Backlund <tmb@mageia.org> 3.3.3-1.mga2
1124    - update to 3.3.3
1125    - add patches:
1126      * BF01: floppy: disable pnp autoloading
1127      * DN10: ath5k: do not stop queues for full calibration
1128      * DN11: ath5k: do not re-run AGC calibration periodically
1129      * DN15: iwlwifi: use correct released ucode version
1130    - update patch:
1131      * KP01: TuxOnIce 3.2.1 for kernel-3.3
1132    
1133    * Tue Apr 03 2012 Thomas Backlund <tmb@mageia.org> 3.3.1-1.mga2
1134    - update to 3.3.1
1135    - drop merged patches:
1136      * DM51, SR01-SR03
1137    - update patch:
1138      * CK01: -ck1 patchset including BFS v0.420
1139    - add patches:
1140      * DA50: ata: prefer ata drivers over ide drivers when both are built (Anssi)
1141      * DA60-DA61: ata: add ide/ahci/raid mode support for Intel Lynx Point chipset
1142      * DG01-DG04: drm: add upstream drm changes to support gpu driver backports
1143      * DG20, DG21: drm/radeon: backport support for Southern Islands (HD7xxx)
1144                    GPUs and Trinity APUs
1145      * DG40-DG44: drm/nouveau: backport Kepler (GTX6xx) support
1146      * DG60: drm/i915: add Ivy Bridge GT2 Server entries
1147    - update defconfigs
1148    
1149    * Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2
1150    - update to 3.3 final
1151    - add patches:
1152        * DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2
1153                and similar hardware
1154        * DM51: media/tda10071: correct delivery system to DVB-S/S2
1155    - update defconfigs
1156    
1157    * Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2
1158    - update to 3.3-rc7
1159    
1160    * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1161    - update to 3.3-rc6
1162    - update patches:
1163        * FU01: unionfs 2.5.11
1164        * MB10, MB13, MB14: ndiswrapper 1.57
1165    - rediff patches:
1166        * NI15, NI16: netfilter psd support
1167        * patch disabling mrproper in -devel rpms
1168    - disable patch:
1169        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1170    - update defconfigs
1171    - update filelists
1172    
1173    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1174    - update to 3.2.9
1175    - require dracut >= 017-1
1176    - drop merged patches:
1177        * DG01, DP01, DU01, NM01
1178    - add patches:
1179        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1180    
1181    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1182    - update to 3.2.7
1183    - drop merged patches AA01-AA28
1184    - add patches:
1185        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1186        * DP01: PCI: workaround hard-wired bus number
1187        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1188        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1189        * NM01: mac80211: Fix a rwlock bad magic bug
1190    
1191    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1192    - update to 3.2.6
1193    - add current stable queue (28 fixes, AA01-AA28)
1194    - require dracut >= 016-1 for xz compressed modules support and
1195      other needed fixes
1196    - compress modules with xz
1197    
1198    * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2
1199    - update to 3.2.5
1200    - drop merged patch
1201        * DP01: ASPM rework
1202    
1203    * Thu Jan 26 2012 Thomas Backlund <tmb@mageia.org> 3.2.2-1.mga2
1204    - update to 3.2.2 (CVE-2012-0056)
1205    - update patches:
1206        * CK01: Con Kolivas 3.2-ck1 patchset
1207        * KP01: TuxOnIce 3.2.1
1208    - require dracut instead of mkinitrd
1209    - require module-init-tools >= 3.6-14 for xz support
1210    
1211    * Sun Jan 15 2012 Thomas Backlund <tmb@mageia.org> 3.2.1-1.mga2
1212    - update to 3.2.1
1213    
1214    * Thu Jan  5 2012 Thomas Backlund <tmb@mageia.org> 3.2.0-1.mga2
1215    - update to 3.2
1216    - add patches:
1217        * FU02: fix unionfs build with 3.2 series kernels
1218        * MB13: fix ndiswrapper build with 3.2 series kernels
1219    - update patches:
1220        * CK01: BFS scheduler 0.416
1221    - rediff patches:
1222        * DP11, MB02, NI11, NI16, Source2
1223    - drop patches:
1224        * FB01: btrfs fix, merged
1225    - update filelists and defconfigs
1226    
1227    * Thu Dec 22 2011 Thomas Backlund <tmb@mageia.org> 3.1.6-1.mga2
1228    - update to 3.1.6
1229    - drop patch DS01 (merged)
1230    - trigger dkms build in posttrans so modules get built at kernel install
1231      instead of at boot (speeds up boot time with new kernel)
1232    - update desktop(586) & laptop summaries and descriptions to point out that
1233      only 3-3.5GB RAM is detected on 32bit, and that server kernel is needed to
1234      fully support 4GB or more
1235    - switch transparent hugepages from on by default to madvise (only enabled
1236      for apps that requests it), as it fixes desktop freeze when accessing
1237      slow media such as usb (thanks to fbui/mdv mail on @cooker ml).
1238    
1239    * Fri Dec  9 2011 Thomas Backlund <tmb@mageia.org> 3.1.5-1.mga2
1240    - update to 3.1.5
1241    - drop merged patches:
1242        * DG01-DG06, FX01-FX06
1243    - add patch:
1244        * DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select()
1245    - clean spec: drop buildroot and defattr
1246    
1247    * Tue Dec  6 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-3.mga2
1248    - fix patch NI12: IFWLOG: fix return value of checkentry
1249      (not properly modified in 2.6.35+ patch, blino, #3594)
1250    - rebuild with GCC-4.6.2
1251    
1252    * Wed Nov 30 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-2.mga2
1253    - update patch:
1254      * CK01: upstream 3.1.0-ck2 including BFS 0.415
1255    
1256    * Tue Nov 29 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-1.mga2
1257    - update to 3.1.4
1258      * reverts usb patch that broke isochronous devices
1259        (i.e. webcam, audio, or other streaming devices)
1260    
1261    * Mon Nov 28 2011 Thomas Backlund <tmb@mageia.org> 3.1.3-1.mga2
1262    - update to 3.1.3
1263    - add patches:
1264      * DG01: i915: Fix inconsistent backlight level during disabled
1265      * DG02: drm: fix integer overflow in drm_mode_dirtyfb_ioctl()
1266      * DG03: radeon/kms: fix up gpio i2c mask bits for r4xx for real
1267      * DG04: i915: Ivybridge still has fences
1268      * DG05: i915: Turn on a required 3D clock gating bit on Sandybridge
1269      * DG06: i915: Turn on another required clock gating bit on Sandybridge
1270      * DP01: pci: rework ASPM disable code (brings power usage back down
1271                   to 2.6.37 level)
1272      * FX01: don't serialise direct IO reads on page cache checks
1273              (fixes performance regression introduced in 2.6.38)
1274      * FX02: avoid direct I/O write vs buffered I/O race
1275      * FX03: return -EIO when xfs_vn_getattr() failed
1276      * FX04: fix buffer flushing during unmount
1277      * FX05: fix possible memory corruption in xfs_readlink
1278      * FX06: use doalloc flag in xfs_qm_dqattach_one()
1279    - update patches:
1280      * FU01: unionfs 2.5.10 for 3.1.3
1281      * MB02: merge 3rdparty support
1282      * MB10-MB12: ndiswrapper 1.57-rc1
1283    - drop patches:
1284      * DS15: its replaced by SND_HDA_PREALLOC_SIZE config option
1285      * MB13-MB17: ndiswrapper fixes, merged
1286    - disable patches:
1287      * KP01: TuxOnIce support, currently broken
1288    - dont ship openrisc arch files
1289    - update defconfigs
1290    
1291    * Tue Oct 25 2011 Thomas Backlund <tmb@mageia.org> 3.0.8-1.mga2
1292    - update to 3.0.8
1293      * drop merged patch: DM20
1294    - enable PM_RUNTIME and USB_SUSPEND
1295    
1296    * Tue Oct 18 2011 Thomas Backlund <tmb@mageia.org> 3.0.7-1.mga2
1297    - update to 3.0.7
1298    - update patch:
1299        * CK01: 3.0.7-ck1 including BFS 0.413
1300    - re-enable usblp as it is needed by both usb-pp adapters and some printers
1301      (mga #2240, #2264) (cups is patched to work with both usblp and libusb)
1302    
1303    * Tue Oct 04 2011 Thomas Backlund <tmb@mageia.org> 3.0.6-1.mga2
1304  - update to 3.0.6  - update to 3.0.6
1305  - add patch:  - add patch:
1306      * DM20: fix boot hang on uvc webcam init (mga #2425)      * DM20: fix boot hang on uvc webcam init (mga #2425)
1307    
1308  * Tue Aug 30 2011 Thomas Backlund <tmb@mandriva.org> 3.0.4-1.mga2  * Tue Aug 30 2011 Thomas Backlund <tmb@mageia.org> 3.0.4-1.mga2
1309  - update to 3.0.4  - update to 3.0.4
1310  - drop merged patch: AA01  - drop merged patch: AA01
1311    
1312  * Fri Aug 19 2011 Thomas Backlund <tmb@mandriva.org> 3.0.3-1.mga2  * Fri Aug 19 2011 Thomas Backlund <tmb@mageia.org> 3.0.3-1.mga2
1313  - update to 3.0.3  - update to 3.0.3
1314  - update patches:  - update patches:
1315      * CK01: Con Kolivas -ck patchset including BFS      * CK01: Con Kolivas -ck patchset including BFS
# Line 1111  rm -rf %{buildroot} Line 1335  rm -rf %{buildroot}
1335  - build with -s(ilent) to only log varnings and errors  - build with -s(ilent) to only log varnings and errors
1336  - update defconfigs  - update defconfigs
1337    
1338  * Sun Jun 19 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.8-1.mga1  * Sun Jun 19 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.8-1.mga1
1339  - update to 2.6.38.8 (CVE-2011-1017)  - update to 2.6.38.8 (CVE-2011-1017)
1340  - drop merged patches:  - drop merged patches:
1341      * AA01, DP15      * AA01, DP15
# Line 1120  rm -rf %{buildroot} Line 1344  rm -rf %{buildroot}
1344      * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)      * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)
1345  - add mgaver to 'uname -r'  - add mgaver to 'uname -r'
1346    
1347  * Sun May 22 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.7-1.mga1  * Sun May 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.38.7-1.mga1
1348  - 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)
1349  - drop merged patches:  - drop merged patches:
1350      * DG20-DG24      * DG20-DG24
# Line 1132  rm -rf %{buildroot} Line 1356  rm -rf %{buildroot}
1356      * DN18: r8169: add a new chip for RTL8168DP      * DN18: r8169: add a new chip for RTL8168DP
1357      * DN19: r8169: add support for RTL8168E/RTL8111E      * DN19: r8169: add support for RTL8168E/RTL8111E
1358    
1359  * 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
1360  - disable xz module compression again as not all tools/utils can cope  - disable xz module compression again as not all tools/utils can cope
1361    with it (can be enabled with '--with modxz' buildtime flag)    with it (can be enabled with '--with modxz' buildtime flag)
1362    
1363  * 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
1364  - enable xz module compression on 2011.0  - enable xz module compression on 2011.0
1365  - update to 2.6.38.6  - update to 2.6.38.6
1366  - drop merged patches:  - drop merged patches:
# Line 1155  rm -rf %{buildroot} Line 1379  rm -rf %{buildroot}
1379  - drop hardcoded vendor references from summarys and descriptions (#1161)  - drop hardcoded vendor references from summarys and descriptions (#1161)
1380  - drop warnings about being experimental kernel  - drop warnings about being experimental kernel
1381    
1382  * 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
1383  - update to 2.6.38.5  - update to 2.6.38.5
1384  - add patches:  - add patches:
1385      * 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 1171  rm -rf %{buildroot} Line 1395  rm -rf %{buildroot}
1395      * FU03: unionfs oops fix (obsolete)      * FU03: unionfs oops fix (obsolete)
1396  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)
1397    
1398  * 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
1399  - update to 2.6.38.4  - update to 2.6.38.4
1400  - update patches:  - update patches:
1401      * DG10: drm/i915: Fix tiling corruption from pipelined fencing      * DG10: drm/i915: Fix tiling corruption from pipelined fencing
# Line 1187  rm -rf %{buildroot} Line 1411  rm -rf %{buildroot}
1411      * DM01: add dm-raid45 aliases to the new dm-raid target      * DM01: add dm-raid45 aliases to the new dm-raid target
1412      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
1413    
1414  * 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
1415  - update to 2.6.38.3  - update to 2.6.38.3
1416  - drop merged patches  - drop merged patches
1417    
1418  * 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
1419  - add -stable queue patches (31 fixes)  - add -stable queue patches (31 fixes)
1420  - update patches:  - update patches:
1421      * CK01: Con Kolivas -ck3 patchset including bfs 0.400      * CK01: Con Kolivas -ck3 patchset including bfs 0.400
# Line 1199  rm -rf %{buildroot} Line 1423  rm -rf %{buildroot}
1423  - drop patches:  - drop patches:
1424      * FR02: reiser4 buildfix (merged)      * FR02: reiser4 buildfix (merged)
1425    
1426  * 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
1427  - update to 2.6.38.2  - update to 2.6.38.2
1428  - drop merged patches:  - drop merged patches:
1429      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)
# Line 1230  rm -rf %{buildroot} Line 1454  rm -rf %{buildroot}
1454      * MB16: ndiswrapper buildfix      * MB16: ndiswrapper buildfix
1455  - update defconfigs and filelists  - update defconfigs and filelists
1456    
1457  * 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
1458  - 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)
1459  - drop merged patch:  - drop merged patch:
1460      * NI01      * NI01
# Line 1243  rm -rf %{buildroot} Line 1467  rm -rf %{buildroot}
1467      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1468  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1469    
1470  * 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
1471  - update to 2.6.37.2  - update to 2.6.37.2
1472  - rediff patch:  - rediff patch:
1473      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS

Legend:
Removed from v.151411  
changed lines
  Added in v.254432

  ViewVC Help
Powered by ViewVC 1.1.30