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