/[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 134369 by tmb, Thu Aug 18 22:09:27 2011 UTC revision 220928 by tmb, Wed Mar 7 11:00:45 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      3
6  # sublevel is now used for -stable patches  # sublevel is now used for -stable patches
7  %define sublevel        3  %define sublevel        0
8    
9  # Package release  # Package release
10  %define mgarel          1  %define mgarel          1
11    
12  # kernel Makefile extraversion is substituted by  # kernel Makefile extraversion is substituted by
13  # kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit)  # kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit)
14  %define kpatch          0  %define kpatch          rc6
15  # kernel.org -gitX patch (only the number after "git")  # kernel.org -gitX patch (only the number after "git")
16  %define kgit            0  %define kgit            0
17    
# 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-1
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          %else          %else
641                  cp -fR arch/%{_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{_arch}/kernel/                  cp -fR arch/%{_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{_arch}/kernel/
# Line 674  SaveDevel() { Line 663  SaveDevel() {
663          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
664          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
665    
666          for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \          for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
667                   m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
668                     powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
669                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
670          done          done
671    
# Line 702  SaveDevel() { Line 692  SaveDevel() {
692    
693  ### Create the kernel_devel_files.*  ### Create the kernel_devel_files.*
694  cat > $kernel_devel_files <<EOF  cat > $kernel_devel_files <<EOF
 %defattr(-,root,root)  
695  %dir $DevelRoot  %dir $DevelRoot
696  %dir $DevelRoot/arch  %dir $DevelRoot/arch
697  %dir $DevelRoot/include  %dir $DevelRoot/include
# Line 729  $DevelRoot/include/keys Line 718  $DevelRoot/include/keys
718  $DevelRoot/include/linux  $DevelRoot/include/linux
719  $DevelRoot/include/math-emu  $DevelRoot/include/math-emu
720  $DevelRoot/include/media  $DevelRoot/include/media
721    $DevelRoot/include/misc
722  $DevelRoot/include/mtd  $DevelRoot/include/mtd
723  $DevelRoot/include/net  $DevelRoot/include/net
724  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
# Line 793  CreateFiles() { Line 783  CreateFiles() {
783    
784  ### Create the kernel_files.*  ### Create the kernel_files.*
785  cat > $kernel_files <<EOF  cat > $kernel_files <<EOF
 %defattr(-,root,root)  
786  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/System.map-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
787  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/config-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
788  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  %{_bootdir}/vmlinuz-%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
# Line 835  fi Line 824  fi
824  %endif  %endif
825  EOF  EOF
826    
827    ### Create kernel Posttran script
828    cat > $kernel_files-posttrans <<EOF
829    if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} ]; then
830        /usr/sbin/dkms_autoinstaller start %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
831    fi
832    EOF
833    
834  ### Create kernel Preun script on the fly  ### Create kernel Preun script on the fly
835  cat > $kernel_files-preun <<EOF  cat > $kernel_files-preun <<EOF
# Line 953  chmod -R a+rX %{target_source} Line 948  chmod -R a+rX %{target_source}
948    
949  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
950  # first architecture files  # first architecture files
951  for i in alpha arm arm26 avr32 blackfin cris frv h8300 ia64 microblaze mips m32r m68k \  for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
952           m68knommu mn10300 parisc powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
953             powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
954          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
955  done  done
956    
# Line 988  done Line 984  done
984  popd  popd
985    
986    
 ###  
 ### clean  
 ###  
 %clean  
 rm -rf %{buildroot}  
   
   
987  # We don't want to remove this, the whole reason of its existence is to be  # We don't want to remove this, the whole reason of its existence is to be
988  # able to do several rpm --short-circuit -bi for testing install  # able to do several rpm --short-circuit -bi for testing install
989  # phase without repeating compilation phase  # phase without repeating compilation phase
# Line 1005  rm -rf %{buildroot} Line 994  rm -rf %{buildroot}
994  ###  ###
995  %if %build_source  %if %build_source
996  %files -n %{kname}-source-%{buildrel}  %files -n %{kname}-source-%{buildrel}
 %defattr(-,root,root)  
997  %dir %{_kerneldir}  %dir %{_kerneldir}
998  %dir %{_kerneldir}/arch  %dir %{_kerneldir}/arch
999  %dir %{_kerneldir}/include  %dir %{_kerneldir}/include
# Line 1030  rm -rf %{buildroot} Line 1018  rm -rf %{buildroot}
1018  %{_kerneldir}/include/linux  %{_kerneldir}/include/linux
1019  %{_kerneldir}/include/math-emu  %{_kerneldir}/include/math-emu
1020  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1021    %{_kerneldir}/include/misc
1022  %{_kerneldir}/include/mtd  %{_kerneldir}/include/mtd
1023  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1024  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
# Line 1066  rm -rf %{buildroot} Line 1055  rm -rf %{buildroot}
1055  %doc README.kernel-%{ktag}-sources  %doc README.kernel-%{ktag}-sources
1056    
1057  %files -n %{kname}-source-latest  %files -n %{kname}-source-latest
 %defattr(-,root,root)  
1058  %endif  %endif
1059    
1060  %if %build_doc  %if %build_doc
1061  %files -n %{kname}-doc  %files -n %{kname}-doc
 %defattr(-,root,root)  
1062  %doc linux-%{tar_ver}/Documentation/*  %doc linux-%{tar_ver}/Documentation/*
1063  %endif  %endif
1064    
1065  %changelog  %changelog
1066  * Fri Aug 19 2011 Thomas Backlund <tmb@mandriva.org> 3.0.3-1.mga2  * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1067    - update to 3.3-rc6
1068    - update patches:
1069        * FU01: unionfs 2.5.11
1070        * MB10, MB13, MB14: ndiswrapper 1.57
1071    - rediff patches:
1072        * NI15, NI16: netfilter psd support
1073        * patch disabling mrproper in -devel rpms
1074    - disable patch:
1075        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1076    - update defconfigs
1077    - update filelists
1078    
1079    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1080    - update to 3.2.9
1081    - require dracut >= 017-1
1082    - drop merged patches:
1083        * DG01, DP01, DU01, NM01
1084    - add patches:
1085        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1086    
1087    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1088    - update to 3.2.7
1089    - drop merged patches AA01-AA28
1090    - add patches:
1091        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1092        * DP01: PCI: workaround hard-wired bus number
1093        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1094        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1095        * NM01: mac80211: Fix a rwlock bad magic bug
1096    
1097    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1098    - update to 3.2.6
1099    - add current stable queue (28 fixes, AA01-AA28)
1100    - require dracut >= 016-1 for xz compressed modules support and
1101      other needed fixes
1102    - compress modules with xz
1103    
1104    * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2
1105    - update to 3.2.5
1106    - drop merged patch
1107        * DP01: ASPM rework
1108    
1109    * Thu Jan 26 2012 Thomas Backlund <tmb@mageia.org> 3.2.2-1.mga2
1110    - update to 3.2.2 (CVE-2012-0056)
1111    - update patches:
1112        * CK01: Con Kolivas 3.2-ck1 patchset
1113        * KP01: TuxOnIce 3.2.1
1114    - require dracut instead of mkinitrd
1115    - require module-init-tools >= 3.6-14 for xz support
1116    
1117    * Sun Jan 15 2012 Thomas Backlund <tmb@mageia.org> 3.2.1-1.mga2
1118    - update to 3.2.1
1119    
1120    * Thu Jan  5 2012 Thomas Backlund <tmb@mageia.org> 3.2.0-1.mga2
1121    - update to 3.2
1122    - add patches:
1123        * FU02: fix unionfs build with 3.2 series kernels
1124        * MB13: fix ndiswrapper build with 3.2 series kernels
1125    - update patches:
1126        * CK01: BFS scheduler 0.416
1127    - rediff patches:
1128        * DP11, MB02, NI11, NI16, Source2
1129    - drop patches:
1130        * FB01: btrfs fix, merged
1131    - update filelists and defconfigs
1132    
1133    * Thu Dec 22 2011 Thomas Backlund <tmb@mageia.org> 3.1.6-1.mga2
1134    - update to 3.1.6
1135    - drop patch DS01 (merged)
1136    - trigger dkms build in posttrans so modules get built at kernel install
1137      instead of at boot (speeds up boot time with new kernel)
1138    - update desktop(586) & laptop summaries and descriptions to point out that
1139      only 3-3.5GB RAM is detected on 32bit, and that server kernel is needed to
1140      fully support 4GB or more
1141    - switch transparent hugepages from on by default to madvise (only enabled
1142      for apps that requests it), as it fixes desktop freeze when accessing
1143      slow media such as usb (thanks to fbui/mdv mail on @cooker ml).
1144    
1145    * Fri Dec  9 2011 Thomas Backlund <tmb@mageia.org> 3.1.5-1.mga2
1146    - update to 3.1.5
1147    - drop merged patches:
1148        * DG01-DG06, FX01-FX06
1149    - add patch:
1150        * DS01: ALSA: hda/realtek - Fix Oops in alc_mux_select()
1151    - clean spec: drop buildroot and defattr
1152    
1153    * Tue Dec  6 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-3.mga2
1154    - fix patch NI12: IFWLOG: fix return value of checkentry
1155      (not properly modified in 2.6.35+ patch, blino, #3594)
1156    - rebuild with GCC-4.6.2
1157    
1158    * Wed Nov 30 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-2.mga2
1159    - update patch:
1160      * CK01: upstream 3.1.0-ck2 including BFS 0.415
1161    
1162    * Tue Nov 29 2011 Thomas Backlund <tmb@mageia.org> 3.1.4-1.mga2
1163    - update to 3.1.4
1164      * reverts usb patch that broke isochronous devices
1165        (i.e. webcam, audio, or other streaming devices)
1166    
1167    * Mon Nov 28 2011 Thomas Backlund <tmb@mageia.org> 3.1.3-1.mga2
1168    - update to 3.1.3
1169    - add patches:
1170      * DG01: i915: Fix inconsistent backlight level during disabled
1171      * DG02: drm: fix integer overflow in drm_mode_dirtyfb_ioctl()
1172      * DG03: radeon/kms: fix up gpio i2c mask bits for r4xx for real
1173      * DG04: i915: Ivybridge still has fences
1174      * DG05: i915: Turn on a required 3D clock gating bit on Sandybridge
1175      * DG06: i915: Turn on another required clock gating bit on Sandybridge
1176      * DP01: pci: rework ASPM disable code (brings power usage back down
1177                   to 2.6.37 level)
1178      * FX01: don't serialise direct IO reads on page cache checks
1179              (fixes performance regression introduced in 2.6.38)
1180      * FX02: avoid direct I/O write vs buffered I/O race
1181      * FX03: return -EIO when xfs_vn_getattr() failed
1182      * FX04: fix buffer flushing during unmount
1183      * FX05: fix possible memory corruption in xfs_readlink
1184      * FX06: use doalloc flag in xfs_qm_dqattach_one()
1185    - update patches:
1186      * FU01: unionfs 2.5.10 for 3.1.3
1187      * MB02: merge 3rdparty support
1188      * MB10-MB12: ndiswrapper 1.57-rc1
1189    - drop patches:
1190      * DS15: its replaced by SND_HDA_PREALLOC_SIZE config option
1191      * MB13-MB17: ndiswrapper fixes, merged
1192    - disable patches:
1193      * KP01: TuxOnIce support, currently broken
1194    - dont ship openrisc arch files
1195    - update defconfigs
1196    
1197    * Tue Oct 25 2011 Thomas Backlund <tmb@mageia.org> 3.0.8-1.mga2
1198    - update to 3.0.8
1199      * drop merged patch: DM20
1200    - enable PM_RUNTIME and USB_SUSPEND
1201    
1202    * Tue Oct 18 2011 Thomas Backlund <tmb@mageia.org> 3.0.7-1.mga2
1203    - update to 3.0.7
1204    - update patch:
1205        * CK01: 3.0.7-ck1 including BFS 0.413
1206    - re-enable usblp as it is needed by both usb-pp adapters and some printers
1207      (mga #2240, #2264) (cups is patched to work with both usblp and libusb)
1208    
1209    * Tue Oct 04 2011 Thomas Backlund <tmb@mageia.org> 3.0.6-1.mga2
1210    - update to 3.0.6
1211    - add patch:
1212        * DM20: fix boot hang on uvc webcam init (mga #2425)
1213    
1214    * Tue Aug 30 2011 Thomas Backlund <tmb@mageia.org> 3.0.4-1.mga2
1215    - update to 3.0.4
1216    - drop merged patch: AA01
1217    
1218    * Fri Aug 19 2011 Thomas Backlund <tmb@mageia.org> 3.0.3-1.mga2
1219  - update to 3.0.3  - update to 3.0.3
1220  - update patches:  - update patches:
1221      * CK01: Con Kolivas -ck patchset including BFS      * CK01: Con Kolivas -ck patchset including BFS
# Line 1102  rm -rf %{buildroot} Line 1241  rm -rf %{buildroot}
1241  - build with -s(ilent) to only log varnings and errors  - build with -s(ilent) to only log varnings and errors
1242  - update defconfigs  - update defconfigs
1243    
1244  * 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
1245  - update to 2.6.38.8 (CVE-2011-1017)  - update to 2.6.38.8 (CVE-2011-1017)
1246  - drop merged patches:  - drop merged patches:
1247      * AA01, DP15      * AA01, DP15
# Line 1111  rm -rf %{buildroot} Line 1250  rm -rf %{buildroot}
1250      * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)      * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)
1251  - add mgaver to 'uname -r'  - add mgaver to 'uname -r'
1252    
1253  * 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
1254  - 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)
1255  - drop merged patches:  - drop merged patches:
1256      * DG20-DG24      * DG20-DG24
# Line 1123  rm -rf %{buildroot} Line 1262  rm -rf %{buildroot}
1262      * DN18: r8169: add a new chip for RTL8168DP      * DN18: r8169: add a new chip for RTL8168DP
1263      * DN19: r8169: add support for RTL8168E/RTL8111E      * DN19: r8169: add support for RTL8168E/RTL8111E
1264    
1265  * 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
1266  - disable xz module compression again as not all tools/utils can cope  - disable xz module compression again as not all tools/utils can cope
1267    with it (can be enabled with '--with modxz' buildtime flag)    with it (can be enabled with '--with modxz' buildtime flag)
1268    
1269  * 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
1270  - enable xz module compression on 2011.0  - enable xz module compression on 2011.0
1271  - update to 2.6.38.6  - update to 2.6.38.6
1272  - drop merged patches:  - drop merged patches:
# Line 1146  rm -rf %{buildroot} Line 1285  rm -rf %{buildroot}
1285  - drop hardcoded vendor references from summarys and descriptions (#1161)  - drop hardcoded vendor references from summarys and descriptions (#1161)
1286  - drop warnings about being experimental kernel  - drop warnings about being experimental kernel
1287    
1288  * 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
1289  - update to 2.6.38.5  - update to 2.6.38.5
1290  - add patches:  - add patches:
1291      * 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 1162  rm -rf %{buildroot} Line 1301  rm -rf %{buildroot}
1301      * FU03: unionfs oops fix (obsolete)      * FU03: unionfs oops fix (obsolete)
1302  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)  - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)
1303    
1304  * 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
1305  - update to 2.6.38.4  - update to 2.6.38.4
1306  - update patches:  - update patches:
1307      * DG10: drm/i915: Fix tiling corruption from pipelined fencing      * DG10: drm/i915: Fix tiling corruption from pipelined fencing
# Line 1178  rm -rf %{buildroot} Line 1317  rm -rf %{buildroot}
1317      * DM01: add dm-raid45 aliases to the new dm-raid target      * DM01: add dm-raid45 aliases to the new dm-raid target
1318      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE      * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
1319    
1320  * 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
1321  - update to 2.6.38.3  - update to 2.6.38.3
1322  - drop merged patches  - drop merged patches
1323    
1324  * 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
1325  - add -stable queue patches (31 fixes)  - add -stable queue patches (31 fixes)
1326  - update patches:  - update patches:
1327      * CK01: Con Kolivas -ck3 patchset including bfs 0.400      * CK01: Con Kolivas -ck3 patchset including bfs 0.400
# Line 1190  rm -rf %{buildroot} Line 1329  rm -rf %{buildroot}
1329  - drop patches:  - drop patches:
1330      * FR02: reiser4 buildfix (merged)      * FR02: reiser4 buildfix (merged)
1331    
1332  * 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
1333  - update to 2.6.38.2  - update to 2.6.38.2
1334  - drop merged patches:  - drop merged patches:
1335      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)      * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)
# Line 1221  rm -rf %{buildroot} Line 1360  rm -rf %{buildroot}
1360      * MB16: ndiswrapper buildfix      * MB16: ndiswrapper buildfix
1361  - update defconfigs and filelists  - update defconfigs and filelists
1362    
1363  * 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
1364  - 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)
1365  - drop merged patch:  - drop merged patch:
1366      * NI01      * NI01
# Line 1234  rm -rf %{buildroot} Line 1373  rm -rf %{buildroot}
1373      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1374  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1375    
1376  * 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
1377  - update to 2.6.37.2  - update to 2.6.37.2
1378  - rediff patch:  - rediff patch:
1379      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS

Legend:
Removed from v.134369  
changed lines
  Added in v.220928

  ViewVC Help
Powered by ViewVC 1.1.30