/[packages]/cauldron/kernel-tmb/current/SPECS/kernel-tmb.spec
ViewVC logotype

Diff of /cauldron/kernel-tmb/current/SPECS/kernel-tmb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 95167 by tmb, Thu May 5 16:50:36 2011 UTC revision 110087 by tmb, Sun Jun 19 20:28:48 2011 UTC
# Line 10  Line 10 
10  # git (kgit, only the number after "git"), or stable release (kstable)  # git (kgit, only the number after "git"), or stable release (kstable)
11  %define kpatch          0  %define kpatch          0
12  %define kgit            0  %define kgit            0
13  %define kstable         5  %define kstable         8
14    
15  # this is the releaseversion  # this is the releaseversion
16  %define kbuild          1  %define kbuild          1
# Line 18  Line 18 
18  %define ktag            tmb  %define ktag            tmb
19  %define kname           kernel-%{ktag}  %define kname           kernel-%{ktag}
20    
21  %define rpmtag          %distsuffix  %define rpmtag          %{distsuffix}%{mgaver}
22  %if %kpatch  %if %kpatch
23  %if %kgit  %if %kgit
24  %define rpmrel          %mkrel 0.%{kpatch}.%{kgit}.%{kbuild}  %define rpmrel          %mkrel 0.%{kpatch}.%{kgit}.%{kbuild}
# Line 97  Line 97 
97  # Build server (i686 / 64GB)/x86_64  # Build server (i686 / 64GB)/x86_64
98  %define build_server            1  %define build_server            1
99    
100    # compress modules with xz
101    %define build_modxz             0
102    
103  # End of user definitions  # End of user definitions
104  %{?_without_desktop586: %global build_desktop586 0}  %{?_without_desktop586: %global build_desktop586 0}
105  %{?_without_desktop: %global build_desktop 0}  %{?_without_desktop: %global build_desktop 0}
# Line 107  Line 110 
110  %{?_without_source: %global build_source 0}  %{?_without_source: %global build_source 0}
111  %{?_without_devel: %global build_devel 0}  %{?_without_devel: %global build_devel 0}
112  %{?_without_debug: %global build_debug 0}  %{?_without_debug: %global build_debug 0}
113    %{?_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 117  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}
124    %{?_with_modxz: %global build_modxz 1}
125    
126  # For the .nosrc.rpm  # For the .nosrc.rpm
127  %define build_nosrc     0  %define build_nosrc     0
# Line 535  cd %src_dir Line 540  cd %src_dir
540  %define debug --no-debug  %define debug --no-debug
541  %endif  %endif
542    
543    # enable xz module compression
544    %if %build_modxz
545    sed -i  's/^CONFIG_MODULE_COMPRESS_GZIP=y/# CONFIG_MODULE_COMPRESS_GZIP is not set/' \
546            %{patches_dir}/configs/*.config
547    sed -i  's/^# CONFIG_MODULE_COMPRESS_XZ is not set/CONFIG_MODULE_COMPRESS_XZ=y/' \
548            %{patches_dir}/configs/*.config
549    %endif
550    
551  %{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}"  %{patches_dir}/scripts/create_configs %debug --user_cpu="%{_arch}"
552    
553  # make sure the kernel has the sublevel we know it has...  # make sure the kernel has the sublevel we know it has...
# Line 835  EOF Line 848  EOF
848  ### Create kernel Postun script on the fly  ### Create kernel Postun script on the fly
849  cat > $kernel_files-postun <<EOF  cat > $kernel_files-postun <<EOF
850  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
851    rm -rf /lib/modules/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} > /dev/null
852  EOF  EOF
853  }  }
854    
# Line 1043  rm -rf %{buildroot} Line 1057  rm -rf %{buildroot}
1057  %endif  %endif
1058    
1059  %changelog  %changelog
1060    * Sun Jun 19 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.8-1.mga1
1061    - update to 2.6.38.8 (CVE-2011-1017)
1062    - drop merged patches:
1063        * AA01, DP15
1064    - add patches:
1065        * CK02: update bfs scheduler to 0.406
1066        * MK01: ksm: fix race between ksmd and exiting task (CVE-2011-2183)
1067    - add mgaver to 'uname -r'
1068    
1069    * Sun May 22 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.7-1.mga1
1070    - update to 2.6.38.7 (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927)
1071    - drop merged patches:
1072        * DG20-DG24
1073    - update patches:
1074        * FU01, FU03: rollback unionfs to a working 2.5.8
1075    - add patches:
1076        * AA01: block: rescan partitions on invalidated devices on -ENOMEDIA too
1077        * DN17: r8169: add a new chip for RTL8105
1078        * DN18: r8169: add a new chip for RTL8168DP
1079        * DN19: r8169: add support for RTL8168E/RTL8111E
1080    
1081    * Wed May 18 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-2.mga1
1082    - disable xz module compression again as not all tools/utils can cope
1083      with it (can be enabled with '--with modxz' buildtime flag)
1084    
1085    * Thu May 12 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-1.mga1
1086    - enable xz module compression on 2011.0
1087    - update to 2.6.38.6
1088    - drop merged patches:
1089        * AX01
1090    - add patches:
1091        * DG20: drm/radeon/kms: add pci id to acer travelmate quirk for 5730
1092        * DG21: drm/radeon/kms: fix gart setup on fusion parts (v2) backport
1093        * DG22: drm/i915/dp: Be paranoid in case we disable a DP before it is attached
1094        * DG23: drm/i915/lvds: Only act on lid notify when the device is on
1095        * DG24: drm/i915: Release object along create user fb error path
1096        * DP30: revert: "dell-laptop: Toggle the unsupported hardware killswitch"
1097                as it causes regressions on existing hw (reported by Colin Guthrie)
1098        * SM02: add support for compressing modules with xz
1099    - clean /lib/modules tree on uninstall
1100    - disable ACPI_PROCFS_POWER as its obsoleted by the sysfs interface
1101    - drop hardcoded vendor references from summarys and descriptions (#1161)
1102    - drop warnings about being experimental kernel
1103    
1104  * Wed May  5 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.5-1.mga1  * Wed May  5 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.5-1.mga1
1105  - update to 2.6.38.5  - update to 2.6.38.5
1106  - add patches:  - add patches:

Legend:
Removed from v.95167  
changed lines
  Added in v.110087

  ViewVC Help
Powered by ViewVC 1.1.30