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 4 |
%define patchlevel 8 |
6 |
# sublevel is now used for -stable patches |
# sublevel is now used for -stable patches |
7 |
%define sublevel 1 |
%define sublevel 6 |
8 |
|
|
9 |
# Package release |
# Package release |
10 |
%define mgarel 1 |
%define mgarel 1 |
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 |
226 |
%define kprovides %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88 |
%define kprovides %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88 |
227 |
|
|
228 |
Autoreqprov: no |
Autoreqprov: no |
229 |
BuildRequires: gcc >= 4.0.1-5 module-init-tools >= 3.16-14 |
BuildRequires: gcc >= 4.0.1-5 kmod >= 7-6 |
230 |
|
|
231 |
%description |
%description |
232 |
%common_description_kernel |
%common_description_kernel |
504 |
Version: %{kversion} |
Version: %{kversion} |
505 |
Release: %{rpmrel} |
Release: %{rpmrel} |
506 |
Summary: Various documentation bits found in the %{kname} source |
Summary: Various documentation bits found in the %{kname} source |
507 |
Group: Books/Computer books |
Group: Documentation |
508 |
Buildarch: noarch |
Buildarch: noarch |
509 |
|
|
510 |
%description -n %{kname}-doc |
%description -n %{kname}-doc |
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/video/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/video/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/video/ |
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/dvb-core/ |
666 |
cp -fR drivers/media/dvb/frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb/frontends/ |
cp -fR drivers/media/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 |
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 |
724 |
$DevelRoot/include/linux |
$DevelRoot/include/linux |
725 |
$DevelRoot/include/math-emu |
$DevelRoot/include/math-emu |
726 |
$DevelRoot/include/media |
$DevelRoot/include/media |
727 |
|
$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 |
732 |
$DevelRoot/include/rdma |
$DevelRoot/include/rdma |
733 |
$DevelRoot/include/rxrpc |
$DevelRoot/include/rxrpc |
734 |
$DevelRoot/include/scsi |
$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 |
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 arm64avr32 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 |
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 |
|
|
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 |
1041 |
%{_kerneldir}/include/linux |
%{_kerneldir}/include/linux |
1042 |
%{_kerneldir}/include/math-emu |
%{_kerneldir}/include/math-emu |
1043 |
%{_kerneldir}/include/media |
%{_kerneldir}/include/media |
1044 |
|
%{_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 |
1049 |
%{_kerneldir}/include/rdma |
%{_kerneldir}/include/rdma |
1050 |
%{_kerneldir}/include/rxrpc |
%{_kerneldir}/include/rxrpc |
1051 |
%{_kerneldir}/include/scsi |
%{_kerneldir}/include/scsi |
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 |
1088 |
%endif |
%endif |
1089 |
|
|
1090 |
%changelog |
%changelog |
1091 |
* Mon Jun 4 2012 Thomas Backlund <tmb@mageia.org> 3.4.1-1.mga2 |
* Sun Apr 7 2013 Thomas Backlund <tmb@mageia.org> 3.8.6-1.mga3 |
1092 |
|
- update to 3.8.6 |
1093 |
|
- update patches: |
1094 |
|
* CK01: -ck patchset inclunding BFS 0.428 |
1095 |
|
* DN01-DN02: alx ethernet driver |
1096 |
|
* F01-F13: overlayfs |
1097 |
|
* KP01: TuxOnIce 3.3 |
1098 |
|
* MB10: ndiswrapper 1.58 |
1099 |
|
- drop merged/obsolete patches: |
1100 |
|
* AA01-AA16: stable queue fixes for 3.6 series |
1101 |
|
* CK02: BFS boot fix |
1102 |
|
* DM50: DVB-S builfix |
1103 |
|
* DM60: rttrack buildfix |
1104 |
|
* MB13, MB14: ndiswrapper buildfixes |
1105 |
|
- add patches: |
1106 |
|
* AA01-AA20: 3.8 -stable queue fixes |
1107 |
|
* DI01: Intel Wellsburg PCH i2c support |
1108 |
|
* DM10: Intel Wellsburg PCH lpc support |
1109 |
|
* DN03-DN04: alx buildfixes |
1110 |
|
* DN10: net: asix: init ASIX AX88772B MAC from EEPROM |
1111 |
|
* DN11: net: asix: handle packets crossing URB boundaries |
1112 |
|
* DN12: usb/net/asix_devices: Add USBNET HG20F9 ethernet dongle (coling) |
1113 |
|
* DN13: asix cleanup |
1114 |
|
* DN14: net: ax88179_178a: add ASIX AX88179_178A USB 3.0/2.0 to gigabit |
1115 |
|
ethernet adapter support |
1116 |
|
* DP01: PCI: Remove not needed check in disable aspm link (fixes ath5k) |
1117 |
|
* DS10: Intel Wellsburg PCH alsa support |
1118 |
|
* FR01: Reiser4 support |
1119 |
|
- update defconfigs |
1120 |
|
|
1121 |
|
* Thu Nov 1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-3.mga3 |
1122 |
|
- add patch: |
1123 |
|
* DN01, DN02: alx network driver |
1124 |
|
|
1125 |
|
* Thu Nov 1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-2.mga3 |
1126 |
|
- add patch: |
1127 |
|
* CK02: fix some booting issues with BFS sceduler |
1128 |
|
|
1129 |
|
* Thu Nov 1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-1.mga3 |
1130 |
|
- update to 3.6.5 |
1131 |
|
- move -doc to Documentation group |
1132 |
|
- add patches: |
1133 |
|
* AA01-AA16: stable queue fixes |
1134 |
|
* FE01: ext4: fix unjournaled inode bitmap modification |
1135 |
|
(fixes possible data corruption bug) |
1136 |
|
* NI14: ipt_IFWLOG buildfix |
1137 |
|
- update patches: |
1138 |
|
* CK01: -ck1 patchset |
1139 |
|
* FO01-FO13: overlayfs |
1140 |
|
* KP01: TyxOnIce |
1141 |
|
- disable patches: |
1142 |
|
* DA20: acpi shuttle-wmi video blacklist (broken) |
1143 |
|
- enable ZRAM support |
1144 |
|
- update filelists |
1145 |
|
- update defconfigs |
1146 |
|
|
1147 |
|
* Sat Sep 15 2012 Thomas Backlund <tmb@mageia.org> 3.5.4-1.mga3 |
1148 |
|
- update to 3.5.4 |
1149 |
|
- drop merged patches: |
1150 |
|
* AA01-AA85, FE01, FU01 |
1151 |
|
|
1152 |
|
* Tue Sep 11 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-2.mga3 |
1153 |
|
- add patches: |
1154 |
|
* AA01-AA85: stable queue fixes |
1155 |
|
* FO01-FO13: overlayfs support (from ubuntu) |
1156 |
|
* FE01: ext3: Fix fdatasync() for files with only i_size changes (mga #7343) |
1157 |
|
* FU01: udf: Fix data corruption for files in ICB |
1158 |
|
- drop patches: |
1159 |
|
* FU01-FU04: unionfs support (broken) |
1160 |
|
- update defconfigs |
1161 |
|
|
1162 |
|
* Mon Aug 27 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-1.mga3 |
1163 |
|
- update to 3.5.3 |
1164 |
|
|
1165 |
|
* Thu Aug 16 2012 Thomas Backlund <tmb@mageia.org> 3.5.2-1.mga3 |
1166 |
|
- update to 3.5.2 |
1167 |
|
- update patches: |
1168 |
|
* CK01: ck1 patchset for 3.5 series kernels including BFS 0.424 |
1169 |
|
* KP01: TuxOnIce 3.3 for 3.5 series kernels |
1170 |
|
- drop merged patches: |
1171 |
|
* AA01-AA13: (stable queue fixes) |
1172 |
|
* BS01: silencing useless scsi ioctl warnings |
1173 |
|
* CK02: BFS buildfix |
1174 |
|
- add patches: |
1175 |
|
* FU03, FU04: unionfs buildfixes for 3.5 series kernels |
1176 |
|
- update filelists |
1177 |
|
- update defconfigs |
1178 |
|
|
1179 |
|
* Sat Jul 21 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-2.mga3 |
1180 |
|
- make CONFIG_ATA_PIIX, CONFIG_BLK_DEV_SD and CONFIG_CRC_T10DIF |
1181 |
|
builtin too, so it actually can boot without initrd |
1182 |
|
- disable CONFIG_LOGO for less screen flickering during boot |
1183 |
|
|
1184 |
|
* Fri Jul 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-1.mga3 |
1185 |
|
- update to 3.4.6 |
1186 |
|
- drop patch: |
1187 |
|
* DN25: ipw2x00: add support for nl80211 clients (merged) |
1188 |
|
- update patch: |
1189 |
|
* CK01: -ck3 patchset including BFS v0.424 |
1190 |
|
- add patches: |
1191 |
|
* AA01-AA13: stable queue fixes |
1192 |
|
* BS01: silence useless scsi ioctl warnings |
1193 |
|
* CK02: fix BFS build with sched-nohz-rewrite added in 3.4.6 |
1194 |
|
- make theese config options builtin in order to be able to |
1195 |
|
test booting without initrd: |
1196 |
|
(see: https://wiki.mageia.org/en/Feature:BootSansRamdisk) |
1197 |
|
CONFIG_SCSI_MOD, CONFIG_SCSI, CONFIG_ATA, CONFIG_SATA_AHCI, |
1198 |
|
CONFIG_EXT3_FS, CONFIG_EXT4_FS, CONFIG_JBD, CONFIG_JBD2, |
1199 |
|
CONFIG_BTRFS_FS, CONFIG_CRYPTO_CRC32C, CONFIG_CRC16, |
1200 |
|
CONFIG_LIBCRC32C, CONFIG_ZLIB_DEFLATE |
1201 |
|
|
1202 |
|
* Sun Jul 1 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-2.mga3 |
1203 |
|
- enable EFI_STUB support (#6598) |
1204 |
|
|
1205 |
|
* Wed Jun 27 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-1.mga3 |
1206 |
|
- update to 3.4.4 |
1207 |
|
- drop patch: |
1208 |
|
* AA01: 3.4.4-rc1 (merged) |
1209 |
|
|
1210 |
|
* Wed Jun 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.3-1.mga3 |
1211 |
|
- update to 3.4.3 |
1212 |
|
- add patch: |
1213 |
|
* AA01: 3.4.4-rc1 |
1214 |
|
- drop patch: |
1215 |
|
* FE01: ext4 uninit_bg fix (merged) |
1216 |
|
- update patch: |
1217 |
|
* CK01: ck2 patchset including BFS 0.423 |
1218 |
|
|
1219 |
|
* Sat Jun 9 2012 Thomas Backlund <tmb@mageia.org> 3.4.2-1.mga3 |
1220 |
|
- update to 3.4.2 |
1221 |
|
- add patch: |
1222 |
|
* FE01: ext4: fix the free blocks calculation for ext3 |
1223 |
|
file systems w/ uninit_bg |
1224 |
|
|
1225 |
|
* Mon Jun 4 2012 Thomas Backlund <tmb@mageia.org> 3.4.1-1.mga3 |
1226 |
- update to 3.4.1 |
- update to 3.4.1 |
1227 |
- drop merged patches: |
- drop merged patches: |
1228 |
* DA60, DA61: ahci/ata ids |
* DA60, DA61: ahci/ata ids |