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