/[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 75092 by tmb, Sun Mar 20 23:16:11 2011 UTC revision 97433 by tmb, Thu May 12 11:46:46 2011 UTC
# Line 3  Line 3 
3  #  #
4  %define kernelversion   2  %define kernelversion   2
5  %define patchlevel      6  %define patchlevel      6
6  %define sublevel        37  %define sublevel        38
7    
8  # kernel Makefile extraversion is substituted by  # kernel Makefile extraversion is substituted by
9  # kpatch/kgit/kstable wich are either 0 (empty), rc (kpatch),  # kpatch/kgit/kstable wich are either 0 (empty), rc (kpatch),
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         4  %define kstable         6
14    
15  # this is the releaseversion  # this is the releaseversion
16  %define kbuild          1  %define kbuild          1
# Line 134  Line 134 
134  #  #
135  # SRC RPM description  # SRC RPM description
136  #  #
137  Summary:        Linux kernel built for Mandriva with modifications by %{ktag}  Summary:        Linux kernel built for %vendor with modifications by %{ktag}
138  Name:           %{kname}  Name:           %{kname}
139  Version:        %{kversion}  Version:        %{kversion}
140  Release:        %{rpmrel}  Release:        %{rpmrel}
# Line 142  License:       GPLv2 Line 142  License:       GPLv2
142  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
143  ExclusiveArch:  %{ix86} x86_64  ExclusiveArch:  %{ix86} x86_64
144  ExclusiveOS:    Linux  ExclusiveOS:    Linux
145  URL:            http://wiki.mandriva.com/en/Docs/Howto/Mandriva_Kernels#kernel-tmb  URL:            http://www.kernel.org
146    
147  ####################################################################  ####################################################################
148  #  #
# Line 193  Source10:      ftp://ftp.kernel.org/pub/linu Line 193  Source10:      ftp://ftp.kernel.org/pub/linu
193  # Defines for the things that are needed for all the kernels  # Defines for the things that are needed for all the kernels
194  #  #
195  %define common_description_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \  %define common_description_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \
196  Mandriva Linux operating system.  The kernel handles the basic functions \  %vendor Linux operating system.  The kernel handles the basic functions \
197  of the operating system:  memory allocation, process allocation, device \  of the operating system:  memory allocation, process allocation, device \
198  input and output, etc.  input and output, etc.
199    
 %define common_description_info For instructions for update, see:       \  
 http://www.mandriva.com/en/security/kernelupdate                        \  
                                                                         \  
 The %{ktag} kernels is an experimental kernel based on the kernel.org   \  
 kernels with added patches. Some of them may/will never end up in       \  
 the main kernels due to their experimental nature. Some refer to        \  
 this kernel as a 'hackkernel' ...                                       \  
 Use these kernels at your own risk !!  
   
200  ### Global Requires/Provides  ### Global Requires/Provides
201  %define requires1       mkinitrd >= 6.0.92-12  %define requires1       mkinitrd >= 6.0.92-12
202  %define requires2       bootloader-utils >= 1.12-1  %define requires2       bootloader-utils >= 1.12-1
# Line 222  BuildRequires:                 gcc >= 4.0.1-5 module-i Line 213  BuildRequires:                 gcc >= 4.0.1-5 module-i
213  %description  %description
214  %common_description_kernel  %common_description_kernel
215    
 %common_description_info  
   
216    
217  # mkflavour() name flavour processor  # mkflavour() name flavour processor
218  # name: the flavour name in the package name  # name: the flavour name in the package name
# Line 243  Group:         System/Kernel and hardware              \ Line 232  Group:         System/Kernel and hardware              \
232  %description -n %{kname}-%{1}-%{buildrel}               \  %description -n %{kname}-%{1}-%{buildrel}               \
233  %common_description_kernel %{expand:%{info_%(echo %{1})}} \  %common_description_kernel %{expand:%{info_%(echo %{1})}} \
234                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
235  %if %build_devel                                        \  %if %build_devel                                        \
236  %package -n     %{kname}-%{1}-devel-%{buildrel}         \  %package -n     %{kname}-%{1}-devel-%{buildrel}         \
237  Version:        %{fakever}                              \  Version:        %{fakever}                              \
# Line 262  This package contains the kernel-devel f Line 249  This package contains the kernel-devel f
249                                                          \                                                          \
250  If you want to build your own kernel, you need to install the full \  If you want to build your own kernel, you need to install the full \
251  %{kname}-source-%{buildrel} rpm.                        \  %{kname}-source-%{buildrel} rpm.                        \
                                                         \  
 %common_description_info                                \  
252  %endif                                                  \  %endif                                                  \
253                                                          \                                                          \
254  %package -n %{kname}-%{1}-latest                        \  %package -n %{kname}-%{1}-latest                        \
# Line 280  Conflicts:     arch(x86_64)                            \ Line 265  Conflicts:     arch(x86_64)                            \
265  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 \
266  latest %{kname}-%{1} installed...                       \  latest %{kname}-%{1} installed...                       \
267                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
268  %if %build_devel                                        \  %if %build_devel                                        \
269  %package -n %{kname}-%{1}-devel-latest                  \  %package -n %{kname}-%{1}-devel-latest                  \
270  Version:        %{kversion}                             \  Version:        %{kversion}                             \
# Line 296  Conflicts:     arch(x86_64)                            \ Line 279  Conflicts:     arch(x86_64)                            \
279  %description -n %{kname}-%{1}-devel-latest              \  %description -n %{kname}-%{1}-devel-latest              \
280  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 \
281  latest %{kname}-%{1}-devel installed...                 \  latest %{kname}-%{1}-devel installed...                 \
                                                         \  
 %common_description_info                                \  
282  %endif                                                  \  %endif                                                  \
283                                                          \                                                          \
284  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \
# Line 459  build your own custom kernel that is bet Line 440  build your own custom kernel that is bet
440  If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...)  If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...)
441  drivers against, install the *-devel-* rpm that is matching your kernel.  drivers against, install the *-devel-* rpm that is matching your kernel.
442    
 %common_description_info  
443    
444  %post -n %{kname}-source-%{buildrel}  %post -n %{kname}-source-%{buildrel}
445  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do
# Line 497  Conflicts:     arch(x86_64) Line 477  Conflicts:     arch(x86_64)
477  %description -n %{kname}-source-latest  %description -n %{kname}-source-latest
478  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
479  latest %{kname}-source installed...  latest %{kname}-source installed...
   
 %common_description_info  
480  %endif  %endif
481    
482  #  #
# Line 518  Various bits of information about the Li Line 496  Various bits of information about the Li
496  shipped with it are documented in these files. You also might want install  shipped with it are documented in these files. You also might want install
497  this package if you need a reference to the options that can be passed to  this package if you need a reference to the options that can be passed to
498  Linux kernel modules at load time.  Linux kernel modules at load time.
   
 %common_description_info  
499  %endif  %endif
500    
501  #  #
# Line 729  $DevelRoot/include/rdma Line 705  $DevelRoot/include/rdma
705  $DevelRoot/include/rxrpc  $DevelRoot/include/rxrpc
706  $DevelRoot/include/scsi  $DevelRoot/include/scsi
707  $DevelRoot/include/sound  $DevelRoot/include/sound
708    $DevelRoot/include/target
709  $DevelRoot/include/trace  $DevelRoot/include/trace
710  $DevelRoot/include/video  $DevelRoot/include/video
711  $DevelRoot/include/xen  $DevelRoot/include/xen
# Line 858  EOF Line 835  EOF
835  ### Create kernel Postun script on the fly  ### Create kernel Postun script on the fly
836  cat > $kernel_files-postun <<EOF  cat > $kernel_files-postun <<EOF
837  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}  /sbin/kernel_remove_initrd %{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel}
838    rm -rf /lib/modules/%{kversion}-%{ktag}-$kernel_flavour-%{buildrpmrel} > /dev/null
839  EOF  EOF
840  }  }
841    
# Line 1027  rm -rf %{buildroot} Line 1005  rm -rf %{buildroot}
1005  %{_kerneldir}/include/rxrpc  %{_kerneldir}/include/rxrpc
1006  %{_kerneldir}/include/scsi  %{_kerneldir}/include/scsi
1007  %{_kerneldir}/include/sound  %{_kerneldir}/include/sound
1008    %{_kerneldir}/include/target
1009  %{_kerneldir}/include/trace  %{_kerneldir}/include/trace
1010  %{_kerneldir}/include/video  %{_kerneldir}/include/video
1011  %{_kerneldir}/include/xen  %{_kerneldir}/include/xen
# Line 1065  rm -rf %{buildroot} Line 1044  rm -rf %{buildroot}
1044  %endif  %endif
1045    
1046  %changelog  %changelog
1047  * Sun Mar 20 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.4-1mdv  * Thu May 12 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.6-1.mga1
1048    - update to 2.6.38.6
1049    - drop merged patches:
1050        * AX01
1051    - add patches:
1052        * DG20: drm/radeon/kms: add pci id to acer travelmate quirk for 5730
1053        * DG21: drm/radeon/kms: fix gart setup on fusion parts (v2) backport
1054        * DG22: drm/i915/dp: Be paranoid in case we disable a DP before it is attached
1055        * DG23: drm/i915/lvds: Only act on lid notify when the device is on
1056        * DG24: drm/i915: Release object along create user fb error path
1057        * DP30: revert: "dell-laptop: Toggle the unsupported hardware killswitch"
1058                as it causes regressions on existing hw (reported by Colin Guthrie)
1059        * SM02: add support for compressing modules with xz
1060    - clean /lib/modules tree on uninstall
1061    - disable ACPI_PROCFS_POWER as its obsoleted by the sysfs interface
1062    - drop hardcoded vendor references from summarys and descriptions (#1161)
1063    - drop warnings about being experimental kernel
1064    
1065    * Wed May  5 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.5-1.mga1
1066    - update to 2.6.38.5
1067    - add patches:
1068        * AX01: x86, AMD: K8 Rev.A-E processors are subject to erratum 400
1069        * AX05: x86, 32bit: raise default vmalloc area to 192MB (Anssi, #904)
1070        * DN15: r8169: add support for RTL8105E
1071        * DN16: r8169: be verbose when unable to load firmware
1072        * DN20: disable powersaving on rt2800 as it is broken (noted by rtp)
1073        * DP06-DP08: samsung-laptop: add support for N230, R410P
1074        * DP20-DP26: hp-wmi: add support for rfkill on HP Mini 5102 (Anssi)
1075    - update patches:
1076        * FU01: unionfs 2.5.9
1077    - drop patches:
1078        * FU03: unionfs oops fix (obsolete)
1079    - enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX (tv)
1080    
1081    * Sun Apr 24 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.4-1.mga1
1082    - update to 2.6.38.4
1083    - update patches:
1084        * DG10: drm/i915: Fix tiling corruption from pipelined fencing
1085        * NI30, NI31: ipset 6.4
1086    - add patches:
1087        * DA60, DA61: ide/ahci/raid support for Intel Panther Point
1088        * DF01: add old ieee1394 aliases to new firewire stack
1089        * DG11: drm: Retry i2c transfer of EDID block after failure
1090        * DG12: drm/i915/dp: Sanity check eDP existence
1091        * DG13: drm/i915: Restore missing command flush before interrupt on BLT ring
1092        * DG14: drm/i915: Avoid unmapping pages from a NULL address space
1093        * DG15: drm/i915: Enable GPU semaphores by default
1094        * DM01: add dm-raid45 aliases to the new dm-raid target
1095        * DP15: intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
1096    
1097    * Sat Apr 16 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.3-1.mga1
1098    - update to 2.6.38.3
1099    - drop merged patches
1100    
1101    * Mon Apr 11 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.2-2.mga1
1102    - add -stable queue patches (31 fixes)
1103    - update patches:
1104        * CK01: Con Kolivas -ck3 patchset including bfs 0.400
1105        * FR01: reiser4 for 2.6.38 final
1106    - drop patches:
1107        * FR02: reiser4 buildfix (merged)
1108    
1109    * Tue Mar 29 2011 Thomas Backlund <tmb@mandriva.org> 2.6.38.2-1.mga1
1110    - update to 2.6.38.2
1111    - drop merged patches:
1112        * AX01, AX10, FS01-FS03, LD01-LD02 (xz support)
1113        * CK02 (-ck1 patchset buildfix)
1114        * DA01-DA03 (ahci ids)
1115        * DG01-DG02 (gpu fixes)
1116        * DM10-DM14 (dm-raid45, replaced by new dm-raid target)
1117        * DM20 (dm-crypt multicore support)
1118        * DP06 (samsung-laptop buildfix)
1119        * KB01 (headers_install_all export fix)
1120        * SE01 (staging fix)
1121    - rediff patches:
1122        * AI01 (Toshiba Equium A60 fix)
1123        * DV01-DV02 (framebuffer oops and deadlock fixes)
1124        * MB02 (3rdparty merge)
1125    - update patches:
1126        * CK01: Con Kolivas -ck1 patchset including BFS v363
1127        * DP05: update samsung-laptop to the one being merged in
1128                2.6.39 (replaces old samsung-backlight)
1129        * FR01-FR02: reiser4 support
1130        * FU01-FU03: unionfs 2.5.8
1131        * KP01: TuxOnIce
1132        * S2: disable mrproper on -devel rpms
1133    - add patches:
1134        * DA20: acpi video blacklist (needed for shuttle-wmi)
1135        * DG10: drm/i915: Fix pipelined fencing
1136        * DP10: shuttle-wmi support
1137        * MB16: ndiswrapper buildfix
1138    - update defconfigs and filelists
1139    
1140    * Sun Mar 20 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.4-1.mga1
1141  - 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)
1142  - drop merged patch:  - drop merged patch:
1143      * NI01      * NI01
# Line 1078  rm -rf %{buildroot} Line 1150  rm -rf %{buildroot}
1150      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1151  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1152    
1153  * Sat Jan 26 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.2-1mdv  * Sat Jan 26 2011 Thomas Backlund <tmb@mandriva.org> 2.6.37.2-1.mga1
1154  - update to 2.6.37.2  - update to 2.6.37.2
1155  - rediff patch:  - rediff patch:
1156      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS

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

  ViewVC Help
Powered by ViewVC 1.1.30