/[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 206041 by tmb, Tue Feb 7 16:37:45 2012 UTC revision 224401 by tmb, Mon Mar 19 15:57:44 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      2  %define patchlevel      3
6  # sublevel is now used for -stable patches  # sublevel is now used for -stable patches
7  %define sublevel        5  %define sublevel        0
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 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       dracut >= 014-15  %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.16-14  %define requires3       sysfsutils >= 1.3.0-1 module-init-tools >= 3.16-14
221  %define requires4       kernel-firmware >= 20111229-1  %define requires4       kernel-firmware >= 20111229-1
# Line 563  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 648  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 675  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 hexagon ia64 microblaze mips m32r m68k \          for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
667                   m68knommu mn10300 openrisc parisc powerpc ppc s390 sh sh64 score sparc tile \                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
668                   unicore32 v850 xtensa; do                   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 960  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 hexagon ia64 microblaze mips m32r m68k \  for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
952           m68knommu mn10300 openrisc parisc powerpc ppc s390 sh sh64 score sparc tile \           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
953           v850 xtensa unicore32; do           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 1075  popd Line 1063  popd
1063  %endif  %endif
1064    
1065  %changelog  %changelog
1066    * Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2
1067    - update to 3.3 final
1068    - add patches:
1069        * DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2
1070                and similar hardware
1071        * DM51: media/tda10071: correct delivery system to DVB-S/S2
1072    - update defconfigs
1073    
1074    * Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2
1075    - update to 3.3-rc7
1076    
1077    * Wed Mar  7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2
1078    - update to 3.3-rc6
1079    - update patches:
1080        * FU01: unionfs 2.5.11
1081        * MB10, MB13, MB14: ndiswrapper 1.57
1082    - rediff patches:
1083        * NI15, NI16: netfilter psd support
1084        * patch disabling mrproper in -devel rpms
1085    - disable patch:
1086        * CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series)
1087    - update defconfigs
1088    - update filelists
1089    
1090    * Thu Mar  1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2
1091    - update to 3.2.9
1092    - require dracut >= 017-1
1093    - drop merged patches:
1094        * DG01, DP01, DU01, NM01
1095    - add patches:
1096        * SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491)
1097    
1098    * Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2
1099    - update to 3.2.7
1100    - drop merged patches AA01-AA28
1101    - add patches:
1102        * DG01: drm/radeon/kms: fix MSI re-arm on rv370+
1103        * DP01: PCI: workaround hard-wired bus number
1104        * DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491)
1105        * DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports
1106        * NM01: mac80211: Fix a rwlock bad magic bug
1107    
1108    * Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2
1109    - update to 3.2.6
1110    - add current stable queue (28 fixes, AA01-AA28)
1111    - require dracut >= 016-1 for xz compressed modules support and
1112      other needed fixes
1113    - compress modules with xz
1114    
1115  * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2  * Tue Feb  7 2012 Thomas Backlund <tmb@mageia.org> 3.2.5-1.mga2
1116  - update to 3.2.5  - update to 3.2.5
1117  - drop merged patch  - drop merged patch

Legend:
Removed from v.206041  
changed lines
  Added in v.224401

  ViewVC Help
Powered by ViewVC 1.1.30