avatar
Rosa has added 93a10a86d0
Automatic import for version 3.12.7-1
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,4 @@
1
sources:
2
  "linux-3.12.7-rosa69.tar.xz": acb3492ac20c8479b837134e52fcf087d68dcf73
3
  "linux-3.12.tar.xz": de2ceb8cbcfacb8666bfe926159f72e2a9434587
4
  "patch-3.12.7.bz2": e7e2098533cefdc577831df14e85acfe321c559d
view file @ 93a10a86d0
... ... --- /dev/null
... ... +++ b/README.kernel-sources
... ... @@ -0,0 +1,90 @@
1
Hello Mageia Users,
2
3
linux-userspace-headers contains the headers for the source code of
4
Linux kernel. All source code necessary to compile a new kernel is
5
included in two packages linux-userspace-headers, and kernel-source.
6
You will need to install both linux-userspace-headers (needed for
7
general Linux compilation), and kernel-source in order to compile
8
a new kernel.
9
10
The kernel is the central process of your Linux machine, the mediator
11
between the hardware and your programs. It is responsible for memory
12
allocations, process managing, device access...
13
14
Although modern kernels are very flexible thanks to dynamic modules, you
15
may need to compile your own kernel for various reasons: your found a
16
new module which need a more recent kernel, you need a feature of a new
17
kernel, etc...
18
19
Here is a short sum-up of what you can find in the Kernel-HOWTO. Consult
20
it in case of a problem or if the shortcut here provided does not meet
21
your needs. You should also consult the README of kernel-sources.
22
23
24
25
1. Configure your new kernel
26
27
You should never build a kernel as root, so as a normal user:
28
Copy the source in /usr/src/linux/ to ~/kernel/
29
Change to ~/kernel/ and clean-up previous compilations, by issuing 
30
"make mrproper",
31
In console mode, run "make menuconfig",
32
Under X11, run "make xconfig".
33
34
Then configure all sections of your kernel making each feature you need
35
available constantly or as a module. Note that you should compile most
36
features as a module, as it consume less memory, taking into account
37
that some of them cannot be modules as you may need them at boot time,
38
before dynamic modules be loaded...
39
40
41
42
2. Compile it
43
44
Just issue "make" to create a compressed kernel image and the modules you 
45
configured.
46
47
48
49
3. install your new kernel
50
51
Now you need root privilegies, so:
52
Issue "su" and enter root password.
53
Issue "make modules_install"
54
55
This will copy your modules and needed files to /lib/modules/
56
57
Issue "make install"
58
59
This will copy your new kernel and system.map to boot dir (/boot/) with
60
correct names including version, and change respective links.
61
62
It finally runs lilo to take into account your new kernel.
63
64
65
66
4. Modify Lilo to allow your booting on old kernel
67
68
* This step is optional, although recommended *
69
See lilo.conf man page.
70
Your are encouraged during this step to create a new section in your
71
lilo.conf file, in order to enable you to boot on your both kernels, the
72
old and the new one.
73
You need to run lilo then to take your changes into account.
74
You may also use linuxconf to do all that with a nice GUI.
75
76
77
78
5. Reboot your machine...
79
80
And pray.
81
Anyway if something goes wrong, you just need to reboot and choose your
82
old kernel with lilo.
83
84
Enjoy!
85
86
87
========================================================================
88
(c) 1999-2006 Mandriva, Camille Bgnis <camille@mandriva.com>
89
(c) 2006 Thomas Backlund <tmb@mandriva.org> 
90
(c) 2011 Thomas Backlund <tmb@mageia.org> 
view file @ 93a10a86d0
... ... --- /dev/null
... ... +++ b/cpupower.config
... ... @@ -0,0 +1,3 @@
1
# See 'cpupower help' and cpupower(1) for more info
2
CPUPOWER_START_OPTS="frequency-set -g ondemand"
3
CPUPOWER_STOP_OPTS="frequency-set -g ondemand"
view file @ 93a10a86d0
... ... --- /dev/null
... ... +++ b/cpupower.service
... ... @@ -0,0 +1,13 @@
1
[Unit]
2
Description=Configure CPU power related settings
3
After=syslog.target
4
5
[Service]
6
Type=oneshot
7
RemainAfterExit=yes
8
EnvironmentFile=/etc/sysconfig/cpupower
9
ExecStart=/usr/bin/cpupower $CPUPOWER_START_OPTS
10
ExecStop=/usr/bin/cpupower $CPUPOWER_STOP_OPTS
11
12
[Install]
13
WantedBy=multi-user.target
view file @ 93a10a86d0
... ... --- /dev/null
... ... +++ b/disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch
... ... @@ -0,0 +1,123 @@
1
2
 Makefile                 |   24 ++++++++++++------------
3
 scripts/kconfig/Makefile |   19 -------------------
4
 2 files changed, 12 insertions(+), 31 deletions(-)
5
6
diff -Nurp linux-3.12-rc5-mga1/Makefile linux-3.12-rc5-mga1-mrp/Makefile
7
--- linux-3.12-rc5-mga1/Makefile	2013-10-13 15:16:07.515274564 +0300
8
+++ linux-3.12-rc5-mga1-mrp/Makefile	2013-10-13 15:19:42.226094694 +0300
9
@@ -513,9 +513,7 @@ ifeq ($(KBUILD_EXTMOD),)
10
 # Carefully list dependencies so we do not try to build scripts twice
11
 # in parallel
12
 PHONY += scripts
13
-scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
14
-	 asm-generic
15
-	$(Q)$(MAKE) $(build)=$(@)
16
+scripts:
17
 
18
 # Objects we will link into vmlinux / subdirs we need to visit
19
 init-y		:= init/
20
@@ -838,7 +836,7 @@ prepare0: archprepare FORCE
21
 	$(Q)$(MAKE) $(build)=.
22
 
23
 # All the preparing..
24
-prepare: prepare0
25
+prepare:
26
 
27
 # Generate some files
28
 # ---------------------------------------------------------------------------
29
@@ -1020,13 +1018,15 @@ endif # CONFIG_MODULES
30
 CLEAN_DIRS  += $(MODVERDIR)
31
 
32
 # Directories & files removed with 'make mrproper'
33
-MRPROPER_DIRS  += include/config usr/include include/generated          \
34
-                  arch/*/include/generated
35
-MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
36
-		  Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
37
-		  signing_key.priv signing_key.x509 x509.genkey		\
38
-		  extra_certificates signing_key.x509.keyid		\
39
-		  signing_key.x509.signer
40
+#MRPROPER_DIRS  += include/config usr/include include/generated          \
41
+#                  arch/*/include/generated
42
+#MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
43
+#		  Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
44
+#		  signing_key.priv signing_key.x509 x509.genkey		\
45
+#		  extra_certificates signing_key.x509.keyid		\
46
+#		  signing_key.x509.signer
47
+MRPROPER_DIRS  += ""
48
+MRPROPER_FILES += ""
49
 
50
 # clean - Delete most, but leave enough to build external modules
51
 #
52
@@ -1047,7 +1047,7 @@ clean: archclean vmlinuxclean
53
 #
54
 mrproper: rm-dirs  := $(wildcard $(MRPROPER_DIRS))
55
 mrproper: rm-files := $(wildcard $(MRPROPER_FILES))
56
-mrproper-dirs      := $(addprefix _mrproper_,Documentation/DocBook scripts)
57
+mrproper-dirs      := $(addprefix _mrproper_,Documentation/DocBook)
58
 
59
 PHONY += $(mrproper-dirs) mrproper archmrproper
60
 $(mrproper-dirs):
61
diff -Nurp linux-3.12-rc5-mga1/scripts/kconfig/Makefile linux-3.12-rc5-mga1-mrp/scripts/kconfig/Makefile
62
--- linux-3.12-rc5-mga1/scripts/kconfig/Makefile	2013-10-13 15:16:07.515274564 +0300
63
+++ linux-3.12-rc5-mga1-mrp/scripts/kconfig/Makefile	2013-10-13 15:19:42.226094694 +0300
64
@@ -15,26 +15,18 @@ endif
65
 unexport CONFIG_
66
 
67
 xconfig: $(obj)/qconf 3rdparty/Makefile
68
-	$< $(Kconfig)
69
 
70
 gconfig: $(obj)/gconf 3rdparty/Makefile
71
-	$< $(Kconfig)
72
 
73
 menuconfig: $(obj)/mconf 3rdparty/Makefile
74
-	$< $(Kconfig)
75
 
76
 config: $(obj)/conf 3rdparty/Makefile
77
-	$< --oldaskconfig $(Kconfig)
78
 
79
 nconfig: $(obj)/nconf 3rdparty/Makefile
80
-	$< $(Kconfig)
81
 
82
 oldconfig: $(obj)/conf 3rdparty/Makefile
83
-	$< --$@ $(Kconfig)
84
 
85
 silentoldconfig: $(obj)/conf 3rdparty/Makefile
86
-	$(Q)mkdir -p include/generated
87
-	$< --$@ $(Kconfig)
88
 
89
 localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 3rdparty/Makefile
90
 	$(Q)mkdir -p include/generated
91
@@ -77,32 +69,21 @@ update-po-config: $(obj)/kxgettext $(obj
92
 PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig
93
 
94
 allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf 3rdparty/Makefile
95
-	$< --$@ $(Kconfig)
96
 
97
 PHONY += listnewconfig olddefconfig oldnoconfig savedefconfig defconfig
98
 
99
 listnewconfig olddefconfig: $(obj)/conf 3rdparty/Makefile
100
-	$< --$@ $(Kconfig)
101
 
102
 # oldnoconfig is an alias of olddefconfig, because people already are dependent
103
 # on its behavior(sets new symbols to their default value but not 'n') with the
104
 # counter-intuitive name.
105
 oldnoconfig: $(obj)/conf 3rdparty/Makefile
106
-	$< --olddefconfig $(Kconfig)
107
 
108
 savedefconfig: $(obj)/conf 3rdparty/Makefile
109
-	$< --$@=defconfig $(Kconfig)
110
 
111
 defconfig: $(obj)/conf 3rdparty/Makefile
112
-ifeq ($(KBUILD_DEFCONFIG),)
113
-	$< --defconfig $(Kconfig)
114
-else
115
-	@echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
116
-	$(Q)$< --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
117
-endif
118
 
119
 %_defconfig: $(obj)/conf 3rdparty/Makefile
120
-	$(Q)$< --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig)
121
 
122
 # Help text used by make help
123
 help:
view file @ 93a10a86d0
... ... --- /dev/null
... ... +++ b/kernel-3.12.7-1.spec
... ... @@ -0,0 +1,3142 @@
1
# MIB header
2
3
%if %{mdvver} <= 201100
4
%define distsuffix mib
5
%define disttag %{distsuffix}
6
Vendor: MIB - Mandriva International Backports
7
%endif
8
9
Packager: Nicolo' Costanza <abitrules@yahoo.it>
10
# end MIB header
11
12
#
13
%define kernelversion	3
14
%define patchlevel	12
15
# sublevel is now used for -stable patches
16
%define sublevel	7
17
18
# Package release
19
%define mibrel		69
20
21
# kernel Makefile extraversion is substituted by
22
# kpatch wich are either 0 (empty), rc (kpatch)
23
%define kpatch		0
24
# kernel.org -gitX patch (only the number after "git")
25
%define kgit		0
26
27
# kernel base name (also name of srpm)
28
%define kname 		kernel
29
30
# Patch tarball tag
31
%define ktag		rosa
32
33
# define rpmtag		%{disttag}
34
%define rpmtag		%{disttag}
35
%if %kpatch
36
%if %kgit
37
%define rpmrel		%mkrel 0.%{kpatch}.%{kgit}.%{mibrel}
38
%else
39
%define rpmrel		%mkrel 0.%{kpatch}.%{mibrel}
40
%endif
41
%else
42
%define rpmrel		1
43
%endif
44
45
# fakerel and fakever never change, they are used to fool
46
# rpm/urpmi/smart
47
%define fakever		1
48
%define fakerel 	%mkrel 1
49
50
# version defines
51
%define kversion  	%{kernelversion}.%{patchlevel}.%{sublevel}
52
%define kverrel   	%{kversion}-%{rpmrel}
53
54
# When we are using a pre/rc patch, the tarball is a sublevel -1
55
%if %kpatch
56
%if %sublevel
57
%define tar_ver   	%{kernelversion}.%{patchlevel}
58
%else
59
%define tar_ver		%{kernelversion}.%(expr %{patchlevel} - 1)
60
%endif
61
%define patch_ver 	%{kversion}-%{kpatch}-%{ktag}%{mibrel}
62
%else
63
%define tar_ver   	%{kernelversion}.%{patchlevel}
64
%define patch_ver 	%{kversion}-%{ktag}%{mibrel}
65
%endif
66
67
# Used for not making too long names for rpms or search paths
68
# replaced mibrel with rpmrel / release > we can use only ONE sources folder for nrj & nrjQL
69
%if %kpatch
70
%if %kgit
71
%define buildrpmrel     0.%{kpatch}.%{kgit}.%{rpmrel}%{rpmtag}
72
%else
73
%define buildrpmrel     0.%{kpatch}.%{rpmrel}%{rpmtag}
74
%endif
75
%else
76
%define buildrpmrel     %{rpmrel}%{rpmtag}
77
%endif
78
%define buildrel     	%{kversion}-%{buildrpmrel}
79
80
# Having different top level names for packges means that you have to remove
81
# them by hard :(
82
%define top_dir_name 	%{kname}-%{_arch}
83
84
%define build_dir 	${RPM_BUILD_DIR}/%{top_dir_name}
85
%define src_dir 	%{build_dir}/linux-%{tar_ver}
86
87
# Disable useless debug rpms...
88
%define _enable_debug_packages 	%{nil}
89
%define debug_package 		%{nil}
90
91
# Build defines
92
%define build_doc 		1
93
%define build_source 		1
94
%define build_devel 		1
95
96
%define build_debug 		0
97
98
#
99
# Old Mandriva kernel flavours plus new two PAE flavours
100
#
101
102
# Build desktop i586 / 4GB
103
%ifarch %{ix86}
104
%define build_desktop586		0
105
%endif
106
107
# Build desktop (i686 / 4GB) / x86_64 / sparc64 sets
108
%define build_desktop			0
109
110
# Build netbook (i686 / 4GB) / x86_64
111
%define build_netbook			0
112
113
# Build server (i686 / 64GB)/x86_64 / sparc64 sets
114
%define build_server			0
115
116
# Build desktop686 pae (i686 / 64GB)
117
%ifarch %{ix86}
118
%define build_desktop_pae		0
119
%endif
120
121
# Build netbook686 pae (i686 / 64GB)
122
%ifarch %{ix86}
123
%define build_netbook_pae		0
124
%endif
125
126
#
127
# MIB low latency optimized flavours called "nrj"
128
#
129
130
# Build nrj desktop586 (i586 / 4GB)
131
%ifarch %{ix86}
132
%define build_nrj_desktop586		0
133
%endif
134
135
# Build nrj desktop (i686 / 4GB) / x86_64 / sparc64 sets
136
%define build_nrj_desktop		1
137
138
# Build nrj realtime (i686 / 4GB) / x86_64
139
%define build_nrj_realtime		0
140
141
# Build nrj laptop (i686 / 4GB) / x86_64
142
%define build_nrj_laptop		0
143
144
# Build nrj netbook (i686 / 4GB) / x86_64
145
%define build_nrj_netbook		0
146
147
# Build nrj desktop pae (i686 / 64GB)
148
%ifarch %{ix86}
149
%define build_nrj_desktop_pae		0
150
%endif
151
152
# Build nrj realtime pae (i686 / 64GB)
153
%ifarch %{ix86}
154
%define build_nrj_realtime_pae		0
155
%endif
156
157
# Build nrj laptop pae (i686 / 64GB)
158
%ifarch %{ix86}
159
%define build_nrj_laptop_pae		0
160
%endif
161
162
# Build nrj netbook686 pae (i686 / 64GB)
163
%ifarch %{ix86}
164
%define build_nrj_netbook_pae		0
165
%endif
166
167
#
168
# experimental "cpu level" optimized "nrj" flavours
169
#
170
171
# Build nrj netbook Intel Atom (matom / 4GB)
172
%ifarch %{ix86}
173
%define build_nrj_netbook_atom		0
174
%endif
175
176
# Build nrj netbook Intel Atom pae (matom / 64GB)
177
%ifarch %{ix86}
178
%define build_nrj_netbook_atom_pae	0
179
%endif
180
181
# Build nrj desktop Intel Core2 (mcore2 / 4GB)
182
%ifarch %{ix86}
183
%define build_nrj_desktop_core2   	0
184
%endif
185
186
# Build nrj desktop Intel Core2 pae (mcore2 / 64GB)
187
%ifarch %{ix86}
188
%define build_nrj_desktop_core2_pae   	0
189
%endif
190
191
#
192
# end of experimental "cpu level" optimized "nrj" flavours
193
#
194
195
# build perf and cpupower tools
196
%if %{mdvver} >= 201200
197
%define build_perf		1
198
%define build_cpupower		1
199
%else
200
%define build_perf		0
201
%define build_cpupower		0
202
%endif
203
204
# compress modules with xz
205
%if %{mdvver} >= 201200
206
%define build_modxz		1
207
%else
208
%define build_modxz		0
209
%endif
210
211
# ARM builds
212
%ifarch %{arm}
213
%define build_desktop		0
214
%define build_netbook		0
215
%define build_server		0
216
%define build_iop32x		0
217
%define build_kirkwood		1
218
%define build_versatile		1
219
# no cpupower tools on arm yet
220
%define build_cpupower		0
221
# arm is currently not using xz
222
%define build_modxz		0
223
%endif
224
# End of user definitions
225
226
# buildtime flags
227
%{?_without_desktop586: %global build_desktop586 0}
228
%{?_without_desktop: %global build_desktop 0}
229
%{?_without_netbook: %global build_netbook 0}
230
%{?_without_server: %global build_server 0}
231
232
%{?_without_desktop_pae: %global build_desktop_pae 0}
233
%{?_without_netbook_pae: %global build_netbook_pae 0}
234
235
%{?_without_nrj_desktop586: %global build_nrj_desktop586 0}
236
%{?_without_nrj_desktop: %global build_nrj_desktop 0}
237
%{?_without_nrj_realtime: %global build_nrj_realtime 0}
238
%{?_without_nrj_laptop: %global build_nrj_laptop 0}
239
%{?_without_nrj_netbook: %global build_nrj_netbook 0}
240
241
%{?_without_nrj_desktop_pae: %global build_nrj_desktop_pae 0}
242
%{?_without_nrj_realtime_pae: %global build_nrj_realtime_pae 0}
243
%{?_without_nrj_laptop_pae: %global build_nrj_laptop_pae 0}
244
%{?_without_nrj_netbook_pae: %global build_nrj_netbook_pae 0}
245
246
%{?_without_nrj_netbook_atom: %global build_nrj_netbook_atom 0}
247
%{?_without_nrj_netbook_atom_pae: %global build_nrj_netbook_atom_pae 0}
248
%{?_without_nrj_desktop_core2: %global build_nrj_desktop_core2 0}
249
%{?_without_nrj_desktop_core2_pae: %global build_nrj_desktop_core2_pae 0}
250
251
%{?_without_doc: %global build_doc 0}
252
%{?_without_source: %global build_source 0}
253
%{?_without_devel: %global build_devel 0}
254
%{?_without_debug: %global build_debug 0}
255
%{?_without_perf: %global build_perf 0}
256
%{?_without_cpupower: %global build_cpupower 0}
257
%{?_without_modxz: %global build_modxz 0}
258
259
260
%{?_with_desktop586: %global build_desktop586 1}
261
%{?_with_desktop: %global build_desktop 1}
262
%{?_with_netbook: %global build_netbook 1}
263
%{?_with_server: %global build_server 1}
264
265
%{?_with_desktop_pae: %global build_desktop_pae 1}
266
%{?_with_netbook_pae: %global build_netbook_pae 1}
267
268
%{?_with_nrj_desktop586: %global build_nrj_desktop586 1}
269
%{?_with_nrj_desktop: %global build_nrj_desktop 1}
270
%{?_with_nrj_realtime: %global build_nrj_realtime 1}
271
%{?_with_nrj_laptop: %global build_nrj_laptop 1}
272
%{?_with_nrj_netbook: %global build_nrj_netbook 1}
273
274
%{?_with_nrj_desktop_pae: %global build_nrj_desktop_pae 1}
275
%{?_with_nrj_realtime_pae: %global build_nrj_realtime_pae 1}
276
%{?_with_nrj_laptop_pae: %global build_nrj_laptop_pae 1}
277
%{?_with_nrj_netbook_pae: %global build_nrj_netbook_pae 1}
278
279
%{?_with_nrj_netbook_atom: %global build_nrj_netbook_atom 1}
280
%{?_with_nrj_netbook_atom_pae: %global build_nrj_netbook_atom_pae 1}
281
%{?_with_nrj_desktop_core2: %global build_nrj_desktop_core2 1}
282
%{?_with_nrj_desktop_core2_pae: %global build_nrj_desktop_core2_pae 1}
283
284
%{?_with_doc: %global build_doc 1}
285
%{?_with_source: %global build_source 1}
286
%{?_with_devel: %global build_devel 1}
287
%{?_with_debug: %global build_debug 1}
288
%{?_with_perf: %global build_perf 1}
289
%{?_with_cpupower: %global build_cpupower 1}
290
%{?_with_modxz: %global build_modxz 1}
291
292
293
# ARM builds
294
%{?_with_iop32x: %global build_iop32x 1}
295
%{?_with_kirkwood: %global build_kirkwood 1}
296
%{?_with_versatile: %global build_versatile 1}
297
%{?_without_iop32x: %global build_iop32x 0}
298
%{?_without_kirkwood: %global build_kirkwood 0}
299
%{?_without_versatile: %global build_versatile 0}
300
301
# For the .nosrc.rpm
302
%define build_nosrc 	0
303
%{?_with_nosrc: %global build_nosrc 1}
304
305
306
############################################################
307
### Linker start1 > Check point to build for cooker 2013 ###
308
############################################################
309
%if %{mdvver} < 201300
310
%if %(if [ -z "$CC" ] ; then echo 0; else echo 1; fi)
311
%define kmake %make CC="$CC"
312
%else
313
%define kmake %make
314
%endif
315
# there are places where parallel make don't work
316
%define smake make
317
%endif
318
319
%if %{mdvver} >= 201300
320
%if %cross_compiling
321
%if %(if [ -z "$CC" ] ; then echo 0; else echo 1; fi)
322
%define kmake %make ARCH=%target_arch CROSS_COMPILE=%(echo %__cc |sed -e 's,-gcc,-,') CC="$CC" LD="$LD" LDFLAGS="$LDFLAGS"
323
%else
324
%define kmake %make ARCH=%target_arch CROSS_COMPILE=%(echo %__cc |sed -e 's,-gcc,-,') LD="$LD" LDFLAGS="$LDFLAGS"
325
%endif
326
# there are places where parallel make don't work
327
%define smake make ARCH=%target_arch CROSS_COMPILE=%(echo %__cc |sed -e 's,-gcc,-,') LD="$LD" LDFLAGS="$LDFLAGS"
328
%else
329
%if %(if [ -z "$CC" ] ; then echo 0; else echo 1; fi)
330
%define kmake %make CC="$CC" LD="$LD" LDFLAGS="$LDFLAGS"
331
%else
332
%define kmake %make LD="$LD" LDFLAGS="$LDFLAGS"
333
%endif
334
# there are places where parallel make don't work
335
%define smake make LD="$LD" LDFLAGS="$LDFLAGS"
336
%endif
337
%endif
338
###########################################################
339
###  Linker end1 > Check point to build for cooker 2013 ###
340
###########################################################
341
342
343
# Parallelize xargs invocations on smp machines
344
%define kxargs xargs %([ -z "$RPM_BUILD_NCPUS" ] \\\
345
	&& RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
346
	[ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-P $RPM_BUILD_NCPUS")
347
348
# Sparc arch wants sparc64 kernels
349
%define target_arch    %(echo %{_arch} | sed -e 's/mips.*/mips/' -e 's/arm.*/arm/' -e 's/aarch64/arm64/')
350
351
352
#
353
# SRC RPM description
354
#
355
Summary: 	Linux kernel built for Mandriva and ROSA
356
Name:		%{kname}
357
Version: 	%{kversion}
358
Release: 	%{rpmrel}
359
License: 	GPLv2
360
Group: 	 	System/Kernel and hardware
361
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
362
ExclusiveOS: 	Linux
363
URL:            http://www.kernel.org
364
365
####################################################################
366
#
367
# Sources
368
#
369
### This is for full SRC RPM
370
Source0: 	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/linux-%{tar_ver}.tar.xz
371
Source1: 	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/linux-%{tar_ver}.tar.sign
372
### This is for stripped SRC RPM
373
%if %build_nosrc
374
NoSource: 0
375
%endif
376
# This is for disabling *config, mrproper, prepare, scripts on -devel rpms
377
Source2: 	disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch
378
379
Source4: 	README.kernel-sources
380
Source5:	kernel.rpmlintrc
381
382
# config and systemd service file from fedora
383
Source50:	cpupower.service
384
Source51:	cpupower.config
385
386
# our patch tarball
387
Source100: 	linux-%{patch_ver}.tar.xz
388
389
####################################################################
390
#
391
# Patches
392
393
#
394
# Patch0 to Patch100 are for core kernel upgrades.
395
#
396
397
# Pre linus patch: ftp://ftp.kernel.org/pub/linux/kernel/v3.0/testing
398
399
%if %kpatch
400
%if %sublevel
401
Patch2:		ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/stable-review/patch-%{kversion}-%{kpatch}.bz2
402
Source11:	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/stable-review/patch-%{kversion}-%{kpatch}.sign
403
%else
404
Patch1:		ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.bz2
405
Source10: 	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign	
406
%endif	
407
%endif
408
%if %kgit
409
Patch2:		ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.bz2
410
Source11: 	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.sign
411
%endif
412
%if %sublevel
413
%if %kpatch
414
%define prev_sublevel %(expr %{sublevel} - 1)
415
%if %prev_sublevel
416
Patch1:   	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.bz2
417
Source10: 	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign
418
%endif
419
%else
420
Patch1:   	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kversion}.bz2
421
Source10: 	ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kversion}.sign
422
%endif
423
%endif
424
425
#END
426
####################################################################
427
428
# Defines for the things that are needed for all the kernels
429
#
430
%define common_desc_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \
431
Mandriva and ROSA operating system. The kernel handles the basic functions \
432
of the operating system: memory allocation, process allocation, device \
433
input and output, etc.
434
435
%define common_desc_kernel_smp This kernel relies on in-kernel smp alternatives to switch between up & smp \
436
mode depending on detected hardware. To force the kernel to boot in single \
437
processor mode, use the "nosmp" boot parameter.
438
439
440
### Global Requires/Provides
441
442
%if %{mdvver} >= 201300
443
%define requires1	microcode
444
%define requires2	dracut >= 026
445
%define requires3	kmod >= 12
446
%define requires4	sysfsutils >=  2.1.0-12
447
%define requires5	kernel-firmware >=  20120219-1
448
%endif
449
450
%if %{mdvver} == 201210
451
%define requires1	bootloader-utils >= 1.15-8
452
%define requires2	dracut >= 017-16
453
%define requires3	kmod >= 7-6
454
%define requires4	sysfsutils >=  2.1.0-12
455
%define requires5	kernel-firmware >=  20120219-1
456
%endif
457
458
%if %{mdvver} == 201200
459
%define requires1	bootloader-utils >= 1.15-8
460
%define requires2	dracut >= 017-16
461
%define requires3	module-init-tools >= 3.16-5
462
%define requires4	sysfsutils >=  2.1.0-12
463
%define requires5	kernel-firmware >=  20120219-1
464
%endif
465
466
%if %{mdvver} < 201200
467
%define requires1	bootloader-utils >= 1.13-1
468
%define requires2	mkinitrd >= 4.2.17-31
469
%define requires3	module-init-tools >= 3.0-7
470
%define requires4	sysfsutils >= 1.3.0-1
471
%define requires5	kernel-firmware >= 20101024-2
472
%endif
473
474
%define kprovides1 	%{kname} = %{kverrel}
475
%define kprovides2 	kernel = %{tar_ver}
476
%define kprovides3 	alsa = 1.0.27
477
%define kprovides_server drbd-api = 88
478
479
%define	kobsoletes1	dkms-r8192se <= 0019.1207.2010-2
480
%define	kobsoletes2	dkms-lzma <= 4.43-32
481
%define	kobsoletes3	dkms-psb <= 4.41.1-7
482
483
# conflict dkms packages that dont support kernel-3.10
484
# all driver versions must be carefully checked to add
485
486
# config for all distros apart mdvver 2013.0 & 2012.1
487
%define kconflicts1	dkms-broadcom-wl < 5.100.82.112-12
488
%define kconflicts2	dkms-fglrx < 13.200.5-1
489
%define kconflicts3	dkms-nvidia-current < 325.15-2
490
%define kconflicts4	dkms-nvidia-long-lived < 304.88-3
491
%define kconflicts5	dkms-nvidia173 < 173.14.37-4
492
# nvidia96xx does not support this kernel or x11-server-1.13
493
494
%if %{mdvver} >= 201300
495
%define kconflicts1	dkms-broadcom-wl < 5.100.82.112-12
496
%define kconflicts2	dkms-fglrx < 13.200.5-1
497
%define kconflicts3	dkms-nvidia-current < 325.15-1
498
%define kconflicts4	dkms-nvidia-long-lived < 319.49-1
499
%define kconflicts5	dkms-nvidia304 < 304.108-1
500
# nvidia173 does not support this kernel
501
# nvidia96xx does not support this kernel or x11-server-1.13
502
%endif
503
504
%if %{mdvver} == 201210
505
%define kconflicts1	dkms-broadcom-wl < 5.100.82.112-12
506
%define kconflicts2	dkms-fglrx < 13.200.5-1
507
%define kconflicts3	dkms-nvidia-current < 325.15-2
508
%define kconflicts4	dkms-nvidia-long-lived < 304.108-1
509
%define kconflicts5	dkms-nvidia173 < 173.14.37-4
510
# nvidia96xx does not support this kernel or x11-server-1.13
511
%endif
512
513
Autoreqprov: 		no
514
515
# might be useful too:
516
Suggests:	microcode
517
518
%if %{mdvver} >= 201210
519
BuildRequires:	kmod-devel kmod-compat
520
%else
521
BuildRequires:	module-init-tools
522
%endif
523
524
BuildRequires: 	gcc bc binutils
525
526
# for perf, cpufreq and other tools
527
BuildRequires:		elfutils-devel
528
BuildRequires:		zlib-devel
529
BuildRequires:		binutils-devel
530
BuildRequires:		newt-devel
531
BuildRequires:		python-devel
532
BuildRequires:		perl(ExtUtils::Embed)
533
BuildRequires:		pciutils-devel
534
BuildRequires:		asciidoc
535
BuildRequires:		xmlto
536
BuildRequires:		gettext
537
BuildRequires:		docbook-style-xsl
538
BuildRequires:		pkgconfig(gtk+-2.0)
539
BuildRequires:		flex
540
BuildRequires:		bison
541
542
%ifarch %{arm}
543
BuildRequires:		uboot-mkimage
544
%endif
545
546
547
%description
548
%common_desc_kernel
549
%ifnarch %{arm}
550
%common_desc_kernel_smp
551
%endif
552
553
# Define obsolete/provides to help automatic upgrades of old kernel-xen-pvops
554
%define latest_obsoletes_server kernel-xen-pvops-latest < 3.2.1-1
555
%define latest_provides_server kernel-xen-pvops-latest = %{kverrel}
556
%define latest_obsoletes_devel_server kernel-xen-pvops-devel-latest < 3.2.1-1
557
%define latest_provides_devel_server kernel-xen-pvops-devel-latest = %{kverrel}
558
559
# mkflavour() name flavour processor
560
# name: the flavour name in the package name
561
# flavour: first parameter of CreateKernel()
562
%define mkflavour()					\
563
%package -n %{kname}-%{1}-%{buildrel}			\
564
Version:	%{fakever}				\
565
Release:	%{fakerel}				\
566
Provides:	%kprovides1 %kprovides2 %kprovides3	\
567
%{expand:%%{?kprovides_%{1}:Provides: %{kprovides_%{1}}}} \
568
Provides:   %{kname}-%{1}              			 \
569
%if %{build_nrj_desktop}              		\
570
Provides:   kernel-desktop              		\
571
%endif                                  		\
572
Requires(pre):	%requires1 %requires2 %requires3 %requires4 \
573
Requires:	%requires2 %requires5			\
574
Obsoletes:	%kobsoletes1 %kobsoletes2 %kobsoletes3	\
575
Conflicts:	%kconflicts1 %kconflicts2 %kconflicts3	\
576
Conflicts:	%kconflicts4 %kconflicts5		\
577
Provides:	should-restart = system			\
578
Suggests:	crda					\
579
%ifarch %{ix86}						\
580
Conflicts:	arch(x86_64)				\
581
%endif							\
582
Summary:	%{expand:%{summary_%(echo %{1} | sed -e "s/-/_/")}} \
583
Group:		System/Kernel and hardware		\
584
%description -n %{kname}-%{1}-%{buildrel}		\
585
%common_desc_kernel %{expand:%{info_%(echo %{1} | sed -e "s/-/_/")}} \
586
%ifnarch %{arm}						\
587
%common_desc_kernel_smp					\
588
%endif							\
589
							\
590
%if %build_devel					\
591
%package -n	%{kname}-%{1}-devel-%{buildrel}		\
592
Version:	%{fakever}				\
593
Release:	%{fakerel}				\
594
Requires:	glibc-devel ncurses-devel make gcc perl	\
595
Summary:	The kernel-devel files for %{kname}-%{1}-%{buildrel} \
596
Group:		Development/Kernel			\
597
Provides:	%{kname}-devel = %{kverrel} 		\
598
Provides:	%{kname}-%{1}-devel			\
599
%ifarch %{ix86}						\
600
Conflicts:	arch(x86_64)				\
601
%endif							\
602
%description -n %{kname}-%{1}-devel-%{buildrel}		\
603
This package contains the kernel files (headers and build tools) \
604
that should be enough to build additional drivers for   \
605
use with %{kname}-%{1}-%{buildrel}.                     \
606
							\
607
If you want to build your own kernel, you need to install the full \
608
%{kname}-source-%{buildrel} rpm.			\
609
							\
610
%endif							\
611
							\
612
%if %build_debug					\
613
%package -n	%{kname}-%{1}-%{buildrel}-debuginfo	\
614
Version:	%{fakever}				\
615
Release:	%{fakerel}				\
616
Summary:	Files with debuginfo for %{kname}-%{1}-%{buildrel} \
617
Group:		Development/Debug			\
618
Provides:	kernel-debug = %{kverrel} 		\
619
%ifarch %{ix86}						\
620
Conflicts:	arch(x86_64)				\
621
%endif							\
622
%description -n %{kname}-%{1}-%{buildrel}-debuginfo	\
623
This package contains the files with debuginfo to aid in debug tasks \
624
when using %{kname}-%{1}-%{buildrel}.			\
625
							\
626
If you need to look at debug information or use some application that \
627
needs debugging info from the kernel, this package may help. \
628
							\
629
%endif							\
630
							\
631
%package -n %{kname}-%{1}-latest			\
632
Version:	%{kversion}				\
633
Release:	%{rpmrel}				\
634
Summary:	Virtual rpm for latest %{kname}-%{1}	\
635
Group:		System/Kernel and hardware		\
636
Requires:	%{kname}-%{1}-%{buildrel}		\
637
%ifarch %{ix86}						\
638
Conflicts:	arch(x86_64)				\
639
%endif							\
640
%{expand:%%{?latest_obsoletes_%{1}:Obsoletes: %{latest_obsoletes_%{1}}}} \
641
%{expand:%%{?latest_provides_%{1}:Provides: %{latest_provides_%{1}}}} \
642
%description -n %{kname}-%{1}-latest			\
643
This package is a virtual rpm that aims to make sure you always have the \
644
latest %{kname}-%{1} installed...			\
645
							\
646
%if %build_devel					\
647
%package -n %{kname}-%{1}-devel-latest			\
648
Version:	%{kversion}				\
649
Release:	%{rpmrel}				\
650
Summary:	Virtual rpm for latest %{kname}-%{1}-devel \
651
Group:		Development/Kernel			\
652
Requires:	%{kname}-%{1}-devel-%{buildrel}		\
653
%ifarch %{ix86}						\
654
Conflicts:	arch(x86_64)				\
655
%endif							\
656
Provides:	%{kname}-devel-latest			\
657
%{expand:%%{?latest_obsoletes_devel_%{1}:Obsoletes: %{latest_obsoletes_devel_%{1}}}} \
658
%{expand:%%{?latest_provides_devel_%{1}:Provides: %{latest_provides_devel_%{1}}}} \
659
%description -n %{kname}-%{1}-devel-latest		\
660
This package is a virtual rpm that aims to make sure you always have the \
661
latest %{kname}-%{1}-devel installed...			\
662
							\
663
%endif							\
664
							\
665
%post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \
666
%posttrans -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-posttrans \
667
%preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \
668
%postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \
669
							\
670
%if %build_devel					\
671
%post -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-post \
672
%preun -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-preun \
673
%postun -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-postun \
674
%endif							\
675
							\
676
%files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \
677
%files -n %{kname}-%{1}-latest				\
678
							\
679
%if %build_devel					\
680
%files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \
681
%files -n %{kname}-%{1}-devel-latest			\
682
%endif							\
683
							\
684
%if %build_debug					\
685
%files -n %{kname}-%{1}-%{buildrel}-debuginfo -f kernel_debug_files.%{1} \
686
%endif
687
688
%ifarch %{ix86}
689
#
690
# kernel-desktop586: i586, smp-alternatives, 4GB
691
#
692
%if %build_desktop586
693
%define summary_desktop586 Linux kernel for desktop use with i586 & 4GB RAM
694
%define info_desktop586 This kernel is compiled for desktop use, single or \
695
multiple i586 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \
696
voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
697
%mkflavour desktop586
698
%endif
699
%endif
700
701
#
702
# kernel-desktop: i686, smp-alternatives, 4 GB / x86_64
703
#
704
%if %build_desktop
705
%ifarch %{ix86}
706
%define summary_desktop Linux Kernel for desktop use with i686 & 4GB RAM
707
%define info_desktop This kernel is compiled for desktop use, single or \
708
multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \
709
voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler.
710
%else
711
%define summary_desktop Linux Kernel for desktop use with %{_arch}
712
%define info_desktop This kernel is compiled for desktop use, single or \
713
multiple %{_arch} processor(s)/core(s), using HZ_1000, \
714
voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
715
%endif
716
%mkflavour desktop
717
%endif
718
719
#
720
# kernel-netbook: i686, smp-alternatives, 4 GB / x86_64
721
#
722
%if %build_netbook
723
%ifarch %{ix86}
724
%define summary_netbook Linux Kernel for netbook use with i686 & 4GB RAM
725
%define info_netbook This kernel is compiled for netbook use, single or \
726
multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_250, \
727
voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler.
728
%else
729
%define summary_netbook Linux Kernel for netbook use with %{_arch}
730
%define info_netbook This kernel is compiled for netbook use, single or \
731
multiple %{_arch} processor(s)/core(s), using HZ_250, \
732
voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
733
%endif
734
%mkflavour netbook
735
%endif
736
737
#
738
# kernel-server: i686, smp-alternatives, 64 GB / x86_64
739
#
740
%if %build_server
741
%ifarch %{ix86}
742
%define summary_server Linux Kernel for server use with i686 & 64GB RAM
743
%define info_server This kernel is compiled for server use, single or \
744
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using \
745
no preempt, HZ_100, CFS cpu scheduler and BFQ i/o scheduler, PERFORMANCE governor.
746
%else
747
%define summary_server Linux Kernel for server use with %{_arch}
748
%define info_server This kernel is compiled for server use, single or \
749
multiple %{_arch} processor(s)/core(s), using no preempt, HZ_100, \
750
CFS cpu scheduler and BFQ i/o scheduler, PERFORMANCE governor.
751
%endif
752
%mkflavour server
753
%endif
754
755
%ifarch %{ix86}
756
#
757
# kernel-desktop-pae: i686, smp-alternatives, 64GB
758
#
759
%if %build_desktop_pae
760
%define summary_desktop_pae Linux kernel for desktop use with i686 & upto 64GB RAM
761
%define info_desktop_pae This kernel is compiled for desktop use, single or \
762
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \
763
voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
764
%mkflavour desktop-pae
765
%endif
766
%endif
767
768
%ifarch %{ix86}
769
#
770
# kernel-netbook-pae: i686, smp-alternatives, 64 GB
771
#
772
%if %build_netbook_pae
773
%define summary_netbook_pae Linux Kernel for for netbook use with i686 & upto 64GB RAM
774
%define info_netbook_pae This kernel is compiled for netbook use, single or \
775
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_250, \
776
voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
777
%mkflavour netbook-pae
778
%endif
779
%endif
780
781
%ifarch %{ix86}
782
#
783
# kernel-nrj-desktop586: nrj, i586, smp-alternatives, 4GB
784
#
785
%if %build_nrj_desktop586
786
%define summary_nrj_desktop586 Linux kernel for desktop use with i586 & 4GB RAM
787
%define info_nrj_desktop586 This kernel is compiled for desktop use, single or \
788
multiple i586 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \
789
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
790
%mkflavour nrj-desktop586
791
%endif
792
%endif
793
794
#
795
# kernel-nrj-desktop: nrj, i686, smp-alternatives, 4 GB / x86_64
796
#
797
%if %build_nrj_desktop
798
%ifarch %{ix86}
799
%define summary_nrj_desktop Linux Kernel for desktop use with i686 & 4GB RAM
800
%define info_nrj_desktop This kernel is compiled for desktop use, single or \
801
multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \
802
full preempt, rcu boost, RIFS cpu scheduler and BFQ I/O scheduler, ONDEMAND governor.
803
%else
804
%define summary_nrj_desktop Linux Kernel for desktop use with %{_arch}
805
%define info_nrj_desktop This kernel is compiled for desktop use, single or \
806
multiple %{_arch} processor(s)/core(s), using HZ_1000, \
807
full preempt, rcu boost, RIFS cpu scheduler and BFQ I/O scheduler, ONDEMAND governor.
808
%endif
809
%mkflavour nrj-desktop
810
%endif
811
812
#
813
# kernel-nrj-realtime: nrj, i686, smp-alternatives, 4 GB / x86_64
814
#
815
%if %build_nrj_realtime
816
%ifarch %{ix86}
817
%define summary_nrj_realtime Linux Kernel for low latency use with i686 & 4GB RAM
818
%define info_nrj_realtime This kernel is compiled for low latency use, single or \
819
multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \
820
full preempt, rcu boost, CFS cpu scheduler and new BFQ I/O scheduler, PERFORMANCE governor.
821
%else
822
%define summary_nrj_realtime Linux Kernel for low latency use with %{_arch}
823
%define info_nrj_realtime This kernel is compiled for low latency use, single or \
824
multiple %{_arch} processor(s)/core(s), using HZ_1000, \
825
full preempt, rcu boost, CFS cpu scheduler and new BFQ I/O scheduler, PERFORMANCE governor.
826
%endif
827
%mkflavour nrj-realtime
828
%endif
829
830
#
831
# kernel-nrj-laptop: nrj, i686, smp-alternatives, 4 GB / x86_64
832
#
833
%if %build_nrj_laptop
834
%ifarch %{ix86}
835
%define summary_nrj_laptop Linux Kernel for laptop use with i686 & 4GB RAM
836
%define info_nrj_laptop This kernel is compiled for laptop use, single or \
837
multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_300, \
838
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
839
%else
840
%define summary_nrj_laptop Linux Kernel for laptop use with %{_arch}
841
%define info_nrj_laptop This kernel is compiled for laptop use, single or \
842
multiple %{_arch} processor(s)/core(s), using HZ_300, \
843
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
844
%endif
845
%mkflavour nrj-laptop
846
%endif
847
848
#
849
# kernel-nrj-netbook: nrj, i686, smp-alternatives, 4 GB / x86_64
850
#
851
%if %build_nrj_netbook
852
%ifarch %{ix86}
853
%define summary_nrj_netbook Linux Kernel for netbook use with i686 & 4GB RAM
854
%define info_nrj_netbook This kernel is compiled for netbook use, single or \
855
multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_250, \
856
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
857
%else
858
%define summary_nrj_netbook Linux Kernel for netbook use with %{_arch}
859
%define info_nrj_netbook This kernel is compiled for netbook use, single or \
860
multiple %{_arch} processor(s)/core(s), using HZ_250, \
861
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
862
%endif
863
%mkflavour nrj-netbook
864
%endif
865
866
#
867
%ifarch %{ix86}
868
#
869
# kernel-nrj-desktop-pae: nrj, i686, smp-alternatives, 64GB
870
#
871
%if %build_nrj_desktop_pae
872
%define summary_nrj_desktop_pae Linux kernel for desktop use with i686 & upto 64GB RAM
873
%define info_nrj_desktop_pae This kernel is compiled for desktop use, single or \
874
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \
875
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
876
%mkflavour nrj-desktop-pae
877
%endif
878
%endif
879
880
#
881
%ifarch %{ix86}
882
#
883
# kernel-nrj-realtime-pae: nrj, i686, smp-alternatives, 64GB
884
#
885
%if %build_nrj_realtime_pae
886
%define summary_nrj_realtime_pae Linux kernel for low latency use with i686 & upto 64GB RAM
887
%define info_nrj_realtime_pae This kernel is compiled for low latency use, single or \
888
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \
889
full preempt, rcu boost, CFS cpu scheduler and new BFQ I/O scheduler, PERFORMANCE governor.
890
%mkflavour nrj-realtime-pae
891
%endif
892
%endif
893
894
#
895
%ifarch %{ix86}
896
#
897
# kernel-nrj-laptop-pae: nrj, i686, smp-alternatives, 64 GB
898
#
899
%if %build_nrj_laptop_pae
900
%define summary_nrj_laptop_pae Linux Kernel for for laptop use with i686 & upto 64GB RAM
901
%define info_nrj_laptop_pae This kernel is compiled for laptop use, single or \
902
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_300, \
903
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
904
%mkflavour nrj-laptop-pae
905
%endif
906
%endif
907
908
#
909
%ifarch %{ix86}
910
#
911
# kernel-nrj-netbook-pae: nrj, i686, smp-alternatives, 64 GB
912
#
913
%if %build_nrj_netbook_pae
914
%define summary_nrj_netbook_pae Linux Kernel for for netbook use with i686 & upto 64GB RAM
915
%define info_nrj_netbook_pae This kernel is compiled for netbook use, single or \
916
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_250, \
917
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
918
%mkflavour nrj-netbook-pae
919
%endif
920
%endif
921
922
#
923
%ifarch %{ix86}
924
#
925
# kernel-nrj-netbook-atom: nrj, for Intel Atom cpu, smp-alternatives, 4 GB
926
#
927
%if %build_nrj_netbook_atom
928
%define summary_nrj_netbook_atom Linux Kernel for netbook use with Intel Atom cpu, less than 4GB RAM
929
%define info_nrj_netbook_atom This kernel is compiled for netbook use, single or \
930
multiple Intel Atom cpu processor(s)/core(s) and less than 4GB RAM, using HZ_250, \
931
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
932
%mkflavour nrj-netbook-atom
933
%endif
934
%endif
935
936
#
937
%ifarch %{ix86}
938
#
939
# kernel-nrj-netbook-atom-pae: nrj, for Intel Atom cpu, smp-alternatives, 64 GB
940
#
941
%if %build_nrj_netbook_atom_pae
942
%define summary_nrj_netbook_atom_pae Linux Kernel for netbook use with Intel Atom cpu & upto 64GB RAM
943
%define info_nrj_netbook_atom_pae This kernel is compiled for netbook use, single or \
944
multiple Intel Atom cpu processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_250, \
945
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
946
%mkflavour nrj-netbook-atom-pae
947
%endif
948
%endif
949
950
#
951
%ifarch %{ix86}
952
#
953
# kernel-nrj-desktop-core2: nrj, Intel Core 2 and newer, smp-alternatives, 4 GB 
954
#
955
%if %build_nrj_desktop_core2
956
%define summary_nrj_desktop_core2 Linux Kernel for desktop use with i686 & 4GB RAM
957
%define info_nrj_desktop_core2 This kernel is compiled for desktop use, single or \
958
multiple Intel Core 2 and newer processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \
959
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
960
%mkflavour nrj-desktop-core2
961
%endif
962
%endif
963
964
#
965
%ifarch %{ix86}
966
#
967
# kernel-nrj-desktop-core2-pae: nrj, Intel Core 2 and newer, smp-alternatives, 64 GB
968
#
969
%if %build_nrj_desktop_core2_pae
970
%define summary_nrj_desktop_core2_pae Linux Kernel for desktop use with i686 & upto 64GB RAM
971
%define info_nrj_desktop_core2_pae This kernel is compiled for desktop use, single or \
972
multiple Intel Core 2 and newer processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \
973
full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor.
974
%mkflavour nrj-desktop-core2-pae
975
%endif
976
%endif
977
978
#
979
# ARM kernels
980
#
981
%ifarch %{arm}
982
%if %build_iop32x
983
%define summary_iop32x Linux Kernel for Arm machines based on Xscale IOP32X
984
%define info_iop32x This kernel is compiled for iop32x boxes. It will run on n2100 \
985
or ss4000e or sanmina boards.
986
%mkflavour iop32x
987
%endif
988
%if %build_kirkwood
989
%define summary_kirkwood Linux Kernel for Arm machines based on Kirkwood
990
%define info_kirkwood This kernel is compiled for kirkwood boxes. It will run on openrd boards.
991
%mkflavour kirkwood
992
%endif
993
%if %build_versatile
994
%define summary_versatile Linux Kernel for Versatile arm machines
995
%define info_versatile This kernel is compiled for Versatile boxes. It will run on Qemu for instance.
996
%mkflavour versatile
997
%endif
998
%endif
999
1000
#
1001
# kernel-source
1002
#
1003
%if %build_source
1004
%package -n %{kname}-source-%{buildrel}
1005
Version: 	%{fakever}
1006
Release: 	%{fakerel}
1007
Requires: 	glibc-devel, ncurses-devel, make, gcc, perl, diffutils
1008
Summary: 	The Linux source code for %{kname}-%{buildrel}
1009
Group: 		Development/Kernel
1010
Autoreqprov: 	no
1011
Provides: 	kernel-source = %{kverrel}
1012
Buildarch:	noarch
1013
1014
%description -n %{kname}-source-%{buildrel}
1015
The %{kname}-source package contains the source code files for the Mandriva and
1016
ROSA kernel. Theese source files are only needed if you want to build your own
1017
custom kernel that is better tuned to your particular hardware.
1018
1019
If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...)
1020
drivers against, install the *-devel-* rpm that is matching your kernel.
1021
1022
#
1023
# kernel-source-latest: virtual rpm
1024
#
1025
%package -n %{kname}-source-latest
1026
Version: 	%{kversion}
1027
Release: 	%{rpmrel}
1028
Summary: 	Virtual rpm for latest %{kname}-source
1029
Group:   	Development/Kernel
1030
Requires: 	%{kname}-source-%{buildrel}
1031
Buildarch:	noarch
1032
1033
%description -n %{kname}-source-latest
1034
This package is a virtual rpm that aims to make sure you always have the
1035
latest %{kname}-source installed...
1036
%endif
1037
1038
#
1039
# kernel-doc: documentation for the Linux kernel
1040
#
1041
%if %build_doc
1042
%package -n %{kname}-doc
1043
Version: 	%{kversion}
1044
Release: 	%{rpmrel}
1045
Summary: 	Various documentation bits found in the %{kname} source
1046
Group: 		Documentation
1047
Buildarch:	noarch
1048
1049
%description -n %{kname}-doc
1050
This package contains documentation files from the %{kname} source.
1051
Various bits of information about the Linux kernel and the device drivers
1052
shipped with it are documented in these files. You also might want install
1053
this package if you need a reference to the options that can be passed to
1054
Linux kernel modules at load time.
1055
%endif
1056
1057
#
1058
# kernel/tools
1059
#
1060
%if %{build_perf}
1061
%package -n perf
1062
Version:	%{kversion}
1063
Release:	%{rpmrel}
1064
Summary:	perf tool and the supporting documentation
1065
Group:		System/Kernel and hardware
1066
1067
%description -n perf
1068
the perf tool and the supporting documentation.
1069
%endif
1070
1071
%if %{build_cpupower}
1072
%package -n cpupower
1073
Version:	%{kversion}
1074
Release:	%{rpmrel}
1075
Summary:	the cpupower tools
1076
Group:		System/Kernel and hardware
1077
Requires(post):  rpm-helper >= 0.24.0-3
1078
Requires(preun): rpm-helper >= 0.24.0-3
1079
%if %{mdvver} >= 201200
1080
Obsoletes:	cpufreq cpufrequtils
1081
%endif
1082
1083
%description -n cpupower
1084
the cpupower tools.
1085
1086
%post -n cpupower
1087
%_post_service cpupower
1088
1089
%preun -n cpupower
1090
%_preun_service cpupower
1091
1092
%package -n cpupower-devel
1093
Version:	%{kversion}
1094
Release:	%{rpmrel}
1095
Summary:	devel files for cpupower
1096
Group:		Development/Kernel
1097
Requires:	cpupower = %{kversion}-%{rpmrel}
1098
Conflicts:	%{_lib}cpufreq-devel
1099
1100
%description -n cpupower-devel
1101
This package contains the development files for cpupower.
1102
%endif
1103
1104
%package headers
1105
Version:	%kversion
1106
Release:	%rpmrel
1107
Summary:	Linux kernel header files mostly used by your C library
1108
Group:		System/Kernel and hardware
1109
Epoch:		1
1110
%rename linux-userspace-headers
1111
1112
%description headers
1113
C header files from the Linux kernel. The header files define
1114
structures and constants that are needed for building most
1115
standard programs, notably the C library.
1116
1117
This package is not suitable for building kernel modules, you
1118
should use the 'kernel-devel' package instead.
1119
1120
%files headers
1121
%_includedir/*
1122
# Don't conflict with cpupower-devel
1123
%if %{build_cpupower}
1124
%exclude %_includedir/cpufreq.h
1125
%endif
1126
1127
#
1128
# End packages - here begins build stage
1129
#
1130
%prep
1131
%setup -q -n %top_dir_name -c
1132
%setup -q -n %top_dir_name -D -T -a100
1133
1134
%define patches_dir ../%{patch_ver}/
1135
1136
cd %src_dir
1137
1138
%if %sublevel
1139
%if %kpatch
1140
%if %prev_sublevel
1141
%patch1 -p1
1142
%endif
1143
%patch2 -p1
1144
%else
1145
%patch1 -p1
1146
%endif
1147
%else
1148
%if %kpatch
1149
%patch1 -p1
1150
%endif
1151
%endif
1152
%if %kgit
1153
%patch2 -p1
1154
%endif
1155
1156
%{patches_dir}/scripts/apply_patches
1157
%{patches_dir}/scripts/apply_patches-NRJ
1158
# %{patches_dir}/scripts/apply_patches-NRJ-only
1159
# %{patches_dir}/scripts/apply_patches-QL
1160
# PATCH END
1161
1162
1163
#
1164
# Setup Begin
1165
#
1166
1167
# Prepare all the variables for calling create_configs
1168
1169
%if %build_debug
1170
%define debug --debug
1171
%else
1172
%define debug --no-debug
1173
%endif
1174
1175
1176
#%{patches_dir}/scripts/create_configs %debug --user_cpu="%{target_arch}"
1177
%{patches_dir}/scripts/create_configs-withBFQ %debug --user_cpu="%{target_arch}"
1178
1179
# make sure the kernel has the sublevel we know it has...
1180
LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile
1181
1182
# get rid of unwanted files
1183
find . -name '*~' -o -name '*.orig' -o -name '*.append' | %kxargs rm -f
1184
1185
1186
%build
1187
1188
############################################################
1189
### Linker start2 > Check point to build for cooker 2013 ###
1190
############################################################
1191
%if %{mdvver} >= 201300
1192
# Make sure we don't use gold
1193
export LD="%{_target_platform}-ld.bfd"
1194
export LDFLAGS="--hash-style=sysv --build-id=none"
1195
%endif
1196
############################################################
1197
###  Linker end2 > Check point to build for cooker 2013  ###
1198
############################################################
1199
1200
# Common target directories
1201
%define _kerneldir /usr/src/linux-%{kversion}-%{buildrpmrel}
1202
%define _bootdir /boot
1203
%define _modulesdir /lib/modules
1204
%define _efidir %{_bootdir}/efi/mandriva
1205
1206
# Directories definition needed for building
1207
%define temp_root %{build_dir}/temp-root
1208
%define temp_source %{temp_root}%{_kerneldir}
1209
%define temp_boot %{temp_root}%{_bootdir}
1210
%define temp_modules %{temp_root}%{_modulesdir}
1211
1212
PrepareKernel() {
1213
	name=$1
1214
	extension=$2
1215
%ifarch %{ix86} x86_64
1216
	config_dir=arch/x86/configs
1217
%endif
1218
%ifarch	%arm
1219
	config_dir=arch/arm/configs
1220
%endif
1221
%ifarch aarc64
1222
	config_dir=arch/arm64/configs
1223
%endif
1224
	echo "Make config for kernel $extension"
1225
1226
	%smake -s mrproper
1227
1228
	if [ "%{target_arch}" == "i386" -o "%{target_arch}" == "x86_64" ]; then
1229
	    if [ -z "$name" ]; then
1230
		cp ${config_dir}/%{target_arch}_defconfig-desktop .config
1231
	    else
1232
		cp ${config_dir}/%{target_arch}_defconfig-$name .config
1233
	    fi
1234
	else
1235
	    if [ -z "$name" ]; then
1236
		cp arch/%{target_arch}/defconfig-desktop .config
1237
	    else
1238
		cp arch/%{target_arch}/defconfig-$name .config
1239
	    fi
1240
	fi
1241
1242
	# make sure EXTRAVERSION says what we want it to say
1243
	LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile
1244
1245
	%smake oldconfig
1246
}
1247
1248
BuildKernel() {
1249
	KernelVer=$1
1250
1251
	echo "Building kernel $KernelVer"
1252
1253
	%kmake -s all
1254
1255
	# kirkwood boxes have u-boot
1256
	if [ "$KernelVer" = "%{kversion}-kirkwood-%{buildrpmrel}" ]; then
1257
		%kmake uImage
1258
	fi
1259
1260
	# Start installing stuff
1261
	install -d %{temp_boot}
1262
	install -m 644 System.map %{temp_boot}/System.map-$KernelVer
1263
	install -m 644 .config %{temp_boot}/config-$KernelVer
1264
	xz -c Module.symvers > %{temp_boot}/symvers-$KernelVer.xz
1265
1266
	%ifarch %{arm}
1267
		if [ -f arch/arm/boot/uImage ]; then
1268
			cp -f arch/arm/boot/uImage %{temp_boot}/uImage-$KernelVer
1269
		else
1270
			cp -f arch/arm/boot/zImage %{temp_boot}/vmlinuz-$KernelVer
1271
		fi
1272
	%else
1273
		cp -f arch/%{target_arch}/boot/bzImage %{temp_boot}/vmlinuz-$KernelVer
1274
	%endif
1275
1276
	# modules
1277
	install -d %{temp_modules}/$KernelVer
1278
	%smake INSTALL_MOD_PATH=%{temp_root} KERNELRELEASE=$KernelVer modules_install
1279
1280
	# headers	
1281
	%make INSTALL_HDR_PATH=%{temp_root}%_prefix KERNELRELEASE=$KernelVer headers_install
1282
1283
	# remove /lib/firmware, we use a separate kernel-firmware
1284
	rm -rf %{temp_root}/lib/firmware
1285
}
1286
1287
SaveDevel() {
1288
	devel_flavour=$1
1289
1290
	DevelRoot=/usr/src/linux-%{kversion}-$devel_flavour-%{buildrpmrel}
1291
	TempDevelRoot=%{temp_root}$DevelRoot
1292
1293
	mkdir -p $TempDevelRoot
1294
	for i in $(find . -name 'Makefile*'); do cp -R --parents $i $TempDevelRoot;done
1295
	for i in $(find . -name 'Kconfig*' -o -name 'Kbuild*'); do cp -R --parents $i $TempDevelRoot;done
1296
	cp -fR include $TempDevelRoot
1297
	# ln -s ../generated/uapi/linux/version.h $TempDevelRoot/include/linux/version.h
1298
	cp -fR scripts $TempDevelRoot
1299
	cp -fR kernel/bounds.c $TempDevelRoot/kernel
1300
	cp -fR tools/include $TempDevelRoot/tools/
1301
	%ifarch %{arm}
1302
		cp -fR arch/%{target_arch}/tools $TempDevelRoot/arch/%{target_arch}/
1303
	%endif
1304
	%ifarch %{ix86} x86_64
1305
		cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/
1306
		cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/
1307
		cp -fR arch/x86/syscalls/syscall* $TempDevelRoot/arch/x86/syscalls/
1308
		cp -fR arch/x86/include $TempDevelRoot/arch/x86/
1309
		cp -fR arch/x86/tools $TempDevelRoot/arch/x86/
1310
	%else
1311
		cp -fR arch/%{target_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{target_arch}/kernel/
1312
		for f in $(find arch/%{target_arch} -name include); do cp -fR --parents $f $TempDevelRoot; done
1313
	%endif
1314
	cp -fR .config Module.symvers $TempDevelRoot
1315
	cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty
1316
1317
	# Needed for truecrypt build (Danny)
1318
	cp -fR drivers/md/dm.h $TempDevelRoot/drivers/md/
1319
1320
	# Needed for lguest
1321
	cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/
1322
1323
	# Needed for lirc_gpio (#39004)
1324
	cp -fR drivers/media/pci/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/pci/bt8xx/
1325
	cp -fR drivers/media/pci/bt8xx/bt848.h $TempDevelRoot/drivers/media/pci/bt8xx/
1326
	cp -fR drivers/media/common/btcx-risc.h $TempDevelRoot/drivers/media/common/
1327
1328
	# Needed for external dvb tree (#41418)
1329
	cp -fR drivers/media/dvb-core/*.h $TempDevelRoot/drivers/media/dvb-core/
1330
	cp -fR drivers/media/dvb-frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb-frontends/
1331
1332
	# add acpica header files, needed for fglrx build
1333
	cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
1334
1335
	# aufs2 has a special file needed
1336
	cp -fR fs/aufs/magic.mk $TempDevelRoot/fs/aufs
1337
1338
	for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \
1339
		 mips mn10300 openrisc parisc powerpc s390 score sh sparc tile unicore32 xtensa; do
1340
		rm -rf $TempDevelRoot/arch/$i
1341
	done
1342
1343
	%ifnarch %{arm}
1344
		rm -rf $TempDevelRoot/arch/arm*
1345
		rm -rf $TempDevelRoot/include/kvm/arm*
1346
	%endif
1347
	%ifnarch %{ix86} x86_64
1348
		rm -rf $TempDevelRoot/arch/x86
1349
	%endif
1350
1351
	# Clean the scripts tree, and make sure everything is ok (sanity check)
1352
	# running prepare+scripts (tree was already "prepared" in build)
1353
	pushd $TempDevelRoot >/dev/null
1354
		%smake -s prepare scripts
1355
		%smake -s clean
1356
	popd >/dev/null
1357
	rm -f $TempDevelRoot/.config.old
1358
1359
	# fix permissions
1360
	chmod -R a+rX $TempDevelRoot
1361
1362
	# disable mrproper in -devel rpms
1363
	patch -p1 --fuzz=0 -d $TempDevelRoot -i %{SOURCE2}
1364
1365
	kernel_devel_files=../kernel_devel_files.$devel_flavour
1366
1367
1368
### Create the kernel_devel_files.*
1369
cat > $kernel_devel_files <<EOF
1370
%dir $DevelRoot
1371
%dir $DevelRoot/arch
1372
%dir $DevelRoot/include
1373
$DevelRoot/3rdparty
1374
$DevelRoot/Documentation
1375
%ifarch %{arm}
1376
$DevelRoot/arch/arm
1377
$DevelRoot/arch/arm64
1378
%endif
1379
$DevelRoot/arch/um
1380
%ifarch %{ix86} x86_64
1381
$DevelRoot/arch/x86
1382
%endif
1383
$DevelRoot/block
1384
$DevelRoot/crypto
1385
$DevelRoot/drivers
1386
$DevelRoot/firmware
1387
$DevelRoot/fs
1388
$DevelRoot/include/Kbuild
1389
$DevelRoot/include/acpi
1390
$DevelRoot/include/asm-generic
1391
$DevelRoot/include/clocksource
1392
$DevelRoot/include/config
1393
$DevelRoot/include/crypto
1394
$DevelRoot/include/drm
1395
$DevelRoot/include/dt-bindings
1396
$DevelRoot/include/generated
1397
$DevelRoot/include/keys
1398
$DevelRoot/include/linux
1399
$DevelRoot/include/math-emu
1400
$DevelRoot/include/media
1401
$DevelRoot/include/memory
1402
$DevelRoot/include/misc
1403
$DevelRoot/include/net
1404
$DevelRoot/include/pcmcia
1405
$DevelRoot/include/ras
1406
$DevelRoot/include/rdma
1407
$DevelRoot/include/rxrpc
1408
$DevelRoot/include/scsi
1409
$DevelRoot/include/sound
1410
$DevelRoot/include/target
1411
$DevelRoot/include/trace
1412
$DevelRoot/include/uapi
1413
$DevelRoot/include/video
1414
$DevelRoot/include/xen
1415
$DevelRoot/init
1416
$DevelRoot/ipc
1417
$DevelRoot/kernel
1418
$DevelRoot/lib
1419
$DevelRoot/mm
1420
$DevelRoot/net
1421
$DevelRoot/samples
1422
$DevelRoot/scripts
1423
$DevelRoot/security
1424
$DevelRoot/sound
1425
$DevelRoot/tools
1426
$DevelRoot/usr
1427
$DevelRoot/virt
1428
$DevelRoot/.config
1429
$DevelRoot/Kbuild
1430
$DevelRoot/Kconfig
1431
$DevelRoot/Makefile
1432
$DevelRoot/Module.symvers
1433
$DevelRoot/arch/Kconfig
1434
%doc README.kernel-sources
1435
EOF
1436
1437
1438
### Create -devel Post script on the fly
1439
cat > $kernel_devel_files-post <<EOF
1440
if [ -d /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel} ]; then
1441
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/{build,source}
1442
	ln -sf $DevelRoot /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build
1443
	ln -sf $DevelRoot /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source
1444
fi
1445
EOF
1446
1447
1448
### Create -devel Preun script on the fly
1449
cat > $kernel_devel_files-preun <<EOF
1450
if [ -L /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build ]; then
1451
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build
1452
fi
1453
if [ -L /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source ]; then
1454
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source
1455
fi
1456
exit 0
1457
EOF
1458
1459
### Create -devel Postun script on the fly
1460
cat > $kernel_devel_files-postun <<EOF
1461
rm -rf /usr/src/linux-%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
1462
EOF
1463
}
1464
1465
SaveDebug() {
1466
	debug_flavour=$1
1467
1468
	install -m 644 vmlinux \
1469
	      %{temp_boot}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel}
1470
	kernel_debug_files=../kernel_debug_files.$debug_flavour
1471
	echo "%{_bootdir}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel}" \
1472
		>> $kernel_debug_files
1473
1474
	find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
1475
		-name "*.ko" | \
1476
		%kxargs -I '{}' objcopy --only-keep-debug '{}' '{}'.debug
1477
	find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
1478
		-name "*.ko" | %kxargs -I '{}' \
1479
		sh -c 'cd `dirname {}`; \
1480
		       objcopy --add-gnu-debuglink=`basename {}`.debug \
1481
		       --strip-debug `basename {}`'
1482
1483
	pushd %{temp_modules}
1484
	find %{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
1485
		-name "*.ko.debug" > debug_module_list
1486
	popd
1487
	cat %{temp_modules}/debug_module_list | \
1488
		sed 's|\(.*\)|%{_modulesdir}/\1|' >> $kernel_debug_files
1489
	cat %{temp_modules}/debug_module_list | \
1490
		sed 's|\(.*\)|%exclude %{_modulesdir}/\1|' \
1491
		>> ../kernel_exclude_debug_files.$debug_flavour
1492
	rm -f %{temp_modules}/debug_module_list
1493
}
1494
1495
CreateFiles() {
1496
	kernel_flavour=$1
1497
1498
	kernel_files=../kernel_files.$kernel_flavour
1499
1500
ker="vmlinuz"
1501
if [ "$kernel_flavour" = "kirkwood" ]; then
1502
       ker="uImage"
1503
fi
1504
### Create the kernel_files.*
1505
cat > $kernel_files <<EOF
1506
%{_bootdir}/System.map-%{kversion}-$kernel_flavour-%{buildrpmrel}
1507
%{_bootdir}/symvers-%{kversion}-$kernel_flavour-%{buildrpmrel}.xz
1508
%{_bootdir}/config-%{kversion}-$kernel_flavour-%{buildrpmrel}
1509
%{_bootdir}/$ker-%{kversion}-$kernel_flavour-%{buildrpmrel}
1510
%dir %{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/
1511
%{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/kernel
1512
%{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/modules.*
1513
%doc README.kernel-sources
1514
EOF
1515
1516
%if %build_debug
1517
    cat ../kernel_exclude_debug_files.$kernel_flavour >> $kernel_files
1518
%endif
1519
1520
### Create kernel Post script
1521
cat > $kernel_files-post <<EOF
1522
%ifarch %{arm}
1523
/sbin/installkernel -i -N %{kversion}-$kernel_flavour-%{buildrpmrel}
1524
%else
1525
/sbin/installkernel %{kversion}-$kernel_flavour-%{buildrpmrel}
1526
pushd /boot > /dev/null
1527
if [ -L vmlinuz-$kernel_flavour ]; then
1528
	rm -f vmlinuz-$kernel_flavour
1529
fi
1530
ln -sf vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel} vmlinuz-$kernel_flavour
1531
if [ -L initrd-$kernel_flavour.img ]; then
1532
	rm -f initrd-$kernel_flavour.img
1533
fi
1534
ln -sf initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img initrd-$kernel_flavour.img
1535
popd > /dev/null
1536
%endif
1537
%if %build_devel
1538
# create kernel-devel symlinks if matching -devel- rpm is installed
1539
if [ -d /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} ]; then
1540
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/{build,source}
1541
	ln -sf /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build
1542
	ln -sf /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source
1543
fi
1544
%endif
1545
EOF
1546
1547
### Create kernel Posttrans script
1548
cat > $kernel_files-posttrans <<EOF
1549
if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} ]; then
1550
    /usr/sbin/dkms_autoinstaller start %{kversion}-$kernel_flavour-%{buildrpmrel}
1551
fi
1552
EOF
1553
1554
### Create kernel Preun script on the fly
1555
cat > $kernel_files-preun <<EOF
1556
/sbin/installkernel -R %{kversion}-$kernel_flavour-%{buildrpmrel}
1557
pushd /boot > /dev/null
1558
if [ -L vmlinuz-$kernel_flavour ]; then
1559
	if [ "$(readlink vmlinuz-$kernel_flavour)" = "vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel}" ]; then
1560
		rm -f vmlinuz-$kernel_flavour
1561
	fi
1562
fi
1563
if [ -L initrd-$kernel_flavour.img ]; then
1564
	if [ "$(readlink initrd-$kernel_flavour.img)" = "initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img" ]; then
1565
		rm -f initrd-$kernel_flavour.img
1566
	fi
1567
fi
1568
popd > /dev/null
1569
%if %build_devel
1570
if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build ]; then
1571
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build
1572
fi
1573
if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source ]; then
1574
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source
1575
fi
1576
%endif
1577
exit 0
1578
EOF
1579
1580
1581
### Create kernel Postun script on the fly
1582
cat > $kernel_files-postun <<EOF
1583
/sbin/kernel_remove_initrd %{kversion}-$kernel_flavour-%{buildrpmrel}
1584
rm -rf /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel} >/dev/null
1585
if [ -d /var/lib/dkms ]; then
1586
    rm -f /var/lib/dkms/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null
1587
    rm -rf /var/lib/dkms/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
1588
    rm -f /var/lib/dkms-binary/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null
1589
    rm -rf /var/lib/dkms-binary/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
1590
fi
1591
EOF
1592
}
1593
1594
1595
CreateKernel() {
1596
	flavour=$1
1597
1598
	PrepareKernel $flavour $flavour-%{buildrpmrel}
1599
1600
	BuildKernel %{kversion}-$flavour-%{buildrpmrel}
1601
	%if %build_devel
1602
		SaveDevel $flavour
1603
	%endif
1604
	%if %build_debug
1605
		SaveDebug $flavour
1606
	%endif
1607
	CreateFiles $flavour
1608
}
1609
1610
1611
###
1612
# DO it...
1613
###
1614
1615
1616
# Create a simulacro of buildroot
1617
rm -rf %{temp_root}
1618
install -d %{temp_root}
1619
1620
1621
# make sure we are in the directory
1622
cd %src_dir
1623
1624
%ifarch %{ix86}
1625
%if %build_desktop586
1626
CreateKernel desktop586
1627
%endif
1628
%endif
1629
1630
%if %build_desktop
1631
CreateKernel desktop
1632
%endif
1633
1634
%if %build_netbook
1635
CreateKernel netbook
1636
%endif
1637
1638
%if %build_server
1639
CreateKernel server
1640
%endif
1641
1642
%ifarch %{ix86}
1643
%if %build_desktop_pae
1644
CreateKernel desktop-pae
1645
%endif
1646
%endif
1647
1648
%ifarch %{ix86}
1649
%if %build_netbook_pae
1650
CreateKernel netbook-pae
1651
%endif
1652
%endif
1653
1654
%ifarch %{ix86}
1655
%if %build_nrj_desktop586
1656
CreateKernel nrj-desktop586
1657
%endif
1658
%endif
1659
1660
%if %build_nrj_desktop
1661
CreateKernel nrj-desktop
1662
%endif
1663
1664
%if %build_nrj_realtime
1665
CreateKernel nrj-realtime
1666
%endif
1667
1668
%if %build_nrj_laptop
1669
CreateKernel nrj-laptop
1670
%endif
1671
1672
%if %build_nrj_netbook
1673
CreateKernel nrj-netbook
1674
%endif
1675
1676
%ifarch %{ix86}
1677
%if %build_nrj_desktop_pae
1678
CreateKernel nrj-desktop-pae
1679
%endif
1680
%endif
1681
1682
%ifarch %{ix86}
1683
%if %build_nrj_realtime_pae
1684
CreateKernel nrj-realtime-pae
1685
%endif
1686
%endif
1687
1688
%ifarch %{ix86}
1689
%if %build_nrj_laptop_pae
1690
CreateKernel nrj-laptop-pae
1691
%endif
1692
%endif
1693
1694
%ifarch %{ix86}
1695
%if %build_nrj_netbook_pae
1696
CreateKernel nrj-netbook-pae
1697
%endif
1698
%endif
1699
1700
%ifarch %{ix86}
1701
%if %build_nrj_netbook_atom
1702
CreateKernel nrj-netbook-atom
1703
%endif
1704
%endif
1705
1706
%ifarch %{ix86}
1707
%if %build_nrj_netbook_atom_pae
1708
CreateKernel nrj-netbook-atom-pae
1709
%endif
1710
%endif
1711
1712
%ifarch %{ix86}
1713
%if %build_nrj_desktop_core2
1714
CreateKernel nrj-desktop-core2
1715
%endif
1716
%endif
1717
1718
%ifarch %{ix86}
1719
%if %build_nrj_desktop_core2_pae
1720
CreateKernel nrj-desktop-core2-pae
1721
%endif
1722
%endif
1723
1724
%ifarch %{arm}
1725
%if %build_iop32x
1726
CreateKernel iop32x
1727
%endif
1728
%if %build_kirkwood
1729
CreateKernel kirkwood
1730
%endif
1731
%if %build_versatile
1732
CreateKernel versatile
1733
%endif
1734
%endif
1735
1736
# set extraversion to match srpm to get nice version reported by the tools
1737
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile
1738
1739
1740
############################################################
1741
### Linker start3 > Check point to build for cooker 2013 ###
1742
############################################################
1743
# build perf
1744
1745
%if %{build_perf}
1746
%if %{mdvver} < 201300
1747
%make -C tools/perf -s HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} all
1748
%make -C tools/perf -s prefix=%{_prefix} man
1749
%else
1750
%make -C tools/perf -s HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} LDFLAGS="%optflags" all
1751
%make -C tools/perf -s prefix=%{_prefix} LDFLAGS="%optflags" man
1752
%endif
1753
%endif
1754
1755
# build cpupower
1756
1757
%if %{build_cpupower}
1758
# make sure version-gen.sh is executable.
1759
chmod +x tools/power/cpupower/utils/version-gen.sh
1760
%if %{mdvver} < 201300
1761
%make -C tools/power/cpupower CPUFREQ_BENCH=false
1762
%else
1763
%kmake -C tools/power/cpupower CPUFREQ_BENCH=false LDFLAGS="%optflags"
1764
%endif
1765
%endif
1766
############################################################
1767
###  Linker end3 > Check point to build for cooker 2013  ###
1768
############################################################
1769
1770
1771
# We don't make to repeat the depend code at the install phase
1772
%if %build_source
1773
%ifarch %{arm}
1774
    PrepareKernel "kirkwood" %{buildrpmrel}custom
1775
%else
1776
    PrepareKernel "" %{buildrpmrel}custom
1777
%endif
1778
%smake -s mrproper
1779
%endif
1780
1781
1782
###
1783
### install
1784
###
1785
%install
1786
install -m 644 %{SOURCE4}  .
1787
1788
cd %src_dir
1789
1790
# Directories definition needed for installing
1791
%define target_source %{buildroot}%{_kerneldir}
1792
%define target_boot %{buildroot}%{_bootdir}
1793
%define target_modules %{buildroot}%{_modulesdir}
1794
1795
# We want to be able to test several times the install part
1796
rm -rf %{buildroot}
1797
cp -a %{temp_root} %{buildroot}
1798
1799
# Create directories infastructure
1800
%if %build_source
1801
install -d %{target_source}
1802
1803
tar cf - . | tar xf - -C %{target_source}
1804
chmod -R a+rX %{target_source}
1805
1806
# we remove all the source files that we don't ship
1807
# first architecture files
1808
for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \
1809
	 mips openrisc parisc powerpc s390 score sh sh64 sparc tile unicore32 v850 xtensa mn10300; do
1810
	rm -rf %{target_source}/arch/$i
1811
done
1812
%ifnarch %{arm}
1813
	rm -rf %{target_source}/include/kvm/arm*
1814
%endif
1815
1816
# other misc files
1817
rm -f %{target_source}/{.config.old,.config.cmd,.gitignore,.lst,.mailmap}
1818
rm -f %{target_source}/{.missing-syscalls.d,arch/.gitignore,firmware/.gitignore}
1819
rm -rf %{target_source}/.tmp_depmod/
1820
1821
#endif %build_source
1822
%endif
1823
1824
# compressing modules
1825
%if %{build_modxz}
1826
find %{target_modules} -name "*.ko" | %kxargs xz -6e
1827
%else
1828
find %{target_modules} -name "*.ko" | %kxargs gzip -9
1829
%endif
1830
1831
# We used to have a copy of PrepareKernel here
1832
# Now, we make sure that the thing in the linux dir is what we want it to be
1833
for i in %{target_modules}/*; do
1834
	rm -f $i/build $i/source
1835
done
1836
1837
# sniff, if we compressed all the modules, we change the stamp :(
1838
# we really need the depmod -ae here
1839
pushd %{target_modules}
1840
for i in *; do
1841
	/sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i
1842
	echo $?
1843
done
1844
1845
for i in *; do
1846
	pushd $i
1847
	echo "Creating modules.description for $i"
1848
	modules=`find . -name "*.ko.[g,x]z"`
1849
	echo $modules | %kxargs /sbin/modinfo \
1850
	| perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description
1851
	popd
1852
done
1853
popd
1854
1855
# need to set extraversion to match srpm again to avoid rebuild
1856
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile
1857
%if %{build_perf}
1858
1859
# perf tool binary and supporting scripts/binaries
1860
make -C tools/perf -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install
1861
1862
# perf man pages (note: implicit rpm magic compresses them later)
1863
make -C tools/perf  -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install-man
1864
%endif
1865
1866
############################################################
1867
### Linker start4 > Check point to build for cooker 2013 ###
1868
############################################################
1869
%if %{build_cpupower}
1870
%if %{mdvver} < 201300
1871
make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install
1872
%else
1873
%make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false LDFLAGS="%optflags" install
1874
%endif
1875
rm -f %{buildroot}%{_libdir}/*.{a,la}
1876
%find_lang cpupower
1877
mv cpupower.lang ../
1878
chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
1879
mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
1880
install -m644 %{SOURCE50} %{buildroot}%{_unitdir}/cpupower.service
1881
install -m644 %{SOURCE51} %{buildroot}%{_sysconfdir}/sysconfig/cpupower
1882
%endif
1883
############################################################
1884
### Linker start4 > Check point to build for cooker 2013 ###
1885
############################################################
1886
1887
###
1888
### clean
1889
###
1890
%clean
1891
rm -rf %{buildroot}
1892
1893
1894
# We don't want to remove this, the whole reason of its existence is to be
1895
# able to do several rpm --short-circuit -bi for testing install
1896
# phase without repeating compilation phase
1897
#rm -rf %{temp_root}
1898
1899
###
1900
### source and doc file lists
1901
###
1902
1903
%if %build_source
1904
%files -n %{kname}-source-%{buildrel}
1905
%dir %{_kerneldir}
1906
%dir %{_kerneldir}/arch
1907
%dir %{_kerneldir}/include
1908
%{_kerneldir}/3rdparty
1909
%{_kerneldir}/Documentation
1910
%{_kerneldir}/arch/Kconfig
1911
%{_kerneldir}/arch/arm
1912
%{_kerneldir}/arch/arm64
1913
%{_kerneldir}/arch/um
1914
%{_kerneldir}/arch/x86
1915
%{_kerneldir}/block
1916
%{_kerneldir}/crypto
1917
%{_kerneldir}/drivers
1918
%{_kerneldir}/firmware
1919
%{_kerneldir}/fs
1920
%{_kerneldir}/include/Kbuild
1921
%{_kerneldir}/include/acpi
1922
%{_kerneldir}/include/asm-generic
1923
%{_kerneldir}/include/clocksource
1924
%{_kerneldir}/include/crypto
1925
%{_kerneldir}/include/drm
1926
%{_kerneldir}/include/dt-bindings
1927
%{_kerneldir}/include/keys
1928
%{_kerneldir}/include/linux
1929
%{_kerneldir}/include/math-emu
1930
%{_kerneldir}/include/media
1931
%{_kerneldir}/include/memory
1932
%{_kerneldir}/include/misc
1933
%{_kerneldir}/include/net
1934
%{_kerneldir}/include/pcmcia
1935
%{_kerneldir}/include/ras
1936
%{_kerneldir}/include/rdma
1937
%{_kerneldir}/include/rxrpc
1938
%{_kerneldir}/include/scsi
1939
%{_kerneldir}/include/sound
1940
%{_kerneldir}/include/target
1941
%{_kerneldir}/include/trace
1942
%{_kerneldir}/include/uapi
1943
%{_kerneldir}/include/video
1944
%{_kerneldir}/include/xen
1945
%{_kerneldir}/init
1946
%{_kerneldir}/ipc
1947
%{_kerneldir}/kernel
1948
%{_kerneldir}/lib
1949
%{_kerneldir}/mm
1950
%{_kerneldir}/net
1951
%{_kerneldir}/virt
1952
%{_kerneldir}/samples
1953
%{_kerneldir}/scripts
1954
%{_kerneldir}/security
1955
%{_kerneldir}/sound
1956
%{_kerneldir}/tools
1957
%{_kerneldir}/usr
1958
%{_kerneldir}/COPYING
1959
%{_kerneldir}/CREDITS
1960
%{_kerneldir}/Kbuild
1961
%{_kerneldir}/Kconfig
1962
%{_kerneldir}/MAINTAINERS
1963
%{_kerneldir}/Makefile
1964
%{_kerneldir}/README
1965
%{_kerneldir}/REPORTING-BUGS
1966
%doc README.kernel-sources
1967
1968
%files -n %{kname}-source-latest
1969
%endif
1970
1971
%if %build_doc
1972
%files -n %{kname}-doc
1973
%doc linux-%{tar_ver}/Documentation/*
1974
%endif
1975
1976
%if %{build_perf}
1977
%files -n perf
1978
%{_bindir}/perf
1979
%dir %{_prefix}/libexec/perf-core
1980
%{_prefix}/libexec/perf-core/*
1981
%{_mandir}/man[1-8]/perf*
1982
%{_sysconfdir}/bash_completion.d/perf
1983
%endif
1984
1985
%if %{build_cpupower}
1986
%files -n cpupower -f cpupower.lang
1987
%{_bindir}/cpupower
1988
%{_libdir}/libcpupower.so.0
1989
%{_libdir}/libcpupower.so.0.0.0
1990
%{_unitdir}/cpupower.service
1991
%{_mandir}/man[1-8]/cpupower*
1992
%config(noreplace) %{_sysconfdir}/sysconfig/cpupower
1993
1994
%files -n cpupower-devel
1995
%{_libdir}/libcpupower.so
1996
%{_includedir}/cpufreq.h
1997
%endif
1998
1999
2000
%changelog
2001
2002
* Mon Jan 13 2014 Nicolo' Costanza <abitrules@yahoo.it> 3.12.7-1
2003
+ update to 3.12.7 stable
2004
- sync and add new patches
2005
- drop 3rdparty heci driver (obsoleted by in-kernel mei driver)
2006
- switch to percpu squashfs multi-decompressor on i586 & x86_64
2007
- ---------------------------------------------------------------------
2008
- Kernel 3.12 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2009
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2010
- The rel -1 (mainline serie), with official kernel sources and addons,
2011
- instead (-69) will be used for development and experimental flavours,
2012
- Yin & Yang (69) release - a very complete but experimental flavours...
2013
- ---------------------------------------------------------------------
2014
2015
* Tue Dec 31 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.12.6-1
2016
+ update to 3.12.6 stable
2017
- add fix(?) to properly rebuild the modules for latest VMware products 
2018
- add patch: reiser4-for-3.12.6.patch
2019
- add fix to all kernel.spec for a proper "cooker" rebuild 
2020
- drop a workaround introduced since 3.7.9-1 to fix issues with dkms: 
2021
- # /linux/version.h symlink to /include/generated/uapi/linux/version.h
2022
- hoping there will follow many other kernels developed by me...
2023
- ---------------------------------------------------------------------
2024
- Kernel 3.12 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2025
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2026
- The rel -1 (mainline serie), with official kernel sources and addons,
2027
- instead (-69) will be used for development and experimental flavours,
2028
- Yin & Yang (69) release - a very complete but experimental flavours...
2029
- ---------------------------------------------------------------------
2030
2031
* Fri Dec 20 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.12.5-1
2032
+ update to 3.12.5 stable
2033
+ this is first version of "nrj" stable 3.12.x, in its early development
2034
- stage, so, it's only for testing purposes, please, dont use this srpm,
2035
- because is still to fix all over!!!
2036
-
2037
- hoping there will follow many other kernels developed by me...
2038
-
2039
- all the defconfigs have been prepared for the 3.12 series
2040
- all the patches have been added for the 3.12 series
2041
- all the create_configs scripts have been updated to v.2.0
2042
- all the kernel specs have been updated to the 3.12 series
2043
- ---------------------------------------------------------------------
2044
- Kernel 3.12 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2045
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2046
- The rel -1 (mainline serie), with official kernel sources and addons,
2047
- instead (-69) will be used for development and experimental flavours,
2048
- Yin & Yang (69) release - a very complete but experimental flavours...
2049
- ---------------------------------------------------------------------
2050
2051
* Sun Dec 01 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.10-1
2052
+ update to 3.11.10 stable
2053
- http://lwn.net/Articles/575269/ > This is EOL for 3.11
2054
- * 44 files changed, 395 insertions(+), 195 deletions(-)
2055
- update: /patches-QL/tuxonice-for-linux-3.11.10-2013-11-30.patch
2056
- small fixes and cleanups
2057
- ---------------------------------------------------------------------
2058
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2059
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2060
- The rel -1 (mainline serie), with official kernel sources and addons,
2061
- the rel -69  is used for development and the experimental flavours,
2062
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2063
- Yin & Yang (69) release - a very complete but experimental flavours...
2064
- ---------------------------------------------------------------------
2065
2066
* Thu Nov 28 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.9-1
2067
+ update to 3.11.9 stable
2068
- revert latest EFI changes
2069
  * CONFIG_EFIVAR_FS set to m
2070
  * CONFIG_EFI_VARS set to y
2071
- update: /patches-QL/tuxonice-for-linux-3.11.9-2013-11-22.patch
2072
- ---------------------------------------------------------------------
2073
- Kernel 3.11 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2074
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2075
- The rel -1 (mainline serie), with official kernel sources and addons,
2076
- the rel -69  is used for development and the experimental flavours,
2077
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2078
- Yin & Yang (69) release - a very complete but experimental flavours...
2079
- --------------------------------------------------------------------
2080
2081
* Sat Nov 16 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.8-1
2082
+ update to 3.11.8 stable 
2083
- update: /patches-QL/tuxonice-for-linux-3.11.8-2013-11-15.patch
2084
- Thanks to Eugene Shatokhin we have a modified BFS patch compatible with
2085
- the ondemand speed-up patch, so also nrjQL should perform even better...
2086
- ---------------------------------------------------------------------
2087
- Kernel 3.11 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2088
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2089
- The rel -1 (mainline serie), with official kernel sources and addons,
2090
- the rel -69  is used for development and the experimental flavours,
2091
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2092
- Yin & Yang (69) release - a very complete but experimental flavours...
2093
- --------------------------------------------------------------------
2094
2095
* Sun Nov 10 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.7-1
2096
+ update to 3.11.7 stable plus all the patches from the 3.11.8-rc1
2097
- update: /patches-QL/uksm-0.1.2.2-for-v3.11.ge.7.patch
2098
- ---------------------------------------------------------------------
2099
- Kernel 3.11 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2100
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2101
- The rel -1 (mainline serie), with official kernel sources and addons,
2102
- the rel -69  is used for development and the experimental flavours,
2103
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2104
- Yin & Yang (69) release - a very complete but experimental flavours...
2105
- --------------------------------------------------------------------
2106
2107
* Thu Nov 07 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.7-1
2108
+ update to 3.11.7 stable
2109
- update: /patches-QL/tuxonice-for-linux-3.11.7-2013-11-07.patch
2110
- add 'on request' by Eugene Shatokhin, few MEI changes to avoid too many error logs wasting space
2111
  * CONFIG_INTEL_MEI from "=y" to "=m"
2112
  * CONFIG_INTEL_MEI_ME from "=y" to "=m"
2113
- add 'on request' by Alexander Burmashev: CONFIG_DRM_LOAD_EDID_FIRMWARE=y
2114
  * with this we should be able to override the wrong EDID of displays with options at kernel boot
2115
  * About EDID override howto, you read here:
2116
  * https://www.osadl.org/monitoring/patches/r2s0/drivers-gpu-drm-allow-to-load-edid-firmware.patch
2117
- add 'on request' by Alexander Kazancev the full configs for UEFI from:
2118
  * https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Linux_Kernel_Config_options_for_UEFI
2119
  * add CONFIG_RELOCATABLE=y also for i386.config
2120
  * change CONFIG_EFIVAR_FS from "=m" to "=y"
2121
  * change CONFIG_EFI_VARS from "=y" to "=n"
2122
- add a patch to speed-up nuveau / radeon timers improvments for (from an 3.12 idea),
2123
- it was addded patches-NRJ-only, /scripts/apply_patches-NRJ-only, and a spec modify
2124
  * openSUSE 13.1 RC2 Updates Systemd, Has Speedy Fix:
2125
  * http://www.phoronix.com/scan.php?page=news_item&px=MTQ5OTc
2126
  * Here's Why Radeon Graphics Are Faster On Linux 3.12:
2127
  * http://www.phoronix.com/scan.php?page=article&item=linux_312_performance&num=1
2128
- ---------------------------------------------------------------------
2129
- Kernel 3.11 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2130
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2131
- The rel -1 (mainline serie), with official kernel sources and addons,
2132
- the rel -69  is used for development and the experimental flavours,
2133
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2134
- Yin & Yang (69) release - a very complete but experimental flavours...
2135
- --------------------------------------------------------------------
2136
2137
* Sat Oct 19 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.6-1
2138
+ update to 3.11.6 stable
2139
- add 'on request' by 'Bero' aka Bernhard Rosenkränzer:
2140
  * add: linux-3.11.4-saa716x.patch > driver for SAA7160 based DVB cards
2141
  * add: to the /configs/*.config the proper keys for the SAA7160 driver
2142
- add 3.11-haswell-intel_pstate.patch > to support P-state in new Haswell
2143
- add 'on request' by Eugene Shatokhin: if debug > DEBUG_INFO_REDUCED=y
2144
- add /specs folder with 4 kernel.spec, so you can use any other .specs
2145
- drop to cleanups two old and really not used patches:
2146
  * /patches-NRJ/kernel-inittmpfs.patch
2147
  * /patches-NRJ/vhba-3.8-20130427.patch
2148
- update: tuxonice-for-linux-3.11.6-2013-10-19.patch
2149
- fix: missing XEN configs to all the -server flavours with config_xen();
2150
- small fixes and aestetic cleanups to all the create_configs-* /scripts
2151
- ---------------------------------------------------------------------
2152
- Kernel 3.11 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2153
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2154
- The rel -1 (mainline serie), with official kernel sources and addons,
2155
- the rel -69  is used for development and the experimental flavours,
2156
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2157
- Yin & Yang (69) release - a very complete but experimental flavours...
2158
- --------------------------------------------------------------------
2159
2160
* Wed Oct 09 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.4-1
2161
+ update to 3.11.4 stable
2162
- update: tuxonice-for-linux-3.11.4-2013-10-06.patch
2163
- remove: patches-others, patches-extras folders as now are patches-NRJ
2164
- remove: /scripts/apply_patches-extras, /scripts/apply_patches-others
2165
- change: kernel.spec now apply_patches-NRJ instead then extras, others
2166
- ---------------------------------------------------------------------
2167
- Kernel 3.11 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2168
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2169
- The rel -1 (mainline serie), with official kernel sources and addons,
2170
- the rel -69  is used for development and the experimental flavours,
2171
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2172
- Yin & Yang (69) release - a very complete but experimental flavours...
2173
- --------------------------------------------------------------------
2174
2175
* Sun Oct 06 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.11.1-1
2176
+ this is first version of "nrj" stable 3.11.1, in its early development
2177
- stage, so, it's only for testing purposes, please, dont use this srpm,
2178
- because is still to fix all over!!!
2179
+ update to 3.11.1 stable
2180
- defconfigs: have been prepared for 3.11 series
2181
- patches: have been updated for the 3.11 series
2182
- specs: some needed updates to nrj, nrjQL, ONE
2183
- ---------------------------------------------------------------------
2184
- Kernel 3.11 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2185
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2186
- The rel -1 (mainline serie), with official kernel sources and addons,
2187
- the rel -69  is used for development and the experimental flavours,
2188
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2189
- Yin & Yang (69) release - a very complete but experimental flavours...
2190
- --------------------------------------------------------------------
2191
2192
* Sat Oct 05 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.15-69
2193
+ update to 3.10.15 stable
2194
- sync: /patches
2195
- modified defconfigs for:
2196
 * # CONFIG_FW_LOADER_USER_HELPER is not set
2197
 * # CONFIG_X86_GOLDFISH is not set
2198
- ---------------------------------------------------------------------
2199
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2200
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2201
- The rel -1 (mainline serie), with official kernel sources and addons,
2202
- the rel -69  is used for development and the experimental flavours,
2203
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2204
- Yin & Yang (69) release - a very complete but experimental flavours...
2205
- ---------------------------------------------------------------------
2206
2207
* Tue Oct 01 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.14-1
2208
+ update to 3.10.14 stable
2209
- drop: fbcondecor.patch from /patches-others and /patches-NRJ (one)
2210
- changes in defconfigs:
2211
- drop config for CONFIG_FB_CON_DECOR
2212
- recover to CONFIG_FB_TILEBLITTING=y
2213
- ---------------------------------------------------------------------
2214
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2215
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2216
- The rel -1 (mainline serie), with official kernel sources and addons,
2217
- the rel -69  is used for development and the experimental flavours,
2218
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2219
- Yin & Yang (69) release - a very complete but experimental flavours...
2220
- ---------------------------------------------------------------------
2221
2222
* Fri Sep 27 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.13-1
2223
+ update to 3.10.13 stable
2224
- update patch
2225
- * /patches-QL/tuxonice-for-linux-3.10.13-2013-09-27.patch
2226
- ---------------------------------------------------------------------
2227
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2228
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2229
- The rel -1 (mainline serie), with official kernel sources and addons,
2230
- the rel -69  is used for development and the experimental flavours,
2231
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2232
- Yin & Yang (69) release - a very complete but experimental flavours...
2233
- ---------------------------------------------------------------------
2234
2235
* Mon Sep 16 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.12-1
2236
+ update to 3.10.12 stable
2237
- add patch
2238
- * linux-fixuClibc.patch
2239
- (it was recommended by Alexander Burmashev: uclibc builds on kernel 3.10
2240
- we have a lot of such stuff in cooker, especially recommended for cooker)
2241
- drop patches from previous 3.0.11 (these are already applied in 3.10.12):
2242
  * net-sched-psched_ratecfg_precompute-improvements.patch
2243
  * net-sched-restore-linklayer-atm-handling.patch
2244
- ---------------------------------------------------------------------
2245
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2246
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2247
- The rel -1 (mainline serie), with official kernel sources and addons,
2248
- the rel -69  is used for development and the experimental flavours,
2249
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2250
- Yin & Yang (69) release - a very complete but experimental flavours...
2251
- ---------------------------------------------------------------------
2252
2253
* Tue Sep 10 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.11-1
2254
+ update to 3.10.11 stable
2255
- the compressed folder now is the same (mibrel 69) for -1/-69/-70(one) 
2256
- sync: new /patches:
2257
  * /patches-QL/tuxonice-for-linux-3.10.11-2013-09-10.patch
2258
- drop old 3.10.10 patches (these are already applied in 3.10.11):
2259
  * kernel-workqueue-cond_resched-after-processing-each-work-item.patch
2260
  * jfs-fix-readdir-cookie-incompatibility-with-nfsv4.patch
2261
  * drm-nouveau-mc-fix-race-condition-between-constructor-and-request_irq.patch
2262
  * net-wireless-ath-ath9k-Enable-PLL-fix-only-for-AR9340-AR9330.patch
2263
  * net-mac80211-add-a-flag-to-indicate-CCK-support-for-HT-clients.patch
2264
  * net-sunrpc-Fix-memory-corruption-issue-on-32-bit-highmem-systems.patch
2265
- ---------------------------------------------------------------------
2266
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2267
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2268
- The rel -1 (mainline serie), with official kernel sources and addons,
2269
- the rel -69  is used for development and the experimental flavours,
2270
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2271
- Yin & Yang (69) release - a very complete but experimental flavours...
2272
- ---------------------------------------------------------------------
2273
2274
* Sun Sep 01 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.10-1
2275
+ update to 3.10.10 stable
2276
- BFQ: replaced with fixed version (nr.3 patches 3.10.8+-v6r2/ dated 25 August)
2277
- sync: /patches
2278
- updates: /patches-others /patches-NRJ /patches-QL /patches-RT
2279
- modified all defconfigs, enabled: CONFIG_CHECKPOINT_RESTORE=y
2280
- modified create_configs (all -server flavours: compression from XZ to GZIP)
2281
- fixed Kconflicts for all distro or almost (hoping...)
2282
- ---------------------------------------------------------------------
2283
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2284
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2285
- The rel -1 (mainline serie), with official kernel sources and addons,
2286
- instead (-69) will be used for development and experimental flavours,
2287
- Yin & Yang (69) release - a very complete but experimental flavours...
2288
- ---------------------------------------------------------------------
2289
2290
* Thu Aug 22 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.9-1
2291
- replacement 3.10.9 release
2292
- To fix the "hangs on boot issue" signaled: bugs.rosalinux.ru/show_bug.cgi?id=2530
2293
- add: /patches-NRJ/0004-block-Switch-from-BFQ-v6r2-for-3.10.0-to-BFQ-v6r2-fo.patch
2294
- sync: /patches
2295
- update: /patches-QL/tuxonice-for-linux-3.10.9-2013-08-21.patch
2296
- fix conflicts as suggested by Tomasz Paweł Gajc: dkms-nvidia-current < 325.15-1
2297
- ---------------------------------------------------------------------
2298
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2299
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2300
- The rel -1 (mainline serie), with official kernel sources and addons,
2301
- instead (-69) will be used for development and experimental flavours,
2302
- Yin & Yang (69) release - a very complete but experimental flavours...
2303
- ---------------------------------------------------------------------
2304
2305
* Wed Aug 21 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.9-1
2306
+ update to 3.10.9 stable
2307
- ---------------------------------------------------------------------
2308
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2309
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2310
- The rel -1 (mainline serie), with official kernel sources and addons,
2311
- instead (-69) will be used for development and experimental flavours,
2312
- Yin & Yang (69) release - a very complete but experimental flavours...
2313
- ---------------------------------------------------------------------
2314
2315
* Tue Aug 20 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.8-1
2316
+ update to 3.10.8 stable
2317
- sync and update few patches
2318
- the compressed folder has redundant contents to be used for NRJ4/NRJ5:
2319
- the same folder can be used with kernel.spec for new Kernels ONE model
2320
- ---------------------------------------------------------------------
2321
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2322
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2323
- The rel -1 (mainline serie), with official kernel sources and addons,
2324
- instead (-69) will be used for development and experimental flavours,
2325
- Yin & Yang (69) release - a very complete but experimental flavours...
2326
- ---------------------------------------------------------------------
2327
2328
* Thu Aug 15 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.7-1
2329
+ update to 3.10.7 stable
2330
- sync patches, drop old stable queue, drm-radeon and zram patches
2331
- fixed the Conflicts: dkms-broadcom-wl < 5.100.82.112-12
2332
- fixed create_configs (ver 1.8) - removed question when -netbook +pae
2333
  * modified from: $values{XEN} = "n"; >>> to >>> $to_add{XEN} = "n";
2334
- ---------------------------------------------------------------------
2335
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2336
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2337
- The rel -1 (mainline serie), with official kernel sources and addons,
2338
- instead (-69) will be used for development and experimental flavours,
2339
- Yin & Yang (69) release - a very complete but experimental flavours...
2340
- ---------------------------------------------------------------------
2341
2342
* Tue Aug 13 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.6-1
2343
+ update to 3.10.6 stable
2344
- sync all /patches
2345
- update QL patch: tuxonice-for-linux-3.10.6-2013-08-13.patch
2346
- fixed Conflicts with new proprietary driver version-release
2347
- fixed Provides value for Alsa
2348
- small fix to .spec for %files headers section
2349
- ---------------------------------------------------------------------
2350
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2351
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2352
- The rel -1 (mainline serie), with official kernel sources and addons,
2353
- instead (-69) will be used for development and experimental flavours,
2354
- Yin & Yang (69) release - a very complete but experimental flavours...
2355
- ---------------------------------------------------------------------
2356
2357
* Wed Aug 07 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.5-1
2358
+ update to 3.10.5 stable
2359
- sync all /patches
2360
- sync defconfigs
2361
- enable ndiswrapper
2362
- update QL patch: tuxonice-for-linux-3.10.5-2013-08-04.patch
2363
- revert to power save disable to verify if fixes an issue of audio noise:
2364
- (that issue has been firstly reported by "dago68", then verified by me)
2365
  * CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
2366
  * CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
2367
- ---------------------------------------------------------------------
2368
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2369
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2370
- The rel -1 (mainline serie), with official kernel sources and addons,
2371
- instead (-69) will be used for development and experimental flavours,
2372
- Yin & Yang (69) release - a very complete but experimental flavours...
2373
- ---------------------------------------------------------------------
2374
2375
* Thu Aug 01 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.4-1
2376
+ update to 3.10.4 stable
2377
- revert to old /scripts/create_configs-QL behaviour:
2378
  * now -laptop and -netbook are 300 and 250HZ again
2379
- sync /patches
2380
- update patch: tuxonice-for-linux-3.10.4-2013-07-30.patch
2381
- ---------------------------------------------------------------------
2382
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2383
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2384
- The rel -1 (mainline serie), with official kernel sources and addons,
2385
- instead (-69) will be used for development and experimental flavours,
2386
- Yin & Yang (69) release - a very complete but experimental flavours...
2387
- ---------------------------------------------------------------------
2388
2389
* Tue Jul 30 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.1-1
2390
+ update to 3.10.1 stable
2391
- all the defconfigs have been prepared for 3.10 series
2392
- all the patches have been updated for the 3.10 series
2393
- update kernel specs
2394
- ---------------------------------------------------------------------
2395
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2396
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2397
- The rel -1 (mainline serie), with official kernel sources and addons,
2398
- instead (-69) will be used for development and experimental flavours,
2399
- Yin & Yang (69) release - a very complete but experimental flavours...
2400
- ---------------------------------------------------------------------
2401
2402
* Tue Jul 23 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.11-1
2403
+ update to stable 3.9.11 (EOL)
2404
- update patches:
2405
  * tuxonice-for-linux-3.9.11-2013-07-21.patch
2406
- update defconfigs
2407
- ---------------------------------------------------------------------
2408
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2409
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2410
- The rel -1 (mainline serie), with official kernel sources and addons,
2411
- instead (-69) will be used for development and experimental flavours,
2412
- Yin & Yang (69) release - a very complete but experimental flavours...
2413
- ---------------------------------------------------------------------
2414
2415
* Wed Jul 17 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.10-1
2416
+ update to 3.9.10 stable
2417
- update patches:
2418
  * tuxonice-for-linux-3.9.10-2013-07-14.patch
2419
  * uksm-0.1.2.2-for-v3.9.ge.8.patch
2420
- update defconfigs
2421
- ---------------------------------------------------------------------
2422
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2423
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2424
- The rel -1 (mainline serie), with official kernel sources and addons,
2425
- instead (-69) will be used for development and experimental flavours,
2426
- Yin & Yang (69) release - a very complete but experimental flavours...
2427
- ---------------------------------------------------------------------
2428
2429
* Fri Jul 05 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.9-1
2430
+ update to 3.9.9 stable
2431
- update update: tuxonice-for-linux-3.9-8-2013-06-29.patch
2432
- added patch: net-wireless-bcma-add-support-for-BCM43142.patch
2433
- ---------------------------------------------------------------------
2434
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2435
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2436
- The rel -1 (mainline serie), with official kernel sources and addons,
2437
- instead (-69) will be used for development and experimental flavours,
2438
- Yin & Yang (69) release - a very complete but experimental flavours...
2439
- ---------------------------------------------------------------------
2440
2441
* Thu Jun 27 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.8-1
2442
+ update to 3.9.8 stable
2443
- update patch: tuxonice-for-linux-3.9-7-2013-06-23.patch
2444
- add patch: ath9k_htc > Handle IDLE state transition properly
2445
- removed unused config keys: ATH9K_RATE_CONTROL=y & USB_CHIPIDEA_HOST=y
2446
- ---------------------------------------------------------------------
2447
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2448
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2449
- This kernel contains also some other patches to improve the hw support
2450
- ---------------------------------------------------------------------
2451
2452
* Thu Jun 20 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.7-1
2453
+ update to 3.9.7 stable
2454
- fixed a shutdown issue reported on nrjQL laptop -netbook and -server 
2455
- now BFQ is the version updated to v6r2, dated 15 June
2456
- replaced 3 patches:
2457
  * 0001-block-cgroups-kconfig-build-bits-for-BFQ-v6r2-3.8.patch
2458
  * 0002-block-introduce-the-BFQ-v6r2-I-O-sched-for-3.8.patch
2459
  * 0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v6r2-for-3.8.0.patch
2460
- new key since 3.9.7 >>> # CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set
2461
- ---------------------------------------------------------------------
2462
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2463
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2464
- This kernel contains also some other patches to improve the hw support
2465
- ---------------------------------------------------------------------
2466
2467
* Fri Jun 14 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.6-1
2468
+ update to 3.9.6 stable
2469
- update TOI patch >>> tuxonice-for-linux-3.9-6-2013-06-14.patch
2470
- update all defconfigs: insert the new key values in the proper places
2471
- update kernel.spec about text descriptions for nrj and nrjQL flavours
2472
- small overall cleanups
2473
- ---------------------------------------------------------------------
2474
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2475
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2476
- The rel -1 (mainline serie), with official kernel sources and addons,
2477
- instead (-69) will be used for development and experimental flavours,
2478
- Yin & Yang (69) release - a very complete but experimental flavours...
2479
- ---------------------------------------------------------------------
2480
2481
* Wed Jun 12 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.5-1
2482
+ update to 3.9.5 stable
2483
- update TOI patch >>> tuxonice-for-linux-3.9-5-2013-06-08.patch
2484
- ---------------------------------------------------------------------
2485
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2486
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2487
- The rel -1 (mainline serie), with official kernel sources and addons,
2488
- instead (-69) will be used for development and experimental flavours,
2489
- Yin & Yang (69) release - a very complete but experimental flavours...
2490
- ---------------------------------------------------------------------
2491
2492
* Tue Jun 11 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.1-1
2493
+ update to 3.9.1 stable
2494
- all the defconfigs have been prepared for 3.9 series
2495
- all the patches have been updated for the 3.9 series
2496
- update kernel specs
2497
- update kernel scripts
2498
- we've received some good suggestions, and all have been accepted
2499
- on mainline nrj kernels we apply again > create_configs-withBFQ
2500
- 1> suggestions and requests received by Per Øyvind Karlsen (POK)
2501
  * TOI (tuxonice) was only in laptop/netbook, now in all flavours
2502
  * CONFIG_PM_AUTOSLEEP=y 
2503
  * CONFIG_SFI =m
2504
  * CONFIG_BLK_DEV_DRBD=m 
2505
  * # CONFIG_DRBD_FAULT_INJECTION is not set
2506
  * CONFIG_HW_RANDOM_TIMERIOMEM=m 
2507
  * CONFIG_DRM_VIA=m 
2508
  * CONFIG_FB_ATY128_BACKLIGHT=y  
2509
  * CONFIG_USB_RIO500=m 
2510
  * CONFIG_DRM_VMWGFX_FBCON=y
2511
  * CONFIG_SND_PCSP=m 
2512
  * CONFIG_SND_HDA_POWER_SAVE_DEFAULT=10
2513
  * CONFIG_SND_AC97_POWER_SAVE_DEFAULT=10
2514
- 2> suggestions from an advanced user to A.Burmashev
2515
  * CONFIG_TCP_CONG_ADVANCED=y
2516
  * CONFIG_TCP_CONG_BIC=m
2517
  * CONFIG_TCP_CONG_CUBIC=y
2518
  * CONFIG_TCP_CONG_WESTWOOD=m
2519
  * CONFIG_TCP_CONG_HTCP=m
2520
  * CONFIG_TCP_CONG_HSTCP=m
2521
  * CONFIG_TCP_CONG_HYBLA=m
2522
  * CONFIG_TCP_CONG_VEGAS=m
2523
  * CONFIG_TCP_CONG_SCALABLE=m
2524
  * CONFIG_TCP_CONG_LP=m
2525
  * CONFIG_TCP_CONG_VENO=m
2526
  * CONFIG_TCP_CONG_YEAH=m
2527
  * CONFIG_TCP_CONG_ILLINOIS=m
2528
  * CONFIG_DEFAULT_CUBIC=y
2529
  * # CONFIG_DEFAULT_RENO is not set
2530
- ---------------------------------------------------------------------
2531
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2532
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2533
- The rel -1 (mainline serie), with official kernel sources and addons,
2534
- instead (-69) will be used for development and experimental flavours,
2535
- Yin & Yang (69) release - a very complete but experimental flavours...
2536
- ---------------------------------------------------------------------
2537
2538
* Fri May 17 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.13-1
2539
- Virtual package for new nrj kernel for properly install and updates.
2540
+ update to 3.8.13 stable (EOL)
2541
- * 87 files changed, 902 insertions(+), 445 deletions(-)
2542
- patches updated
2543
- two kernel keys have been modified:
2544
- * CONFIG_NLS_DEFAULT="iso8859-1" to CONFIG_NLS_DEFAULT="utf8"
2545
- * new add > CONFIG_MOUSE_CYAPA=m
2546
- ---------------------------------------------------------------------
2547
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2548
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2549
- The rel -1 (mainline serie), with official kernel sources and addons,
2550
- instead (-69) will be used for development and experimental flavours,
2551
- Yin & Yang (69) release - a very complete but experimental flavours...
2552
- ---------------------------------------------------------------------
2553
2554
* Thu May 16 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.12-2
2555
+ update to 3.8.12 stable - second release
2556
- BFQ patches update to v6r1 that contain two important fixes.
2557
- BFQ is disable on mainline kernels (nrj), as v6 caused some rare oops:
2558
- but you can still enable it easily from kernel.spec using the command 
2559
- create_configs-withBFQ instead of create_configs (one of 2 must be #)
2560
- BFQ is enable on development kernels nrjQL, but now is the fixed v6r1
2561
- ZSwap patch dropped, as it caused some rare oops...
2562
- ZSMALLOC is now built-in on arm to workaround a build failure
2563
- ---------------------------------------------------------------------
2564
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2565
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2566
- The rel -1 (mainline serie), with official kernel sources and addons,
2567
- instead (-69) will be used for development and experimental flavours,
2568
- Yin & Yang (69) release - a very complete but experimental flavours...
2569
- ---------------------------------------------------------------------
2570
2571
* Thu May 09 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.12-1
2572
- Virtual package for new nrj kernel for properly install and updates.
2573
+ update to 3.8.12 stable 
2574
- * 129 files changed, 641 insertions(+), 320 deletions(-)
2575
- patches dropped, now in upstream
2576
- patches updated to newer versions
2577
- * tuxonice 3.8.12 20130509
2578
- ---------------------------------------------------------------------
2579
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2580
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2581
- The rel -1 (mainline serie), with official kernel sources and addons,
2582
- instead (-69) will be used for development and experimental flavours,
2583
- Yin & Yang (69) release - a very complete but experimental flavours...
2584
- ---------------------------------------------------------------------
2585
2586
* Tue May 07 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.11-1
2587
+ update to 3.8.11 stable 
2588
- * 49 files changed, 454 insertions(+), 166 deletions(-)
2589
- patches dropped, now in upstream
2590
- patches updated to newer versions
2591
- * aufs3 3.8 20130504
2592
- * tuxonice 3.8.11 20130504
2593
- ---------------------------------------------------------------------
2594
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2595
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2596
- The rel -1 (mainline serie), with official kernel sources and addons,
2597
- instead (-69) will be used for development and experimental flavours,
2598
- Yin & Yang (69) release - a very complete but experimental flavours...
2599
- ---------------------------------------------------------------------
2600
2601
* Sat Apr 27 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.10-1
2602
+ update to 3.8.10 stable 
2603
- * 58 files changed, 405 insertions(+), 222 deletions(-)
2604
- * 3 files changed, 27 insertions(+), 1 deletion(-)
2605
- patches updated to newer versions dated 20130427:
2606
  * aufs3, fbcondor, ureadahead, toi, vhba, zwap 
2607
- patch add: try removing a boot warning about kernelvariables
2608
  * /patches-extras/kernelvariables.patch
2609
- ---------------------------------------------------------------------
2610
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2611
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2612
- The rel -1 (mainline serie), with official kernel sources and addons,
2613
- instead (-69) will be used for development and experimental flavours,
2614
- Yin & Yang (69) release - a very complete but experimental flavours...
2615
- ---------------------------------------------------------------------
2616
2617
* Wed Apr 17 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.8-1
2618
+ update to 3.8.8 stable 
2619
- *  37 files changed, 335 insertions(+), 344 deletions(-)
2620
- ---------------------------------------------------------------------
2621
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2622
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2623
- The rel -1 (mainline serie), with official kernel sources and addons,
2624
- instead (-69) will be used for development and experimental flavours,
2625
- Yin & Yang (69) release - a very complete but experimental flavours...
2626
- ---------------------------------------------------------------------
2627
2628
* Mon Apr 15 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.7-1
2629
+ update to 3.8.7 stable 
2630
- * 67 files changed, 507 insertions(+), 341 deletions(-)
2631
- new patches added, enabled and configured with default values
2632
  * /patches-extras/linux-3.8.6-colored-printk.patch
2633
  */patches-extras/zswap-3.8-20130415.patch
2634
  * zswap now is enabled only on x86 arch, not in ARM (using zcache2)
2635
- patches updated to newer versions 20130414:
2636
  * aufs3, toi 
2637
- patches updated to newer versions 20130415:
2638
  * fbcondor, ureadahead, vhba
2639
- ---------------------------------------------------------------------
2640
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2641
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2642
- The rel -1 (mainline serie), with official kernel sources and addons,
2643
- instead (-69) will be used for development and experimental flavours,
2644
- Yin & Yang (69) release - a very complete but experimental flavours...
2645
- ---------------------------------------------------------------------
2646
2647
* Sun Apr 07 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.6-1
2648
+ update to 3.8.6 stable 
2649
- * (158 files changed, 1341 insertions(+), 658 deletions(-)
2650
- patch add: reiserfs4 ver.3.8 with its configuration as new module
2651
  * add an experimental support to Reiser4 FS: please test this FS!
2652
- patches updated to newer git version 20130406:
2653
  * aufs3, brtfs-lz4, fbcondor, toi, ureadahead, vhba
2654
- Some kernel.spec changes from cooker to make it ARM/ARM64 compatible:
2655
  * Import Bero commit 0e1b905e24 from openmandriva cooker kernel.spec
2656
  * Import Fedya commit 4254d039f6 from openmandriva cooker kernel.spec
2657
- add conflict for dkms-nvidia173 <= 173.14.36
2658
- ---------------------------------------------------------------------
2659
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2660
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2661
- The rel -1 (mainline serie), with official kernel sources and addons,
2662
- instead (-69) will be used for development and experimental flavours,
2663
- Yin & Yang (69) release - a very complete but experimental flavours...
2664
- ---------------------------------------------------------------------
2665
2666
* Thu Mar 28 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.5-1
2667
+ update to 3.8.5 stable 
2668
- * (109 files changed, 778 insertions(+), 683 deletions(-)
2669
- add two new keys to defconfigs:
2670
  * CONFIG_EFI_VARS_PSTORE=y
2671
  * # CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set
2672
- ---------------------------------------------------------------------
2673
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2674
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2675
- The rel -1 (mainline serie), with official kernel sources and addons,
2676
- instead (-69) will be used for development and experimental flavours,
2677
- Yin & Yang (69) release - a very complete but experimental flavours...
2678
- ---------------------------------------------------------------------
2679
2680
* Sun Mar 24 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.4-1
2681
+ update to 3.8.4 stable (86 fixes all over)
2682
+ NRJ 4, scripts v 1.6: more info on file > create_configs_changelog
2683
+ Import Bero commit 32d3796b8b from openmandriva cooker kernel.spec
2684
- patches updated:
2685
  * AUFS3 to 3.8 20130324
2686
  * TOI to 3.8.3 20130324
2687
- patches added:
2688
  * uksm-0.1.2.2-for-v3.8.ge.3.patch
2689
- ---------------------------------------------------------------------
2690
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2691
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2692
- The rel -1 (mainline serie), with official kernel sources and addons,
2693
- instead (-69) will be used for development and experimental flavours,
2694
- Yin & Yang (69) release - a very complete but experimental flavours...
2695
- ---------------------------------------------------------------------
2696
2697
* Fri Mar 15 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.3-1
2698
+ update to 3.8.3 stable (144 fixes all over)
2699
+ Imported "Build kernel-headers in here" from OpenMandriva kernel
2700
- drop Haswell id fixup: gpu-drm-i915-Fix-Haswell-CRW-PCI-IDs.patch
2701
+ patches new entries are placed in /extras folder:
2702
- kernel-esfq.patch
2703
- kernel-inittmpfs.patch
2704
- btrfs-lz4-3.8-20130314.patch
2705
- ureadahead-3.8-20130314.patch
2706
+ patches updated:
2707
- AUFS3 to 3.8 20130315
2708
- TOI to 3.8.3 20130315
2709
- VHBA 3.8 20130314
2710
+ NRJ 4, scripts v 1.5: 
2711
- nrjQL_server & nrjQL_server_computing: dynticks enabled to save energy
2712
- ---------------------------------------------------------------------
2713
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2714
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2715
- The rel -1 (mainline serie), with official kernel sources and addons,
2716
- instead (-69) will be used for development and experimental flavours,
2717
- Yin & Yang (69) release - a very complete but experimental flavours...
2718
- ---------------------------------------------------------------------
2719
2720
* Mon Mar 11 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.2-1
2721
+ update to 3.8.2 stable (80 fixes all over)
2722
+ Patch added from ZEN:
2723
- Virtual (SCSI) HBA for Virtual CD emulation module
2724
+ update to the patches:
2725
- AUFS3 to 3.8 20130310
2726
- TOI to 3.8.2 20130310
2727
+ some spec cleanup for cooker
2728
+ defconfigs updated for VHBA, enable for x86/x86_64, disable for ARM
2729
- ---------------------------------------------------------------------
2730
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2731
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2732
- The rel -1 (mainline serie), with official kernel sources and addons,
2733
- instead (-69) will be used for development and experimental flavours,
2734
- Yin & Yang (69) release - a very complete but experimental flavours...
2735
- ---------------------------------------------------------------------
2736
2737
* Sun Mar 10 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.1-69
2738
+ update to 3.8.1 stable 
2739
+ update to nrj v4 - rel 1.4 (09 mar 2013) 
2740
- This version is first attempt to merge stuff with OpenMandriva devel:
2741
- it should build from mdv2010/2011, rosa2012.0/2012.1, and cooker 2013
2742
- ---------------------------------------------------------------------
2743
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2744
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2745
- The rel -1 (mainline serie), with official kernel sources and addons,
2746
- instead (-69) will be used for development and experimental flavours,
2747
- Yin & Yang (69) release - a very complete but experimental flavours...
2748
- ---------------------------------------------------------------------
2749
2750
* Sun Mar 03 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.10-1
2751
+ update to 3.7.10 stable (79 fixes all over)
2752
- With this version, 3.7 has reached the EOL status (End of Life)
2753
+ update to nrj v4 - rel 1.3 (05 mar 2013) 
2754
- On request of Alexander Khryukin, fixed configs and scripts for ARM:
2755
- fixed configs, removed all warnings, enabled again all arm defconfigs
2756
- defconfigs for kirkwood, versatile, iop32x have BFQ enable by default
2757
- ---------------------------------------------------------------------
2758
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2759
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2760
- The rel -1 (mainline serie), with official kernel sources and addons,
2761
- instead (-69) will be used for development and experimental flavours,
2762
- Yin & Yang (69) release - a very complete but experimental flavours...
2763
- ---------------------------------------------------------------------
2764
2765
* Wed Feb 20 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.9-1
2766
+ update to 3.7.9 stable (12 fixes all over)
2767
- update AUFS3 to 3.7.9 20130218
2768
- specific for nrjQL addons:
2769
- update tuxonice 3.7.9 20130218
2770
- add a workaround to fix issue with dkms drivers for recent distros:
2771
- /linux/version.h symlink to /include/generated/uapi/linux/version.h
2772
- ---------------------------------------------------------------------
2773
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2774
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2775
- The rel -1 (mainline serie), with official kernel sources and addons,
2776
- instead (-69) will be used for development and experimental flavours,
2777
- Yin & Yang (69) release - a very complete but experimental flavours...
2778
- ---------------------------------------------------------------------
2779
2780
* Sat Feb 16 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.8-1
2781
+ update to 3.7.8 stable (69 fixes all over)
2782
- update AUFS3 to 3.7 20130215
2783
- specific for nrjQL addons:
2784
- update tuxonice 3.7.8 20130215
2785
- updated scripts:
2786
- all nrj flavours use BFQ v6 (disk I/O) enabled by default
2787
- all nrj laptop flavours since now use the full preemption 
2788
- ---------------------------------------------------------------------
2789
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2790
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2791
- The rel -1 (mainline serie), with official kernel sources and addons,
2792
- instead (-69) will be used for development and experimental flavours,
2793
- Yin & Yang (69) release - a very complete but experimental flavours...
2794
- ---------------------------------------------------------------------
2795
2796
* Wed Feb 13 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.7-1
2797
+ update to 3.7.7 stable (34 fixes all over)
2798
- update AUFS3 to 3.7 20130212
2799
- specific for nrjQL addons:
2800
- update BFQ v6 I-O-sched for-3.7
2801
- update tuxonice 3.7.7 20130212
2802
- remove microcode from "requires", now it's in "suggests"
2803
- ---------------------------------------------------------------------
2804
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2805
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2806
- The rel -1 (mainline serie), with official kernel sources and addons,
2807
- instead (-69) will be used for development and experimental flavours,
2808
- Yin & Yang (69) release - a very complete but experimental flavours...
2809
- ---------------------------------------------------------------------
2810
2811
* Mon Feb 04 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.6-1
2812
+ update to 3.7.6 stable (101 fixes all over)
2813
- add "# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set" to defconfigs
2814
- ---------------------------------------------------------------------
2815
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2816
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2817
- The rel -1 (mainline serie), with official kernel sources and addons,
2818
- instead (-69) will be used for development and experimental flavours,
2819
- Yin & Yang (69) release - a very complete but experimental flavours...
2820
- ---------------------------------------------------------------------
2821
2822
* Sat Feb 02 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.5-1
2823
+ update to 3.7.5 stable
2824
- drop two staging patches
2825
- ---------------------------------------------------------------------
2826
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2827
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2828
- This is -1 (mainline serie), with official kernel sources and addons,
2829
- instead (-69) will be used for development and experimental flavours
2830
- Yin & Yang (69) release - a very complete but experimental flavours...
2831
- ---------------------------------------------------------------------
2832
2833
* Sat Feb 02 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.1-1
2834
+ update to 3.7.1 stable
2835
- update kernel.spec to be complaint with new V4 nrj/nrjQL model 
2836
- update all scripts to be complaint with new V4 nrj/nrjQL model
2837
- merged defconfigs for nrj & nrjQL, source folders and contents have been unified
2838
- merged all changelogs, as now nrj and nrjQL will be developed in perfect sync
2839
- applied all ROSA customizations of defconfigs as requested by Alexander Burmashev
2840
- update AUFS3 to 3.7 20130128
2841
- update 4200_fbcondecor-0.9.6
2842
- add 08-18-brcmsmac-Add-support-for-writing-debug-messages-to-the-trace-buffer.patch
2843
- specific for nrjQL addons:
2844
- update BFQ v5r1 I-O-sched for-3.7
2845
- update ck1 3.7 and bfs426-427
2846
- update tuxonice 3.7.5 20130128
2847
- update uksm 0.1.2.2 for v3.7.ge.1
2848
- ---------------------------------------------------------------------
2849
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2850
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2851
- This is -1 (mainline serie), with official kernel sources and addons,
2852
- instead (-69) will be used for development and experimental flavours
2853
- Yin & Yang (69) release - a very complete but experimental flavours...
2854
- ---------------------------------------------------------------------
2855
2856
* Fri Jan 25 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.1-0
2857
+ update to 3.7.1 stable
2858
- update script with nrj module v.3.1
2859
- update .spec filelists
2860
- update/sync defconfigs
2861
- fix zram oops (upstream)
2862
- add perf bash_completion
2863
- add 3.7 buildfixes for alx, IFWLOG, mach64, ndiswrapper
2864
- rediff disable-mrproper patch
2865
- restore patch preferring ata over ide drivers
2866
- drop compress modules at install time patch
2867
  (obsolete as we compress them at rpm build time)
2868
- ---------------------------------------------------------------------
2869
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2870
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2871
- This is -1 (mainline serie), with official kernel sources and addons,
2872
- instead (-69) will be used for development and experimental flavours
2873
- Yin & Yang (69) release - a very complete but experimental flavours...
2874
- ---------------------------------------------------------------------
2875
2876
* Mon Jan 14 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.6.11-1
2877
+ update to 3.6.11 stable (56 fixes all over)
2878
- update BFQ version to v5r1
2879
- update UKMS version to 0.1.2.2
2880
- add brcmsmac-Add-support-for-writing-debug-messages-to-the-trace-buffer.patch
2881
- add i915.CADLinopregion.patch
2882
- ---------------------------------------------------------------------
2883
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2884
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2885
- This is -1 (mainline serie), with official kernel sources and addons,
2886
- instead (-69) will be used for development and experimental flavours
2887
- Yin & Yang (69) release - a very complete but experimental flavours...
2888
- ---------------------------------------------------------------------
2889
2890
* Wed Dec 12 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.10-1
2891
+ update to 3.6.10 stable (29 fixes all over)
2892
- update AUFS3 version to git 20121207
2893
- update T.O.I version to gif 20121207
2894
- add speakup-lower-default-software-speech-rate.patch
2895
- ROSA 2012.1 release version with nrj-desktop CFQ revert
2896
- ---------------------------------------------------------------------
2897
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2898
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2899
- This is -1 (mainline serie), with official kernel sources and addons,
2900
- instead (-69) will be used for development and experimental flavours
2901
- Yin & Yang (69) release - a very complete but experimental flavours...
2902
- ---------------------------------------------------------------------
2903
2904
* Tue Dec 11 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.10-0
2905
+ update to 3.6.10 stable (29 fixes all over)
2906
- update AUFS3 version to git 20121207
2907
- update T.O.I version to gif 20121207
2908
- add speakup-lower-default-software-speech-rate.patch
2909
- This is a testing version with nrj-desktop BFQ enabled!
2910
- ---------------------------------------------------------------------
2911
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2912
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2913
- This is -1 (mainline serie), with official kernel sources and addons,
2914
- instead (-69) will be used for development and experimental flavours
2915
- Yin & Yang (69) release - a very complete but experimental flavours...
2916
- ---------------------------------------------------------------------
2917
2918
* Sun Dec 09 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.10-0-rc1-2
2919
+ update to 3.6.10 rc1 (27 fixes all over)
2920
- update AUFS3 version to git 20121207
2921
- update T.O.I version to gif 20121207
2922
- add ZFS filesystem driver
2923
- add Solaris Porting Layer and ZFS filesystem support mod 
2924
- add speakup-lower-default-software-speech-rate.patch
2925
- This is a testing version with nrj-desktop BFQ enabled!
2926
- ---------------------------------------------------------------------
2927
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2928
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2929
- This is -1 (mainline serie), with official kernel sources and addons,
2930
- instead (-69) will be used for development and experimental flavours
2931
- Yin & Yang (69) release - a very complete but experimental flavours...
2932
- ---------------------------------------------------------------------
2933
2934
* Fri Dec 07 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.10-0-rc1.1
2935
+ update to 3.6.10 rc1 (27 fixes all over)
2936
- update AUFS3 version to git 20121204
2937
- update T.O.I version to gif 20121203
2938
- This is a testing version with nrj-desktop BFQ enabled!
2939
- ---------------------------------------------------------------------
2940
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2941
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2942
- This is -1 (mainline serie), with official kernel sources and addons,
2943
- instead (-69) will be used for development and experimental flavours
2944
- Yin & Yang (69) release - a very complete but experimental flavours...
2945
- ---------------------------------------------------------------------
2946
2947
* Wed Dec 05 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.9-0
2948
+ update to 3.6.9 stable (56 fixes all over)
2949
- This is a testing version with nrj-desktop BFQ enabled!
2950
- ---------------------------------------------------------------------
2951
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2952
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2953
- This is -1 (mainline serie), with official kernel sources and addons,
2954
- instead (-69) will be used for development and experimental flavours
2955
- Yin & Yang (69) release - a very complete but experimental flavours...
2956
- ---------------------------------------------------------------------
2957
2958
* Fri Nov 30 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.9-rc1-1
2959
+ update to 3.6.8-rc1-1 (56 fixes all over)
2960
- ---------------------------------------------------------------------
2961
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2962
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2963
- This is -1 (mainline serie), with official kernel sources and addons,
2964
- instead (-69) will be used for development and experimental flavours
2965
- Yin & Yang (69) release - a very complete but experimental flavours...
2966
- ---------------------------------------------------------------------
2967
2968
* Fri Nov 30 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.8-1
2969
+ update to 3.6.8-1 (96 fixes all over)
2970
- update AUFS3 to 20121127 git version
2971
- add 4200_fbcondecor-0.9.6.patch
2972
- add config key CONFIG_FB_CON_DECOR=y, changed FB_TILEBLITTING=n
2973
- ---------------------------------------------------------------------
2974
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2975
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2976
- This is -1 (mainline serie), with official kernel sources and addons,
2977
- instead (-69) will be used for development and experimental flavours
2978
- Yin & Yang (69) release - a very complete but experimental flavours...
2979
- ---------------------------------------------------------------------
2980
2981
* Tue Nov 27 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.8-0
2982
+ update to 3.6.8-0 (96 fixes all over)
2983
- add AUFS3 with the MagOS config keys
2984
- add 12 patches to ext4 from Fedora 3.6
2985
- ---------------------------------------------------------------------
2986
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2987
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2988
- This is -1 (mainline serie), with official kernel sources and addons,
2989
- instead (-69) will be used for development and experimental flavours
2990
- Yin & Yang (69) release - a very complete but experimental flavours...
2991
- ---------------------------------------------------------------------
2992
2993
* Sat Nov 24 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.8-rc1-1
2994
+ update to 3.6.8-rc1 (89 fixes all over)
2995
+ modify: now modules are compressed with xz for ROSA 2012.1,
2996
- thus recovering more than 7 Mb from any kernel flavour rpm 
2997
+ added two patches to fix gspca problems with some webcams:
2998
- GS01_gspca-ov534_fix_the_light_frequency_filter.patch
2999
- GS02_gspca-stv06xx_fix_a_regression_with_the_bridge-sensor_vv6410.patch
3000
- ---------------------------------------------------------------------
3001
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
3002
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
3003
- This is -1 (mainline serie), with official kernel sources and addons,
3004
- instead (-69) will be used for development and experimental flavours
3005
- Yin & Yang (69) release - a very complete but experimental flavours...
3006
- ---------------------------------------------------------------------
3007
3008
* Tue Nov 20 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.7-1
3009
+ update to 3.6.7-1 (89 fixes all over)
3010
- updated all patches for kernel 3.6.7: AUFS3, OverlayFS, TOI
3011
- re-add cpufreq_ondemand_performance_optimise_default_settings.patch
3012
- small modifies and fixes to "create_configs" and "kernel.spec" files