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 6 |
8 |
|
|
9 |
# Package release |
# Package release |
10 |
%define mgarel 1 |
%define mgarel 2 |
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) |
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} |
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} |
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 |
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-9 |
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 |
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... |
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/ |
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 |
|
|
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 |
|
|
1063 |
%endif |
%endif |
1064 |
|
|
1065 |
%changelog |
%changelog |
1066 |
|
* Thu May 17 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-2.mga2 |
1067 |
|
- revert switching server kernels to SLAB allocator at it fails to boot |
1068 |
|
with BFS scheduler (reported/confirmed by Charles A Edwards.on -dev ml) |
1069 |
|
- add patches: |
1070 |
|
* DN25: ipw2x00: add support for nl80211 clients like Network Manager (#5720) |
1071 |
|
* DS20: ALSA: echoaudio: Remove incorrect part of assertion |
1072 |
|
* DS21: ALSA: HDA: Lessen CPU usage when waiting for chip to respond |
1073 |
|
* DS22: ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo |
1074 |
|
* DS23: ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops |
1075 |
|
|
1076 |
|
* Sat May 12 2012 Thomas Backlund <tmb@mageia.org> 3.3.6-1.mga2 |
1077 |
|
- update to 3.3.6 |
1078 |
|
- drop merged patches: |
1079 |
|
* AA01-AA32: stable queue fixes |
1080 |
|
* DP10-DP13: samsung-laptop dmitable addons |
1081 |
|
- switch server kernels back to SLAB allocator as it performs better |
1082 |
|
on bigger server hardware and workloads |
1083 |
|
|
1084 |
|
* Thu May 10 2012 Thomas Backlund <tmb@mageia.org> 3.3.5-1.mga2 |
1085 |
|
- update to 3.3.5 |
1086 |
|
- drop merged patches: |
1087 |
|
* DN15-DN17: iwlwifi fixes |
1088 |
|
- add patches from stable queue |
1089 |
|
* AA01-AA32: fixes all over |
1090 |
|
|
1091 |
|
* Sat Apr 28 2012 Thomas Backlund <tmb@mageia.org> 3.3.4-1.mga2 |
1092 |
|
- update to 3.3.4 |
1093 |
|
- require dracut >= 017-9 |
1094 |
|
- add patches: |
1095 |
|
* DN16: iwlwifi: use 6000G2B for 6030 device series |
1096 |
|
* DN17: iwlwifi: fix hardware queue programming |
1097 |
|
|
1098 |
|
* Mon Apr 23 2012 Thomas Backlund <tmb@mageia.org> 3.3.3-1.mga2 |
1099 |
|
- update to 3.3.3 |
1100 |
|
- add patches: |
1101 |
|
* BF01: floppy: disable pnp autoloading |
1102 |
|
* DN10: ath5k: do not stop queues for full calibration |
1103 |
|
* DN11: ath5k: do not re-run AGC calibration periodically |
1104 |
|
* DN15: iwlwifi: use correct released ucode version |
1105 |
|
- update patch: |
1106 |
|
* KP01: TuxOnIce 3.2.1 for kernel-3.3 |
1107 |
|
|
1108 |
|
* Tue Apr 03 2012 Thomas Backlund <tmb@mageia.org> 3.3.1-1.mga2 |
1109 |
|
- update to 3.3.1 |
1110 |
|
- drop merged patches: |
1111 |
|
* DM51, SR01-SR03 |
1112 |
|
- update patch: |
1113 |
|
* CK01: -ck1 patchset including BFS v0.420 |
1114 |
|
- add patches: |
1115 |
|
* DA50: ata: prefer ata drivers over ide drivers when both are built (Anssi) |
1116 |
|
* DA60-DA61: ata: add ide/ahci/raid mode support for Intel Lynx Point chipset |
1117 |
|
* DG01-DG04: drm: add upstream drm changes to support gpu driver backports |
1118 |
|
* DG20, DG21: drm/radeon: backport support for Southern Islands (HD7xxx) |
1119 |
|
GPUs and Trinity APUs |
1120 |
|
* DG40-DG44: drm/nouveau: backport Kepler (GTX6xx) support |
1121 |
|
* DG60: drm/i915: add Ivy Bridge GT2 Server entries |
1122 |
|
- update defconfigs |
1123 |
|
|
1124 |
|
* Mon Mar 19 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-1.mga2 |
1125 |
|
- update to 3.3 final |
1126 |
|
- add patches: |
1127 |
|
* DM50: media: fix initialization on Hauppauge WinTV Nova HD-S2 |
1128 |
|
and similar hardware |
1129 |
|
* DM51: media/tda10071: correct delivery system to DVB-S/S2 |
1130 |
|
- update defconfigs |
1131 |
|
|
1132 |
|
* Sun Mar 11 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc7.1.mga2 |
1133 |
|
- update to 3.3-rc7 |
1134 |
|
|
1135 |
|
* Wed Mar 7 2012 Thomas Backlund <tmb@mageia.org> 3.3.0-0.rc6.1.mga2 |
1136 |
|
- update to 3.3-rc6 |
1137 |
|
- update patches: |
1138 |
|
* FU01: unionfs 2.5.11 |
1139 |
|
* MB10, MB13, MB14: ndiswrapper 1.57 |
1140 |
|
- rediff patches: |
1141 |
|
* NI15, NI16: netfilter psd support |
1142 |
|
* patch disabling mrproper in -devel rpms |
1143 |
|
- disable patch: |
1144 |
|
* CK01: -ck1 patchset including BFS sceduler (needs update to 3.3 series) |
1145 |
|
- update defconfigs |
1146 |
|
- update filelists |
1147 |
|
|
1148 |
|
* Thu Mar 1 2012 Thomas Backlund <tmb@mageia.org> 3.2.9-1.mga2 |
1149 |
|
- update to 3.2.9 |
1150 |
|
- require dracut >= 017-1 |
1151 |
|
- drop merged patches: |
1152 |
|
* DG01, DP01, DU01, NM01 |
1153 |
|
- add patches: |
1154 |
|
* SR01-SR03: fix nonworking r8172u wireless driver in staging (#4491) |
1155 |
|
|
1156 |
|
* Sat Feb 25 2012 Thomas Backlund <tmb@mageia.org> 3.2.7-1.mga2 |
1157 |
|
- update to 3.2.7 |
1158 |
|
- drop merged patches AA01-AA28 |
1159 |
|
- add patches: |
1160 |
|
* DG01: drm/radeon/kms: fix MSI re-arm on rv370+ |
1161 |
|
* DP01: PCI: workaround hard-wired bus number |
1162 |
|
* DS20, DS21: fix nonworking r8172u wireless driver in staging (#4491) |
1163 |
|
* DU01: xhci: Fix oops caused by more USB2 ports than USB3 ports |
1164 |
|
* NM01: mac80211: Fix a rwlock bad magic bug |
1165 |
|
|
1166 |
|
* Thu Feb 16 2012 Thomas Backlund <tmb@mageia.org> 3.2.6-1.mga2 |
1167 |
|
- update to 3.2.6 |
1168 |
|
- add current stable queue (28 fixes, AA01-AA28) |
1169 |
|
- require dracut >= 016-1 for xz compressed modules support and |
1170 |
|
other needed fixes |
1171 |
|
- compress modules with xz |
1172 |
|
|
1173 |
* 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 |
1174 |
- update to 3.2.5 |
- update to 3.2.5 |
1175 |
- drop merged patch |
- drop merged patch |