/[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 312001 by tmb, Thu Nov 1 09:41:37 2012 UTC revision 412659 by tmb, Wed May 8 20:04:39 2013 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      6  %define patchlevel      8
6  # sublevel is now used for -stable patches  # sublevel is now used for -stable patches
7  %define sublevel        5  %define sublevel        12
8    
9  # Package release  # Package release
10  %define mgarel          2  %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)
# Line 82  Line 82 
82  %define build_devel             1  %define build_devel             1
83  %define build_debug             0  %define build_debug             0
84    
85    # xz compress modules
86    %define build_modxz             1
87    
88  # Build desktop586 (i586 / 4GB)  # Build desktop586 (i586 / 4GB)
89  %ifarch %{ix86}  %ifarch %{ix86}
90  %define build_desktop586        1  %define build_desktop586        1
# Line 654  SaveDevel() { Line 657  SaveDevel() {
657          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/
658    
659          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)
660          cp -fR drivers/media/video/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/video/bt8xx/          cp -fR drivers/media/pci/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/pci/bt8xx/
661          cp -fR drivers/media/video/bt8xx/bt848.h $TempDevelRoot/drivers/media/video/bt8xx/          cp -fR drivers/media/pci/bt8xx/bt848.h $TempDevelRoot/drivers/media/pci/bt8xx/
662          cp -fR drivers/media/video/btcx-risc.h $TempDevelRoot/drivers/media/video/          cp -fR drivers/media/i2c/btcx-risc.h $TempDevelRoot/drivers/media/i2c/
663    
664          # Needed for external dvb tree (#41418)          # Needed for external dvb tree (#41418)
665          cp -fR drivers/media/dvb/dvb-core/*.h $TempDevelRoot/drivers/media/dvb/dvb-core/          cp -fR drivers/media/dvb-core/*.h $TempDevelRoot/drivers/media/dvb-core/
666          cp -fR drivers/media/dvb/frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb/frontends/          cp -fR drivers/media/dvb-frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb-frontends/
667    
668          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
669          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
670    
671          for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \          for i in alpha arm arm26 arm64 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
672                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
673                   powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do                   powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
674                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
# Line 712  $DevelRoot/fs Line 715  $DevelRoot/fs
715  $DevelRoot/include/Kbuild  $DevelRoot/include/Kbuild
716  $DevelRoot/include/acpi  $DevelRoot/include/acpi
717  $DevelRoot/include/asm-generic  $DevelRoot/include/asm-generic
718    $DevelRoot/include/clocksource
719  $DevelRoot/include/config  $DevelRoot/include/config
720  $DevelRoot/include/crypto  $DevelRoot/include/crypto
721  $DevelRoot/include/drm  $DevelRoot/include/drm
# Line 722  $DevelRoot/include/math-emu Line 726  $DevelRoot/include/math-emu
726  $DevelRoot/include/media  $DevelRoot/include/media
727  $DevelRoot/include/memory  $DevelRoot/include/memory
728  $DevelRoot/include/misc  $DevelRoot/include/misc
 $DevelRoot/include/mtd  
729  $DevelRoot/include/net  $DevelRoot/include/net
730  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
731  $DevelRoot/include/ras  $DevelRoot/include/ras
# Line 732  $DevelRoot/include/scsi Line 735  $DevelRoot/include/scsi
735  $DevelRoot/include/sound  $DevelRoot/include/sound
736  $DevelRoot/include/target  $DevelRoot/include/target
737  $DevelRoot/include/trace  $DevelRoot/include/trace
738    $DevelRoot/include/uapi
739  $DevelRoot/include/video  $DevelRoot/include/video
740  $DevelRoot/include/xen  $DevelRoot/include/xen
741  $DevelRoot/init  $DevelRoot/init
# Line 952  chmod -R a+rX %{target_source} Line 956  chmod -R a+rX %{target_source}
956    
957  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
958  # first architecture files  # first architecture files
959  for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \  for i in alpha arm arm26 arm64 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
960           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \
961           powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do           powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
962          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
# Line 969  rm -rf %{target_source}/.tmp_depmod/ Line 973  rm -rf %{target_source}/.tmp_depmod/
973  #endif %build_source  #endif %build_source
974  %endif  %endif
975    
976    # compressing modules
977    %if %{build_modxz}
978    find %{target_modules} -name "*.ko" | %kxargs xz -6e
979    %else
980    find %{target_modules} -name "*.ko" | %kxargs gzip -9
981    %endif
982    
983  # We used to have a copy of PrepareKernel here  # We used to have a copy of PrepareKernel here
984  # Now, we make sure that the thing in the linux dir is what we want it to be  # Now, we make sure that the thing in the linux dir is what we want it to be
985  for i in %{target_modules}/*; do  for i in %{target_modules}/*; do
986      rm -f $i/build $i/source          rm -f $i/build $i/source
987  done  done
988    
989  # Create modules.description  # sniff, if we compressed all the modules, we change the stamp :(
990    # we really need the depmod -ae here
991  pushd %{target_modules}  pushd %{target_modules}
992  for i in *; do  for i in *; do
993          pushd $i          /sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i
994          echo "Creating modules.description for $i"          echo $?
995          modules=`find . -name "*.ko.gz"`  done
996          echo $modules | %kxargs /sbin/modinfo \  
997          | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description  # create modules.description
998          popd  for i in *; do
999            pushd $i
1000            echo "Creating modules.description for $i"
1001            modules=`find . -name "*.ko.[g,x]z"`
1002            echo $modules | %kxargs /sbin/modinfo \
1003            | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description
1004            popd
1005  done  done
1006  popd  popd
1007    
# Line 1016  popd Line 1034  popd
1034  %{_kerneldir}/include/Kbuild  %{_kerneldir}/include/Kbuild
1035  %{_kerneldir}/include/acpi  %{_kerneldir}/include/acpi
1036  %{_kerneldir}/include/asm-generic  %{_kerneldir}/include/asm-generic
1037    %{_kerneldir}/include/clocksource
1038  %{_kerneldir}/include/crypto  %{_kerneldir}/include/crypto
1039  %{_kerneldir}/include/drm  %{_kerneldir}/include/drm
1040  %{_kerneldir}/include/keys  %{_kerneldir}/include/keys
# Line 1024  popd Line 1043  popd
1043  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1044  %{_kerneldir}/include/memory  %{_kerneldir}/include/memory
1045  %{_kerneldir}/include/misc  %{_kerneldir}/include/misc
 %{_kerneldir}/include/mtd  
1046  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1047  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
1048  %{_kerneldir}/include/ras  %{_kerneldir}/include/ras
# Line 1034  popd Line 1052  popd
1052  %{_kerneldir}/include/sound  %{_kerneldir}/include/sound
1053  %{_kerneldir}/include/target  %{_kerneldir}/include/target
1054  %{_kerneldir}/include/trace  %{_kerneldir}/include/trace
1055    %{_kerneldir}/include/uapi
1056  %{_kerneldir}/include/video  %{_kerneldir}/include/video
1057  %{_kerneldir}/include/xen  %{_kerneldir}/include/xen
1058  %{_kerneldir}/init  %{_kerneldir}/init
# Line 1069  popd Line 1088  popd
1088  %endif  %endif
1089    
1090  %changelog  %changelog
1091    * Wed May  8 2013 Thomas Backlund <tmb@mageia.org> 3.8.12-1.mga3
1092    - update to 3.8.12
1093    - update patches:
1094      * DN01-DN03: alx ethernet support including BigFoot e2200
1095    - add patches:
1096      * DG11: drm/cirrus: Correct register values for 16bpp
1097      * DG12: drm/cirrus: deal with bo reserve fail in dirty update path
1098      * DG21: Fix detection of base of stolen memory
1099      * DG22: Use MLC (l3$) for context objects
1100      * DG23: Add no-lvds quirk for Fujitsu Esprimo Q900
1101      * DG24: Fixup Oops in the pipe config computation
1102      * DG25: set CPT FDI RX polarity bits based on VBT
1103      * DN21: carl9170: fix frame drop and WARN due to minstrel_ht change
1104      * DN22: carl9170: remove fast channel change feature (unreliable)
1105    - drop merged patches:
1106      * AA01: TTY fix
1107      * DN04: alx fix
1108    
1109    * Wed May  1 2013 Thomas Backlund <tmb@mageia.org> 3.8.11-1.mga3
1110    - update to 3.8.11
1111    - drop merged patches:
1112      * AA01-AA03: stable queue fixes
1113    - add patch:
1114      * DT01: tty: fix up atime/mtime mess, take three (Linus, upstream)
1115    
1116    * Sat Apr 27 2013 Thomas Backlund <tmb@mageia.org> 3.8.10-1.mga3
1117    - update to 3.8.10
1118    - drop merged / obsolete patches:
1119      * AA01-AA20: 3.8.6+ stable fixes (merged)
1120      * DP01: disable-aspm-link check for ath5k (obsolete)
1121    - add patches:
1122      * AA01: aio: fix possible invalid memory access when DEBUG is enabled
1123      * AA02: TTY: do not update atime/mtime on read/write (CVE-2013-0160)
1124      * AA03: TTY: fix atime/mtime regression
1125      * BD01: block: fix max discard sectors limit
1126      * DG01: drm/radeon: don't use get_engine_clock() on APUs (mga #8077, fdo #62493)
1127      * DG02: drm/radeon: add some new SI PCI ids
1128      * DG03: drm/radeon: add new richland pci ids
1129      * DI10-DI12: intel_idle: add Haswell support
1130    - make EFI_VARS builtin on x86_64
1131    - set DEFAULT_NLS to utf8
1132    
1133    * Sun Apr  7 2013 Thomas Backlund <tmb@mageia.org> 3.8.6-1.mga3
1134    - update to 3.8.6
1135    - update patches:
1136      * CK01: -ck patchset inclunding BFS 0.428
1137      * DN01-DN02: alx ethernet driver
1138      * F01-F13: overlayfs
1139      * KP01: TuxOnIce 3.3
1140      * MB10: ndiswrapper 1.58
1141    - drop merged/obsolete patches:
1142      * AA01-AA16: stable queue fixes for 3.6 series
1143      * CK02: BFS boot fix
1144      * DM50: DVB-S builfix
1145      * DM60: rttrack buildfix
1146      * MB13, MB14: ndiswrapper buildfixes
1147    - add patches:
1148      * AA01-AA20: 3.8 -stable queue fixes
1149      * DI01: Intel Wellsburg PCH i2c support
1150      * DM10: Intel Wellsburg PCH lpc support
1151      * DN03-DN04: alx buildfixes
1152      * DN10: net: asix: init ASIX AX88772B MAC from EEPROM
1153      * DN11: net: asix: handle packets crossing URB boundaries
1154      * DN12: usb/net/asix_devices: Add USBNET HG20F9 ethernet dongle (coling)
1155      * DN13: asix cleanup
1156      * DN14: net: ax88179_178a: add ASIX AX88179_178A USB 3.0/2.0 to gigabit
1157              ethernet adapter support
1158      * DP01: PCI: Remove not needed check in disable aspm link (fixes ath5k)
1159      * DS10: Intel Wellsburg PCH alsa support
1160      * FR01: Reiser4 support
1161    - update defconfigs
1162    
1163    * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-3.mga3
1164    - add patch:
1165      * DN01, DN02: alx network driver
1166    
1167  * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-2.mga3  * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-2.mga3
1168  - add patch:  - add patch:
1169    * CK02: fix some booting issues with BFS sceduler    * CK02: fix some booting issues with BFS sceduler
# Line 1571  popd Line 1666  popd
1666      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1667  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1668    
1669  * Sat Jan 26 2011 Thomas Backlund <tmb@mageia.org> 2.6.37.2-1.mga1  * Sat Jan 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.37.2-1.mga1
1670  - update to 2.6.37.2  - update to 2.6.37.2
1671  - rediff patch:  - rediff patch:
1672      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS
# Line 1865  popd Line 1960  popd
1960              (fixes a regression and improves writeback ~3 times on big files)              (fixes a regression and improves writeback ~3 times on big files)
1961      * NI01: netfilter: fix CONFIG_COMPAT support      * NI01: netfilter: fix CONFIG_COMPAT support
1962    
1963  * Fri Aug 26 2010 Thomas Backlund <tmb@mandriva.org> 2.6.35.4-1mdv  * Fri Aug 27 2010 Thomas Backlund <tmb@mandriva.org> 2.6.35.4-1mdv
1964  - update to 2.6.35.4 (CVE-2010-2803)  - update to 2.6.35.4 (CVE-2010-2803)
1965    * drop merged patches:    * drop merged patches:
1966        AX01, FS20        AX01, FS20

Legend:
Removed from v.312001  
changed lines
  Added in v.412659

  ViewVC Help
Powered by ViewVC 1.1.30