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 4 |
%define sublevel 6 |
8 |
|
|
9 |
# Package release |
# Package release |
10 |
%define mgarel 1 |
%define mgarel 1 |
501 |
Version: %{kversion} |
Version: %{kversion} |
502 |
Release: %{rpmrel} |
Release: %{rpmrel} |
503 |
Summary: Various documentation bits found in the %{kname} source |
Summary: Various documentation bits found in the %{kname} source |
504 |
Group: Books/Computer books |
Group: Documentation |
505 |
Buildarch: noarch |
Buildarch: noarch |
506 |
|
|
507 |
%description -n %{kname}-doc |
%description -n %{kname}-doc |
654 |
cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/ |
cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/ |
655 |
|
|
656 |
# Needed for lirc_gpio (Anssi Hannula, #39004, #54907) |
# Needed for lirc_gpio (Anssi Hannula, #39004, #54907) |
657 |
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/ |
658 |
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/ |
659 |
cp -fR drivers/media/video/btcx-risc.h $TempDevelRoot/drivers/media/video/ |
cp -fR drivers/media/i2c/btcx-risc.h $TempDevelRoot/drivers/media/video/ |
660 |
|
|
661 |
# Needed for external dvb tree (#41418) |
# Needed for external dvb tree (#41418) |
662 |
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/ |
663 |
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/ |
664 |
|
|
665 |
# add acpica header files, needed for fglrx build |
# add acpica header files, needed for fglrx build |
666 |
cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/ |
cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/ |
667 |
|
|
668 |
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 \ |
669 |
microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \ |
microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \ |
670 |
powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do |
powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do |
671 |
rm -rf $TempDevelRoot/arch/$i |
rm -rf $TempDevelRoot/arch/$i |
712 |
$DevelRoot/include/Kbuild |
$DevelRoot/include/Kbuild |
713 |
$DevelRoot/include/acpi |
$DevelRoot/include/acpi |
714 |
$DevelRoot/include/asm-generic |
$DevelRoot/include/asm-generic |
715 |
|
$DevelRoot/include/clocksource |
716 |
$DevelRoot/include/config |
$DevelRoot/include/config |
717 |
$DevelRoot/include/crypto |
$DevelRoot/include/crypto |
718 |
$DevelRoot/include/drm |
$DevelRoot/include/drm |
721 |
$DevelRoot/include/linux |
$DevelRoot/include/linux |
722 |
$DevelRoot/include/math-emu |
$DevelRoot/include/math-emu |
723 |
$DevelRoot/include/media |
$DevelRoot/include/media |
724 |
|
$DevelRoot/include/memory |
725 |
$DevelRoot/include/misc |
$DevelRoot/include/misc |
|
$DevelRoot/include/mtd |
|
726 |
$DevelRoot/include/net |
$DevelRoot/include/net |
727 |
$DevelRoot/include/pcmcia |
$DevelRoot/include/pcmcia |
728 |
|
$DevelRoot/include/ras |
729 |
$DevelRoot/include/rdma |
$DevelRoot/include/rdma |
730 |
$DevelRoot/include/rxrpc |
$DevelRoot/include/rxrpc |
731 |
$DevelRoot/include/scsi |
$DevelRoot/include/scsi |
732 |
$DevelRoot/include/sound |
$DevelRoot/include/sound |
733 |
$DevelRoot/include/target |
$DevelRoot/include/target |
734 |
$DevelRoot/include/trace |
$DevelRoot/include/trace |
735 |
|
$DevelRoot/include/uapi |
736 |
$DevelRoot/include/video |
$DevelRoot/include/video |
737 |
$DevelRoot/include/xen |
$DevelRoot/include/xen |
738 |
$DevelRoot/init |
$DevelRoot/init |
953 |
|
|
954 |
# we remove all the source files that we don't ship |
# we remove all the source files that we don't ship |
955 |
# first architecture files |
# first architecture files |
956 |
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 \ |
957 |
microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \ |
microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \ |
958 |
powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do |
powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do |
959 |
rm -rf %{target_source}/arch/$i |
rm -rf %{target_source}/arch/$i |
970 |
#endif %build_source |
#endif %build_source |
971 |
%endif |
%endif |
972 |
|
|
973 |
|
# compressing modules |
974 |
|
%if %{build_modxz} |
975 |
|
find %{target_modules} -name "*.ko" | %kxargs xz -6e |
976 |
|
%else |
977 |
|
find %{target_modules} -name "*.ko" | %kxargs gzip -9 |
978 |
|
%endif |
979 |
|
|
980 |
# We used to have a copy of PrepareKernel here |
# We used to have a copy of PrepareKernel here |
981 |
# 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 |
982 |
for i in %{target_modules}/*; do |
for i in %{target_modules}/*; do |
983 |
rm -f $i/build $i/source |
rm -f $i/build $i/source |
984 |
done |
done |
985 |
|
|
986 |
# Create modules.description |
# sniff, if we compressed all the modules, we change the stamp :( |
987 |
|
# we really need the depmod -ae here |
988 |
pushd %{target_modules} |
pushd %{target_modules} |
989 |
for i in *; do |
for i in *; do |
990 |
pushd $i |
/sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i |
991 |
echo "Creating modules.description for $i" |
echo $? |
992 |
modules=`find . -name "*.ko.gz"` |
done |
993 |
echo $modules | %kxargs /sbin/modinfo \ |
|
994 |
| 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 |
995 |
popd |
for i in *; do |
996 |
|
pushd $i |
997 |
|
echo "Creating modules.description for $i" |
998 |
|
modules=`find . -name "*.ko.[g,x]z"` |
999 |
|
echo $modules | %kxargs /sbin/modinfo \ |
1000 |
|
| perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description |
1001 |
|
popd |
1002 |
done |
done |
1003 |
popd |
popd |
1004 |
|
|
1031 |
%{_kerneldir}/include/Kbuild |
%{_kerneldir}/include/Kbuild |
1032 |
%{_kerneldir}/include/acpi |
%{_kerneldir}/include/acpi |
1033 |
%{_kerneldir}/include/asm-generic |
%{_kerneldir}/include/asm-generic |
1034 |
|
%{_kerneldir}/include/clocksource |
1035 |
%{_kerneldir}/include/crypto |
%{_kerneldir}/include/crypto |
1036 |
%{_kerneldir}/include/drm |
%{_kerneldir}/include/drm |
1037 |
%{_kerneldir}/include/keys |
%{_kerneldir}/include/keys |
1038 |
%{_kerneldir}/include/linux |
%{_kerneldir}/include/linux |
1039 |
%{_kerneldir}/include/math-emu |
%{_kerneldir}/include/math-emu |
1040 |
%{_kerneldir}/include/media |
%{_kerneldir}/include/media |
1041 |
|
%{_kerneldir}/include/memory |
1042 |
%{_kerneldir}/include/misc |
%{_kerneldir}/include/misc |
|
%{_kerneldir}/include/mtd |
|
1043 |
%{_kerneldir}/include/net |
%{_kerneldir}/include/net |
1044 |
%{_kerneldir}/include/pcmcia |
%{_kerneldir}/include/pcmcia |
1045 |
|
%{_kerneldir}/include/ras |
1046 |
%{_kerneldir}/include/rdma |
%{_kerneldir}/include/rdma |
1047 |
%{_kerneldir}/include/rxrpc |
%{_kerneldir}/include/rxrpc |
1048 |
%{_kerneldir}/include/scsi |
%{_kerneldir}/include/scsi |
1049 |
%{_kerneldir}/include/sound |
%{_kerneldir}/include/sound |
1050 |
%{_kerneldir}/include/target |
%{_kerneldir}/include/target |
1051 |
%{_kerneldir}/include/trace |
%{_kerneldir}/include/trace |
1052 |
|
%{_kerneldir}/include/uapi |
1053 |
%{_kerneldir}/include/video |
%{_kerneldir}/include/video |
1054 |
%{_kerneldir}/include/xen |
%{_kerneldir}/include/xen |
1055 |
%{_kerneldir}/init |
%{_kerneldir}/init |
1085 |
%endif |
%endif |
1086 |
|
|
1087 |
%changelog |
%changelog |
1088 |
|
* Sun Apr 7 2013 Thomas Backlund <tmb@mageia.org> 3.8.6-1.mga3 |
1089 |
|
- update to 3.8.6 |
1090 |
|
- update patches: |
1091 |
|
* CK01: -ck patchset inclunding BFS 0.428 |
1092 |
|
* DN01-DN02: alx ethernet driver |
1093 |
|
* F01-F13: overlayfs |
1094 |
|
* KP01: TuxOnIce 3.3 |
1095 |
|
* MB10: ndiswrapper 1.58 |
1096 |
|
- drop merged/obsolete patches: |
1097 |
|
* AA01-AA16: stable queue fixes for 3.6 series |
1098 |
|
* CK02: BFS boot fix |
1099 |
|
* DM50: DVB-S builfix |
1100 |
|
* DM60: rttrack buildfix |
1101 |
|
* MB13, MB14: ndiswrapper buildfixes |
1102 |
|
- add patches: |
1103 |
|
* AA01-AA20: 3.8 -stable queue fixes |
1104 |
|
* DI01: Intel Wellsburg PCH i2c support |
1105 |
|
* DM10: Intel Wellsburg PCH lpc support |
1106 |
|
* DN03-DN04: alx buildfixes |
1107 |
|
* DN10: net: asix: init ASIX AX88772B MAC from EEPROM |
1108 |
|
* DN11: net: asix: handle packets crossing URB boundaries |
1109 |
|
* DN12: usb/net/asix_devices: Add USBNET HG20F9 ethernet dongle (coling) |
1110 |
|
* DN13: asix cleanup |
1111 |
|
* DN14: net: ax88179_178a: add ASIX AX88179_178A USB 3.0/2.0 to gigabit |
1112 |
|
ethernet adapter support |
1113 |
|
* DP01: PCI: Remove not needed check in disable aspm link (fixes ath5k) |
1114 |
|
* DS10: Intel Wellsburg PCH alsa support |
1115 |
|
* FR01: Reiser4 support |
1116 |
|
- update defconfigs |
1117 |
|
|
1118 |
|
* Thu Nov 1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-3.mga3 |
1119 |
|
- add patch: |
1120 |
|
* DN01, DN02: alx network driver |
1121 |
|
|
1122 |
|
* Thu Nov 1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-2.mga3 |
1123 |
|
- add patch: |
1124 |
|
* CK02: fix some booting issues with BFS sceduler |
1125 |
|
|
1126 |
|
* Thu Nov 1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-1.mga3 |
1127 |
|
- update to 3.6.5 |
1128 |
|
- move -doc to Documentation group |
1129 |
|
- add patches: |
1130 |
|
* AA01-AA16: stable queue fixes |
1131 |
|
* FE01: ext4: fix unjournaled inode bitmap modification |
1132 |
|
(fixes possible data corruption bug) |
1133 |
|
* NI14: ipt_IFWLOG buildfix |
1134 |
|
- update patches: |
1135 |
|
* CK01: -ck1 patchset |
1136 |
|
* FO01-FO13: overlayfs |
1137 |
|
* KP01: TyxOnIce |
1138 |
|
- disable patches: |
1139 |
|
* DA20: acpi shuttle-wmi video blacklist (broken) |
1140 |
|
- enable ZRAM support |
1141 |
|
- update filelists |
1142 |
|
- update defconfigs |
1143 |
|
|
1144 |
|
* Sat Sep 15 2012 Thomas Backlund <tmb@mageia.org> 3.5.4-1.mga3 |
1145 |
|
- update to 3.5.4 |
1146 |
|
- drop merged patches: |
1147 |
|
* AA01-AA85, FE01, FU01 |
1148 |
|
|
1149 |
|
* Tue Sep 11 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-2.mga3 |
1150 |
|
- add patches: |
1151 |
|
* AA01-AA85: stable queue fixes |
1152 |
|
* FO01-FO13: overlayfs support (from ubuntu) |
1153 |
|
* FE01: ext3: Fix fdatasync() for files with only i_size changes (mga #7343) |
1154 |
|
* FU01: udf: Fix data corruption for files in ICB |
1155 |
|
- drop patches: |
1156 |
|
* FU01-FU04: unionfs support (broken) |
1157 |
|
- update defconfigs |
1158 |
|
|
1159 |
|
* Mon Aug 27 2012 Thomas Backlund <tmb@mageia.org> 3.5.3-1.mga3 |
1160 |
|
- update to 3.5.3 |
1161 |
|
|
1162 |
|
* Thu Aug 16 2012 Thomas Backlund <tmb@mageia.org> 3.5.2-1.mga3 |
1163 |
|
- update to 3.5.2 |
1164 |
|
- update patches: |
1165 |
|
* CK01: ck1 patchset for 3.5 series kernels including BFS 0.424 |
1166 |
|
* KP01: TuxOnIce 3.3 for 3.5 series kernels |
1167 |
|
- drop merged patches: |
1168 |
|
* AA01-AA13: (stable queue fixes) |
1169 |
|
* BS01: silencing useless scsi ioctl warnings |
1170 |
|
* CK02: BFS buildfix |
1171 |
|
- add patches: |
1172 |
|
* FU03, FU04: unionfs buildfixes for 3.5 series kernels |
1173 |
|
- update filelists |
1174 |
|
- update defconfigs |
1175 |
|
|
1176 |
|
* Sat Jul 21 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-2.mga3 |
1177 |
|
- make CONFIG_ATA_PIIX, CONFIG_BLK_DEV_SD and CONFIG_CRC_T10DIF |
1178 |
|
builtin too, so it actually can boot without initrd |
1179 |
|
- disable CONFIG_LOGO for less screen flickering during boot |
1180 |
|
|
1181 |
|
* Fri Jul 20 2012 Thomas Backlund <tmb@mageia.org> 3.4.6-1.mga3 |
1182 |
|
- update to 3.4.6 |
1183 |
|
- drop patch: |
1184 |
|
* DN25: ipw2x00: add support for nl80211 clients (merged) |
1185 |
|
- update patch: |
1186 |
|
* CK01: -ck3 patchset including BFS v0.424 |
1187 |
|
- add patches: |
1188 |
|
* AA01-AA13: stable queue fixes |
1189 |
|
* BS01: silence useless scsi ioctl warnings |
1190 |
|
* CK02: fix BFS build with sched-nohz-rewrite added in 3.4.6 |
1191 |
|
- make theese config options builtin in order to be able to |
1192 |
|
test booting without initrd: |
1193 |
|
(see: https://wiki.mageia.org/en/Feature:BootSansRamdisk) |
1194 |
|
CONFIG_SCSI_MOD, CONFIG_SCSI, CONFIG_ATA, CONFIG_SATA_AHCI, |
1195 |
|
CONFIG_EXT3_FS, CONFIG_EXT4_FS, CONFIG_JBD, CONFIG_JBD2, |
1196 |
|
CONFIG_BTRFS_FS, CONFIG_CRYPTO_CRC32C, CONFIG_CRC16, |
1197 |
|
CONFIG_LIBCRC32C, CONFIG_ZLIB_DEFLATE |
1198 |
|
|
1199 |
|
* Sun Jul 1 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-2.mga3 |
1200 |
|
- enable EFI_STUB support (#6598) |
1201 |
|
|
1202 |
* Wed Jun 27 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-1.mga3 |
* Wed Jun 27 2012 Thomas Backlund <tmb@mageia.org> 3.4.4-1.mga3 |
1203 |
- update to 3.4.4 |
- update to 3.4.4 |
1204 |
- drop patch: |
- drop patch: |