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