avatar
Rosa has added cdcd300747
Automatic import for version 3.10.13-70
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,4 @@
1
sources:
2
  "linux-3.10.13-rosa69.tar.xz": cf2e1c19fc7eea4d1d562ac84717f89eaa919d9c
3
  "linux-3.10.tar.xz": a649d5c15f68ccbae1c4863e357bdc48da4cc0b4
4
  "patch-3.10.13.bz2": ce592aa302480a65e1d2f30b5e0279bf3be25464
view file @ cdcd300747
... ... --- /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 @ cdcd300747
... ... --- /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 @ cdcd300747
... ... --- /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 @ cdcd300747
... ... --- /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 @ cdcd300747
... ... --- /dev/null
... ... +++ b/kernel-3.10.13-one.spec
... ... @@ -0,0 +1,3345 @@
1
# Experimental Kernels ONE 
2
# That's an attempt to merge all MIB kernel flavours (old mdv, nrj, nrjQL) with ONE only SRPM (NRJ V5)
3
4
# - version alpha (15 August 2013) > It can config, prepare and build nrj-desktop & nrjQL-desktop flavours
5
# - version beta (17 August 2013) > It can config, prepare, build all 'old mdv' and MIB nrj nrjQL flavours
6
# - version rc (19 August 2013) > now it's more modular to allow us easily a lot ot further developments...
7
# - version rc (20 August 2013) > the compressed folder has redundant contents so can be used also for NRJ4
8
9
# MIB header
10
11
%if %{mdvver} <= 201100
12
%define distsuffix mib
13
%define disttag %{distsuffix}
14
Vendor: MIB - Mandriva International Backports
15
%endif
16
17
Packager: Nicolo' Costanza <abitrules@yahoo.it>
18
# end MIB header
19
20
#
21
%define kernelversion	3
22
%define patchlevel	10
23
# sublevel is now used for -stable patches
24
%define sublevel	13
25
26
# Package release
27
%define mibrel		69
28
29
# kernel Makefile extraversion is substituted by
30
# kpatch wich are either 0 (empty), rc (kpatch)
31
%define kpatch		0
32
# kernel.org -gitX patch (only the number after "git")
33
%define kgit		0
34
35
# kernel base name (also name of srpm)
36
%define kname 		kernel
37
38
# Patch tarball tag
39
%define ktag		rosa
40
41
%define rpmtag		%{disttag}
42
%if %kpatch
43
%if %kgit
44
%define rpmrel		%mkrel 0.%{kpatch}.%{kgit}.%{mibrel}
45
%else
46
%define rpmrel		%mkrel 0.%{kpatch}.%{mibrel}
47
%endif
48
%else
49
%define rpmrel		70
50
%endif
51
52
# fakerel and fakever never change, they are used to fool
53
# rpm/urpmi/smart
54
%define fakever		1
55
%define fakerel 	%mkrel 1
56
57
# version defines
58
%define kversion  	%{kernelversion}.%{patchlevel}.%{sublevel}
59
%define kverrel   	%{kversion}-%{rpmrel}
60
61
# When we are using a pre/rc patch, the tarball is a sublevel -1
62
%if %kpatch
63
%if %sublevel
64
%define tar_ver   	%{kernelversion}.%{patchlevel}
65
%else
66
%define tar_ver		%{kernelversion}.%(expr %{patchlevel} - 1)
67
%endif
68
%define patch_ver 	%{kversion}-%{kpatch}-%{ktag}%{mibrel}
69
%else
70
%define tar_ver   	%{kernelversion}.%{patchlevel}
71
%define patch_ver 	%{kversion}-%{ktag}%{mibrel}
72
%endif
73
74
# Used for not making too long names for rpms or search paths
75
# replaced mibrel with rpmrel / release > we can use only ONE sources folder for nrj & nrjQL
76
%if %kpatch
77
%if %kgit
78
%define buildrpmrel     0.%{kpatch}.%{kgit}.%{rpmrel}%{rpmtag}
79
%else
80
%define buildrpmrel     0.%{kpatch}.%{rpmrel}%{rpmtag}
81
%endif
82
%else
83
%define buildrpmrel     %{rpmrel}%{rpmtag}
84
%endif
85
%define buildrel     	%{kversion}-%{buildrpmrel}
86
87
# Having different top level names for packges means that you have to remove
88
# them by hard :(
89
%define top_dir_name 	%{kname}-%{_arch}
90
91
%define build_dir 	${RPM_BUILD_DIR}/%{top_dir_name}
92
%define src_dir 	%{build_dir}/linux-%{tar_ver}
93
94
# Disable useless debug rpms...
95
%define _enable_debug_packages 	%{nil}
96
%define debug_package 		%{nil}
97
98
# Build defines
99
%define build_doc 			1
100
%define build_source 			1
101
%define build_devel 			1
102
%define build_debug	 		0
103
104
# Old Mandriva kernel flavours plus new two PAE flavours added by MIB
105
106
%define build_desktop			0
107
%define build_netbook			0
108
%define build_server			0
109
110
%ifarch %{ix86}
111
%define build_desktop586		0
112
%define build_desktop_pae		0
113
%define build_netbook_pae		0
114
%endif
115
116
# MIB low latency optimized flavours called "nrj V.5" plus 32bit PAE versions
117
118
%define build_nrj_desktop		1
119
%define build_nrj_realtime		0
120
%define build_nrj_laptop		0
121
%define build_nrj_netbook		0
122
123
%ifarch %{ix86}
124
%define build_nrj_desktop586		0
125
%define build_nrj_desktop_pae		0
126
%define build_nrj_realtime_pae		0
127
%define build_nrj_laptop_pae		0
128
%define build_nrj_netbook_pae		0
129
%endif
130
131
# MIB experimental low latency "32bit cpu level" optimized, called "nrj V.5" flavours plus PAE versions
132
133
%ifarch %{ix86}
134
%define build_nrj_netbook_atom		0
135
%define build_nrj_netbook_atom_pae	0
136
%define build_nrj_desktop_core2   	0
137
%define build_nrj_desktop_core2_pae   	0
138
%endif
139
140
# MIB experimental low latency optimized flavours called "nrjQL V.5" with BFS, CK1, UKSM, TOI
141
142
%define build_nrjQL_desktop		1
143
%define build_nrjQL_realtime		0
144
%define build_nrjQL_laptop		0
145
%define build_nrjQL_netbook		0
146
%define build_nrjQL_server		0
147
%define build_nrjQL_server_games	0
148
%define build_nrjQL_server_computing	0
149
150
# MIB experimental low latency optimized flavours called "nrjQL V.5" with BFS, CK1, UKSM, TOI plus PAE 
151
152
%ifarch %{ix86}
153
%define build_nrjQL_desktop_pae		0
154
%define build_nrjQL_realtime_pae	0
155
%define build_nrjQL_laptop_pae		0
156
%define build_nrjQL_netbook_pae		0
157
%endif
158
159
# MIB experimental "32bit cpu level" optimized flavours called "nrjQL V.5" with BFS, CK1, UKSM, TOI plus PAE 
160
161
%ifarch %{ix86}
162
%define build_nrjQL_desktop_core2	 0
163
%define build_nrjQL_desktop_core2_pae  	 0
164
%endif
165
166
# END OF FLAVOURS
167
168
169
# build perf and cpupower tools
170
%if %{mdvver} >= 201200
171
%define build_perf		1
172
%define build_cpupower		1
173
%else
174
%define build_perf		0
175
%define build_cpupower		0
176
%endif
177
178
# compress modules with xz
179
%if %{mdvver} >= 201200
180
%define build_modxz		1
181
%else
182
%define build_modxz		0
183
%endif
184
185
# ARM builds
186
%ifarch %{arm}
187
%define build_desktop		0
188
%define build_netbook		0
189
%define build_server		0
190
%define build_iop32x		0
191
%define build_kirkwood		1
192
%define build_versatile		1
193
# no cpupower tools on arm yet
194
%define build_cpupower		0
195
# arm is currently not using xz
196
%define build_modxz		0
197
%endif
198
# End of user definitions
199
200
# buildtime flags
201
%{?_without_desktop586: %global build_desktop586 0}
202
%{?_without_desktop: %global build_desktop 0}
203
%{?_without_netbook: %global build_netbook 0}
204
%{?_without_server: %global build_server 0}
205
206
%{?_without_desktop_pae: %global build_desktop_pae 0}
207
%{?_without_netbook_pae: %global build_netbook_pae 0}
208
209
%{?_without_nrj_desktop586: %global build_nrj_desktop586 0}
210
%{?_without_nrj_desktop: %global build_nrj_desktop 0}
211
%{?_without_nrj_realtime: %global build_nrj_realtime 0}
212
%{?_without_nrj_laptop: %global build_nrj_laptop 0}
213
%{?_without_nrj_netbook: %global build_nrj_netbook 0}
214
215
%{?_without_nrj_desktop_pae: %global build_nrj_desktop_pae 0}
216
%{?_without_nrj_realtime_pae: %global build_nrj_realtime_pae 0}
217
%{?_without_nrj_laptop_pae: %global build_nrj_laptop_pae 0}
218
%{?_without_nrj_netbook_pae: %global build_nrj_netbook_pae 0}
219
220
%{?_without_nrj_netbook_atom: %global build_nrj_netbook_atom 0}
221
%{?_without_nrj_netbook_atom_pae: %global build_nrj_netbook_atom_pae 0}
222
%{?_without_nrj_desktop_core2: %global build_nrj_desktop_core2 0}
223
%{?_without_nrj_desktop_core2_pae: %global build_nrj_desktop_core2_pae 0}
224
225
226
%{?_without_nrjQL_desktop: %global build_nrjQL_desktop 0}
227
%{?_without_nrjQL_realtime: %global build_nrjQL_realtime 0}
228
229
%{?_without_nrjQL_laptop: %global build_nrjQL_laptop 0}
230
%{?_without_nrjQL_laptop: %global build_nrjQL_netbook 0}
231
232
%{?_without_nrjQL_server: %global build_nrjQL_server 0}
233
%{?_without_nrjQL_gameserver: %global build_nrjQL_server_games 0}
234
%{?_without_nrjQL_gameserver: %global build_nrjQL_server_computing 0}
235
236
%{?_without_nrjQL_desktop_pae: %global build_nrjQL_desktop_pae 0}
237
%{?_without_nrjQL_desktop_pae: %global build_nrjQL_realtime_pae 0}
238
239
%{?_without_nrjQL_laptop_pae: %global build_nrjQL_laptop_pae 0}
240
%{?_without_nrjQL_laptop_pae: %global build_nrjQL_netbook_pae 0}
241
242
%{?_without_nrjQL_desktop_core2: %global build_nrjQL_desktop_core2 0}
243
%{?_without_nrjQL_desktop_core2_pae: %global build_nrjQL_desktop_core2_pae 0}
244
245
246
%{?_without_doc: %global build_doc 0}
247
%{?_without_source: %global build_source 0}
248
%{?_without_devel: %global build_devel 0}
249
%{?_without_debug: %global build_debug 0}
250
%{?_without_perf: %global build_perf 0}
251
%{?_without_cpupower: %global build_cpupower 0}
252
%{?_without_modxz: %global build_modxz 0}
253
254
255
256
%{?_with_desktop586: %global build_desktop586 1}
257
%{?_with_desktop: %global build_desktop 1}
258
%{?_with_netbook: %global build_netbook 1}
259
%{?_with_server: %global build_server 1}
260
261
%{?_with_desktop_pae: %global build_desktop_pae 1}
262
%{?_with_netbook_pae: %global build_netbook_pae 1}
263
264
%{?_with_nrj_desktop586: %global build_nrj_desktop586 1}
265
%{?_with_nrj_desktop: %global build_nrj_desktop 1}
266
%{?_with_nrj_realtime: %global build_nrj_realtime 1}
267
%{?_with_nrj_laptop: %global build_nrj_laptop 1}
268
%{?_with_nrj_netbook: %global build_nrj_netbook 1}
269
270
%{?_with_nrj_desktop_pae: %global build_nrj_desktop_pae 1}
271
%{?_with_nrj_realtime_pae: %global build_nrj_realtime_pae 1}
272
%{?_with_nrj_laptop_pae: %global build_nrj_laptop_pae 1}
273
%{?_with_nrj_netbook_pae: %global build_nrj_netbook_pae 1}
274
275
%{?_with_nrj_netbook_atom: %global build_nrj_netbook_atom 1}
276
%{?_with_nrj_netbook_atom_pae: %global build_nrj_netbook_atom_pae 1}
277
%{?_with_nrj_desktop_core2: %global build_nrj_desktop_core2 1}
278
%{?_with_nrj_desktop_core2_pae: %global build_nrj_desktop_core2_pae 1}
279
280
281
%{?_with_nrjQL_desktop: %global build_nrjQL_desktop 1}
282
%{?_with_nrjQL_realtime: %global build_nrjQL_realtime 1}
283
284
%{?_with_nrjQL_laptop: %global build_nrjQL_laptop 1}
285
%{?_with_nrjQL_laptop: %global build_nrjQL_netbook 1}
286
287
%{?_with_nrjQL_server: %global build_nrjQL_server 1}
288
%{?_with_nrjQL_gameserver: %global build_nrjQL_server_games 1}
289
%{?_with_nrjQL_gameserver: %global build_nrjQL_server_computing 1}
290
291
%{?_with_nrjQL_desktop_pae: %global build_nrjQL_desktop_pae 1}
292
%{?_with_nrjQL_desktop_pae: %global build_nrjQL_realtime_pae 1}
293
294
%{?_with_nrjQL_laptop_pae: %global build_nrjQL_laptop_pae 1}
295
%{?_with_nrjQL_laptop_pae: %global build_nrjQL_netbook_pae 1}
296
297
%{?_with_nrjQL_desktop_core2: %global build_nrjQL_desktop_core2 1}
298
%{?_with_nrjQL_desktop_core2_pae: %global build_nrjQL_desktop_core2_pae 1}
299
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 or 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
# ARM kernels
997
#
998
%ifarch %{arm}
999
%if %build_iop32x
1000
%define summary_iop32x Linux Kernel for Arm machines based on Xscale IOP32X
1001
%define info_iop32x This kernel is compiled for iop32x boxes. It will run on n2100 \
1002
or ss4000e or sanmina boards.
1003
%mkflavour iop32x
1004
%endif
1005
%if %build_kirkwood
1006
%define summary_kirkwood Linux Kernel for Arm machines based on Kirkwood
1007
%define info_kirkwood This kernel is compiled for kirkwood boxes. It will run on openrd boards.
1008
%mkflavour kirkwood
1009
%endif
1010
%if %build_versatile
1011
%define summary_versatile Linux Kernel for Versatile arm machines
1012
%define info_versatile This kernel is compiled for Versatile boxes. It will run on Qemu for instance.
1013
%mkflavour versatile
1014
%endif
1015
%endif
1016
1017
#
1018
# kernel-nrjQL-desktop: nrjQL, i686, smp-alternatives, 4 GB / x86_64
1019
#
1020
%if %build_nrjQL_desktop
1021
%ifarch %{ix86}
1022
%define summary_nrjQL_desktop Linux Kernel for desktop use with i686 & 4GB RAM
1023
%define info_nrjQL_desktop This kernel is compiled for desktop use, single or \
1024
multiple i686 processor(s)/core(s), less than 4GB RAM (usually 3-3.5GB detected)\
1025
using HZ_1000, full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1026
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1027
mode depending on detected hardware. To force the kernel to boot in single \
1028
processor mode, use the "nosmp" boot parameter.
1029
%else
1030
%define summary_nrjQL_desktop Linux Kernel for desktop use with %{_arch}
1031
%define info_nrjQL_desktop This kernel is compiled for desktop use, single or \
1032
multiple %{_arch} processor(s)/core(s),\
1033
using HZ_1000, full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1034
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1035
mode depending on detected hardware. To force the kernel to boot in single \
1036
processor mode, use the "nosmp" boot parameter.
1037
%endif
1038
%mkflavour nrjQL-desktop
1039
%endif
1040
1041
#
1042
# kernel-nrjQL-realtime: nrjQL, i686, smp-alternatives, 4 GB / x86_64
1043
#
1044
%if %build_nrjQL_realtime
1045
%ifarch %{ix86}
1046
%define summary_nrjQL_realtime Linux Kernel for desktop and realtime use with i686 & 4GB RAM
1047
%define info_nrjQL_realtime This kernel is compiled for desktop and realtime use, single or \
1048
multiple i686 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB detected), \
1049
using full preempt and realtime, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1050
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1051
mode depending on detected hardware. To force the kernel to boot in single \
1052
processor mode, use the "nosmp" boot parameter.
1053
%else
1054
%define summary_nrjQL_realtime Linux Kernel for desktop and realtime use with %{_arch}
1055
%define info_nrjQL_realtime This kernel is compiled for desktop and realtime use, single or \
1056
multiple %{_arch} processor(s)/core(s), \
1057
using full preempt and realtime, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1058
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1059
mode depending on detected hardware. To force the kernel to boot in single \
1060
processor mode, use the "nosmp" boot parameter.
1061
%endif
1062
%mkflavour nrjQL-realtime
1063
%endif
1064
1065
#
1066
# kernel-nrjQL-laptop: nrjQL, i686, smp-alternatives, 4 GB / x86_64
1067
#
1068
%if %build_nrjQL_laptop
1069
%ifarch %{ix86}
1070
%define summary_nrjQL_laptop Linux Kernel for laptop use with i686 & 4GB RAM
1071
%define info_nrjQL_laptop This kernel is compiled for laptop use, single or \
1072
multiple i686 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB detected), \
1073
using HZ_300 and CPU frequency scaling ondemand default, everything to save battery, \
1074
using full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler, \
1075
and some other laptop-specific optimizations. \
1076
If you want to sacrifice battery life for performance, you better use the \
1077
%{kname}-desktop. \
1078
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1079
mode depending on detected hardware. To force the kernel to boot in single \
1080
processor mode, use the "nosmp" boot parameter. \
1081
NOTE! This kernel also uses TuxOnIce by default.
1082
%else
1083
%define summary_nrjQL_laptop Linux Kernel for laptop use with %{_arch}
1084
%define info_nrjQL_laptop This kernel is compiled for laptop use, single or \
1085
multiple %{_arch} processor(s)/core(s), \
1086
using HZ_300 and CPU frequency scaling ondemand default, everything to save battery, \
1087
using full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler, \
1088
and some other laptop-specific optimizations. \
1089
If you want to sacrifice battery life for performance, you better use the \
1090
%{kname}-desktop. \
1091
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1092
mode depending on detected hardware. To force the kernel to boot in single \
1093
processor mode, use the "nosmp" boot parameter. \
1094
NOTE! This kernel also uses TuxOnIce by default.
1095
%endif
1096
%mkflavour nrjQL-laptop
1097
%endif
1098
1099
#
1100
# kernel-nrjQL-netbook: nrj, i686, smp-alternatives, 4 GB / x86_64
1101
#
1102
%if %build_nrjQL_netbook
1103
%ifarch %{ix86}
1104
%define summary_nrjQL_netbook Linux Kernel for netbook use with i686 & 4GB RAM
1105
%define info_nrjQL_netbook This kernel is compiled for netbook use, single or \
1106
multiple i686 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB detected), \
1107
using HZ_250 and CPU frequency scaling ondemand default, everything to save battery, \
1108
using full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler, \
1109
and some other netbook-specific optimizations. \
1110
If you want to sacrifice battery life for performance, you better use the \
1111
%{kname}-desktop. \
1112
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1113
mode depending on detected hardware. To force the kernel to boot in single \
1114
processor mode, use the "nosmp" boot parameter. \
1115
NOTE! This kernel also uses TuxOnIce by default.
1116
%else
1117
%define summary_nrjQL_netbook Linux Kernel for netbook use with %{_arch}
1118
%define info_nrjQL_netbook This kernel is compiled for netbook use, single or \
1119
multiple %{_arch} processor(s)/core(s), \
1120
using HZ_250 and CPU frequency scaling ondemand default, everything to save battery, \
1121
using full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler, \
1122
and some other netbook-specific optimizations. \
1123
If you want to sacrifice battery life for performance, you better use the \
1124
%{kname}-desktop. \
1125
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1126
mode depending on detected hardware. To force the kernel to boot in single \
1127
processor mode, use the "nosmp" boot parameter. \
1128
NOTE! This kernel also uses TuxOnIce by default.
1129
%endif
1130
%mkflavour nrjQL-netbook
1131
%endif
1132
1133
#
1134
# kernel-server: i686, smp-alternatives, 64 GB / x86_64
1135
#
1136
%if %build_nrjQL_server
1137
%ifarch %{ix86}
1138
%define summary_nrjQL_server Linux Kernel for server use with i686 & 64GB RAM
1139
%define info_nrjQL_server This kernel is compiled for server use, single or \
1140
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using \
1141
no preempt, HZ_100, CK1, BFS cpu scheduler, BFQ I/O scheduler. \
1142
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1143
mode depending on detected hardware. To force the kernel to boot in single \
1144
processor mode, use the "nosmp" boot parameter.
1145
%else
1146
%define summary_nrjQL_server Linux Kernel for server use with %{_arch}
1147
%define info_nrjQL_server This kernel is compiled for server use, single or \
1148
multiple %{_arch} processor(s)/core(s), using no preempt, HZ_100, \
1149
CK1, BFS cpu scheduler, BFQ I/O scheduler. \
1150
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1151
mode depending on detected hardware. To force the kernel to boot in single \
1152
processor mode, use the "nosmp" boot parameter.
1153
%endif
1154
%mkflavour nrjQL-server
1155
%endif
1156
1157
#
1158
# kernel-server-computing: i686, smp-alternatives, 64 GB / x86_64
1159
#
1160
%if %build_nrjQL_server_computing
1161
%ifarch %{ix86}
1162
%define summary_nrjQL_server_computing Linux Kernel for server use with i686 & 64GB RAM
1163
%define info_nrjQL_server_computing This kernel is compiled for server use, to obtain a \
1164
optimized dedicated encoding / compiling / computational machine, single or \
1165
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using \
1166
no preempt, HZ_100, CK1, BFS cpu scheduler, BFQ I/O scheduler. \
1167
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1168
mode depending on detected hardware. To force the kernel to boot in single \
1169
processor mode, use the "nosmp" boot parameter.
1170
%else
1171
%define summary_nrjQL_server_computing Linux Kernel for server use with %{_arch}
1172
%define info_nrjQL_server_computing This kernel is compiled for server use, to obtain a \
1173
optimized dedicated encoding / compiling / computational machine, single or \
1174
multiple %{_arch} processor(s)/core(s), using no preempt, HZ_100, \
1175
CK1, BFS cpu scheduler, BFQ I/O scheduler. \
1176
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1177
mode depending on detected hardware. To force the kernel to boot in single \
1178
processor mode, use the "nosmp" boot parameter.
1179
%endif
1180
%mkflavour nrjQL-server-computing
1181
%endif
1182
1183
#
1184
# kernel-server-games: i686, smp-alternatives, 64 GB / x86_64
1185
#
1186
%if %build_nrjQL_server_games
1187
%ifarch %{ix86}
1188
%define summary_nrjQL_server_games Linux Kernel for games server use with i686 & 64GB RAM
1189
%define info_nrjQL_server_games This kernel is compiled for games server use, single or \
1190
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, \
1191
using no preempt, HZ_3000, CK1, BFS cpu scheduler, BFQ I/O scheduler. \
1192
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1193
mode depending on detected hardware. To force the kernel to boot in single \
1194
processor mode, use the "nosmp" boot parameter.
1195
%else
1196
%define summary_nrjQL_server_games Linux Kernel for games server use with %{_arch}
1197
%define info_nrjQL_server_games This kernel is compiled for games server use, single or \
1198
multiple %{_arch} processor(s)/core(s), \
1199
using no preempt, HZ_3000, CK1, BFS cpu scheduler, BFQ I/O scheduler. \
1200
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1201
mode depending on detected hardware. To force the kernel to boot in single \
1202
processor mode, use the "nosmp" boot parameter.
1203
%endif
1204
%mkflavour nrjQL-server-games
1205
%endif
1206
1207
#
1208
%ifarch %{ix86}
1209
#
1210
# kernel-nrjQL-desktop-pae: nrjQL, i686, smp-alternatives, 64GB
1211
#
1212
%if %build_nrjQL_desktop_pae
1213
%define summary_nrjQL_desktop_pae Linux kernel for desktop use with i686 & upto 64GB RAM
1214
%define info_nrjQL_desktop_pae This kernel is compiled for desktop use, single or \
1215
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, \
1216
using HZ_1000, full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1217
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1218
mode depending on detected hardware. To force the kernel to boot in single \
1219
processor mode, use the "nosmp" boot parameter.
1220
%mkflavour nrjQL-desktop-pae
1221
%endif
1222
%endif
1223
1224
#
1225
%ifarch %{ix86}
1226
#
1227
# kernel-nrjQL-realtime-pae: nrjQL, i686, smp-alternatives, 64GB
1228
#
1229
%if %build_nrjQL_realtime_pae
1230
%define summary_nrjQL_realtime_pae Linux kernel for desktop and realtime use with i686 & upto 64GB RAM
1231
%define info_nrjQL_realtime_pae This kernel is compiled for desktop and realtime use, single or \
1232
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, \
1233
using full preempt and realtime, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1234
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1235
mode depending on detected hardware. To force the kernel to boot in single \
1236
processor mode, use the "nosmp" boot parameter.
1237
%mkflavour nrjQL-realtime-pae
1238
%endif
1239
%endif
1240
1241
#
1242
%ifarch %{ix86}
1243
#
1244
# kernel-nrjQL-laptop-pae: nrjQL, i686, smp-alternatives, 64 GB
1245
#
1246
%if %build_nrjQL_laptop_pae
1247
%define summary_nrjQL_laptop_pae Linux Kernel for for laptop use with i686 & upto 64GB RAM
1248
%define info_nrjQL_laptop_pae This kernel is compiled for laptop use, single or \
1249
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, \
1250
using HZ_300 and CPU frequency scaling ondemand default, everything to save battery, \
1251
using full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler, \
1252
and some other laptop-specific optimizations. \
1253
If you want to sacrifice battery life for performance, you better use the \
1254
%{kname}-desktop. \
1255
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1256
mode depending on detected hardware. To force the kernel to boot in single \
1257
processor mode, use the "nosmp" boot parameter. \
1258
NOTE! This kernel also uses TuxOnIce by default.
1259
%mkflavour nrjQL-laptop-pae
1260
%endif
1261
%endif
1262
1263
#
1264
%ifarch %{ix86}
1265
#
1266
# kernel-nrjQL-netbook-pae: nrjQL, i686, smp-alternatives, 64 GB
1267
#
1268
%if %build_nrjQL_netbook_pae
1269
%define summary_nrjQL_netbook_pae Linux Kernel for netbook use with i686 & upto 64GB RAM
1270
%define info_nrjQL_netbook_pae This kernel is compiled for netbook use, single or \
1271
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, \
1272
using HZ_250 and CPU frequency scaling ondemand default, everything to save battery, \
1273
using full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler, \
1274
and some other netbook-specific optimizations. \
1275
If you want to sacrifice battery life for performance, you better use the \
1276
%{kname}-desktop. \
1277
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1278
mode depending on detected hardware. To force the kernel to boot in single \
1279
processor mode, use the "nosmp" boot parameter. \
1280
NOTE! This kernel also uses TuxOnIce by default.
1281
%mkflavour nrjQL-netbook-pae
1282
%endif
1283
%endif
1284
1285
#
1286
%ifarch %{ix86}
1287
#
1288
# kernel-nrjQL-desktop-core2: nrjQL, Intel Core 2 and newer, smp-alternatives, 4 GB 
1289
#
1290
%if %build_nrjQL_desktop_core2
1291
%define summary_nrjQL_desktop_core2 Linux Kernel for desktop use with i686 & 4GB RAM
1292
%define info_nrjQL_desktop_core2 This kernel is compiled for desktop use, single or \
1293
multiple Intel Core 2 and newer processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB detected), \
1294
using HZ_1000, full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1295
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1296
mode depending on detected hardware. To force the kernel to boot in single \
1297
processor mode, use the "nosmp" boot parameter.
1298
%mkflavour nrjQL-desktop-core2
1299
%endif
1300
%endif
1301
1302
#
1303
%ifarch %{ix86}
1304
#
1305
# kernel-nrjQL-desktop-core2-pae: nrjQL, Intel Core 2 and newer, smp-alternatives, 64 GB
1306
#
1307
%if %build_nrjQL_desktop_core2_pae
1308
%define summary_nrjQL_desktop_core2_pae Linux Kernel for desktop use with i686 & upto 64GB RAM
1309
%define info_nrjQL_desktop_core2_pae This kernel is compiled for desktop use, single or \
1310
multiple Intel Core 2 and newer processor(s)/core(s) and up to 64GB RAM using PAE, \
1311
using HZ_1000, full preempt, rcu boost, CK1, BFS cpu scheduler, BFQ I/O scheduler.\
1312
This kernel relies on in-kernel smp alternatives to switch between up & smp \
1313
mode depending on detected hardware. To force the kernel to boot in single \
1314
processor mode, use the "nosmp" boot parameter.
1315
%mkflavour nrjQL-desktop-core2-pae
1316
%endif
1317
%endif
1318
1319
1320
#
1321
# kernel-source
1322
#
1323
%if %build_source
1324
%package -n %{kname}-source-%{buildrel}
1325
Version: 	%{fakever}
1326
Release: 	%{fakerel}
1327
Requires: 	glibc-devel, ncurses-devel, make, gcc, perl, diffutils
1328
Summary: 	The Linux source code for %{kname}-%{buildrel}
1329
Group: 		Development/Kernel
1330
Autoreqprov: 	no
1331
Provides: 	kernel-source = %{kverrel}
1332
Buildarch:	noarch
1333
1334
%description -n %{kname}-source-%{buildrel}
1335
The %{kname}-source package contains the source code files for the Mandriva and
1336
ROSA kernel. Theese source files are only needed if you want to build your own
1337
custom kernel that is better tuned to your particular hardware.
1338
1339
If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...)
1340
drivers against, install the *-devel-* rpm that is matching your kernel.
1341
1342
#
1343
# kernel-source-latest: virtual rpm
1344
#
1345
%package -n %{kname}-source-latest
1346
Version: 	%{kversion}
1347
Release: 	%{rpmrel}
1348
Summary: 	Virtual rpm for latest %{kname}-source
1349
Group:   	Development/Kernel
1350
Requires: 	%{kname}-source-%{buildrel}
1351
Buildarch:	noarch
1352
1353
%description -n %{kname}-source-latest
1354
This package is a virtual rpm that aims to make sure you always have the
1355
latest %{kname}-source installed...
1356
%endif
1357
1358
#
1359
# kernel-doc: documentation for the Linux kernel
1360
#
1361
%if %build_doc
1362
%package -n %{kname}-doc
1363
Version: 	%{kversion}
1364
Release: 	%{rpmrel}
1365
Summary: 	Various documentation bits found in the %{kname} source
1366
Group: 		Documentation
1367
Buildarch:	noarch
1368
1369
%description -n %{kname}-doc
1370
This package contains documentation files from the %{kname} source.
1371
Various bits of information about the Linux kernel and the device drivers
1372
shipped with it are documented in these files. You also might want install
1373
this package if you need a reference to the options that can be passed to
1374
Linux kernel modules at load time.
1375
%endif
1376
1377
#
1378
# kernel/tools
1379
#
1380
%if %{build_perf}
1381
%package -n perf
1382
Version:	%{kversion}
1383
Release:	%{rpmrel}
1384
Summary:	perf tool and the supporting documentation
1385
Group:		System/Kernel and hardware
1386
1387
%description -n perf
1388
the perf tool and the supporting documentation.
1389
%endif
1390
1391
%if %{build_cpupower}
1392
%package -n cpupower
1393
Version:	%{kversion}
1394
Release:	%{rpmrel}
1395
Summary:	the cpupower tools
1396
Group:		System/Kernel and hardware
1397
Requires(post):  rpm-helper >= 0.24.0-3
1398
Requires(preun): rpm-helper >= 0.24.0-3
1399
%if %{mdvver} >= 201200
1400
Obsoletes:	cpufreq cpufrequtils
1401
%endif
1402
1403
%description -n cpupower
1404
the cpupower tools.
1405
1406
%post -n cpupower
1407
%_post_service cpupower
1408
1409
%preun -n cpupower
1410
%_preun_service cpupower
1411
1412
%package -n cpupower-devel
1413
Version:	%{kversion}
1414
Release:	%{rpmrel}
1415
Summary:	devel files for cpupower
1416
Group:		Development/Kernel
1417
Requires:	cpupower = %{kversion}-%{rpmrel}
1418
Conflicts:	%{_lib}cpufreq-devel
1419
1420
%description -n cpupower-devel
1421
This package contains the development files for cpupower.
1422
%endif
1423
1424
%package headers
1425
Version:	%kversion
1426
Release:	%rpmrel
1427
Summary:	Linux kernel header files mostly used by your C library
1428
Group:		System/Kernel and hardware
1429
Epoch:		1
1430
%rename linux-userspace-headers
1431
1432
%description headers
1433
C header files from the Linux kernel. The header files define
1434
structures and constants that are needed for building most
1435
standard programs, notably the C library.
1436
1437
This package is not suitable for building kernel modules, you
1438
should use the 'kernel-devel' package instead.
1439
1440
%files headers
1441
%_includedir/*
1442
# Don't conflict with cpupower-devel
1443
%if %{build_cpupower}
1444
%exclude %_includedir/cpufreq.h
1445
%endif
1446
1447
#
1448
# End packages - here begins build stage
1449
#
1450
%prep
1451
%setup -q -n %top_dir_name -c
1452
%setup -q -n %top_dir_name -D -T -a100
1453
1454
%define patches_dir ../%{patch_ver}/
1455
1456
cd %src_dir
1457
1458
%if %sublevel
1459
%if %kpatch
1460
%if %prev_sublevel
1461
%patch1 -p1
1462
%endif
1463
%patch2 -p1
1464
%else
1465
%patch1 -p1
1466
%endif
1467
%else
1468
%if %kpatch
1469
%patch1 -p1
1470
%endif
1471
%endif
1472
%if %kgit
1473
%patch2 -p1
1474
%endif
1475
1476
1477
#
1478
# Setup Begin
1479
#
1480
1481
# Prepare all the variables for calling create_configs
1482
1483
%if %build_debug
1484
%define debug --debug
1485
%else
1486
%define debug --no-debug
1487
%endif
1488
1489
1490
# make sure the kernel has the sublevel we know it has...
1491
LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile
1492
1493
# get rid of unwanted files
1494
find . -name '*~' -o -name '*.orig' -o -name '*.append' | %kxargs rm -f
1495
1496
1497
%build
1498
1499
############################################################
1500
### Linker start2 > Check point to build for cooker 2013 ###
1501
############################################################
1502
%if %{mdvver} == 201300
1503
# Make sure we don't use gold
1504
export LD="%{_target_platform}-ld.bfd"
1505
export LDFLAGS="--hash-style=sysv --build-id=none"
1506
%endif
1507
############################################################
1508
###  Linker end2 > Check point to build for cooker 2013  ###
1509
############################################################
1510
1511
# Common target directories
1512
%define _kerneldir /usr/src/linux-%{kversion}-%{buildrpmrel}
1513
%define _bootdir /boot
1514
%define _modulesdir /lib/modules
1515
%define _efidir %{_bootdir}/efi/mandriva
1516
1517
# Directories definition needed for building
1518
%define temp_root %{build_dir}/temp-root
1519
%define temp_source %{temp_root}%{_kerneldir}
1520
%define temp_boot %{temp_root}%{_bootdir}
1521
%define temp_modules %{temp_root}%{_modulesdir}
1522
1523
PrepareKernel() {
1524
	name=$1
1525
	extension=$2
1526
%ifarch %{ix86} x86_64
1527
	config_dir=arch/x86/configs
1528
%endif
1529
%ifarch	%arm
1530
	config_dir=arch/arm/configs
1531
%endif
1532
%ifarch aarc64
1533
	config_dir=arch/arm64/configs
1534
%endif
1535
	echo "Make config for kernel $extension"
1536
1537
	%smake -s mrproper
1538
1539
	if [ "%{target_arch}" == "i386" -o "%{target_arch}" == "x86_64" ]; then
1540
	    if [ -z "$name" ]; then
1541
		cp ${config_dir}/%{target_arch}_defconfig-desktop .config
1542
	    else
1543
		cp ${config_dir}/%{target_arch}_defconfig-$name .config
1544
	    fi
1545
	else
1546
	    if [ -z "$name" ]; then
1547
		cp arch/%{target_arch}/defconfig-desktop .config
1548
	    else
1549
		cp arch/%{target_arch}/defconfig-$name .config
1550
	    fi
1551
	fi
1552
1553
	# make sure EXTRAVERSION says what we want it to say
1554
	LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile
1555
1556
	%smake oldconfig
1557
}
1558
1559
BuildKernel() {
1560
	KernelVer=$1
1561
1562
	echo "Building kernel $KernelVer"
1563
1564
	%kmake -s all
1565
1566
	# kirkwood boxes have u-boot
1567
	if [ "$KernelVer" = "%{kversion}-kirkwood-%{buildrpmrel}" ]; then
1568
		%kmake uImage
1569
	fi
1570
1571
	# Start installing stuff
1572
	install -d %{temp_boot}
1573
	install -m 644 System.map %{temp_boot}/System.map-$KernelVer
1574
	install -m 644 .config %{temp_boot}/config-$KernelVer
1575
	xz -c Module.symvers > %{temp_boot}/symvers-$KernelVer.xz
1576
1577
	%ifarch %{arm}
1578
		if [ -f arch/arm/boot/uImage ]; then
1579
			cp -f arch/arm/boot/uImage %{temp_boot}/uImage-$KernelVer
1580
		else
1581
			cp -f arch/arm/boot/zImage %{temp_boot}/vmlinuz-$KernelVer
1582
		fi
1583
	%else
1584
		cp -f arch/%{target_arch}/boot/bzImage %{temp_boot}/vmlinuz-$KernelVer
1585
	%endif
1586
1587
	# modules
1588
	install -d %{temp_modules}/$KernelVer
1589
	%smake INSTALL_MOD_PATH=%{temp_root} KERNELRELEASE=$KernelVer modules_install
1590
1591
	# headers	
1592
	%make INSTALL_HDR_PATH=%{temp_root}%_prefix KERNELRELEASE=$KernelVer headers_install
1593
1594
	# remove /lib/firmware, we use a separate kernel-firmware
1595
	rm -rf %{temp_root}/lib/firmware
1596
}
1597
1598
SaveDevel() {
1599
	devel_flavour=$1
1600
1601
	DevelRoot=/usr/src/linux-%{kversion}-$devel_flavour-%{buildrpmrel}
1602
	TempDevelRoot=%{temp_root}$DevelRoot
1603
1604
	mkdir -p $TempDevelRoot
1605
	for i in $(find . -name 'Makefile*'); do cp -R --parents $i $TempDevelRoot;done
1606
	for i in $(find . -name 'Kconfig*' -o -name 'Kbuild*'); do cp -R --parents $i $TempDevelRoot;done
1607
	cp -fR include $TempDevelRoot
1608
	ln -s ../generated/uapi/linux/version.h $TempDevelRoot/include/linux/version.h
1609
	cp -fR scripts $TempDevelRoot
1610
	cp -fR kernel/bounds.c $TempDevelRoot/kernel
1611
	cp -fR tools/include $TempDevelRoot/tools/
1612
	%ifarch %{arm}
1613
		cp -fR arch/%{target_arch}/tools $TempDevelRoot/arch/%{target_arch}/
1614
	%endif
1615
	%ifarch %{ix86} x86_64
1616
		cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/
1617
		cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/
1618
		cp -fR arch/x86/syscalls/syscall* $TempDevelRoot/arch/x86/syscalls/
1619
		cp -fR arch/x86/include $TempDevelRoot/arch/x86/
1620
		cp -fR arch/x86/tools $TempDevelRoot/arch/x86/
1621
	%else
1622
		cp -fR arch/%{target_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{target_arch}/kernel/
1623
		for f in $(find arch/%{target_arch} -name include); do cp -fR --parents $f $TempDevelRoot; done
1624
	%endif
1625
	cp -fR .config Module.symvers $TempDevelRoot
1626
	cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty
1627
1628
	# Needed for truecrypt build (Danny)
1629
	cp -fR drivers/md/dm.h $TempDevelRoot/drivers/md/
1630
1631
	# Needed for lguest
1632
	cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/
1633
1634
	# Needed for lirc_gpio (#39004)
1635
	cp -fR drivers/media/pci/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/pci/bt8xx/
1636
	cp -fR drivers/media/pci/bt8xx/bt848.h $TempDevelRoot/drivers/media/pci/bt8xx/
1637
	cp -fR drivers/media/common/btcx-risc.h $TempDevelRoot/drivers/media/common/
1638
1639
	# Needed for external dvb tree (#41418)
1640
	cp -fR drivers/media/dvb-core/*.h $TempDevelRoot/drivers/media/dvb-core/
1641
	cp -fR drivers/media/dvb-frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb-frontends/
1642
1643
	# add acpica header files, needed for fglrx build
1644
	cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
1645
1646
	# aufs2 has a special file needed
1647
	cp -fR fs/aufs/magic.mk $TempDevelRoot/fs/aufs
1648
1649
	for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \
1650
		 mips mn10300 openrisc parisc powerpc s390 score sh sparc tile unicore32 xtensa; do
1651
		rm -rf $TempDevelRoot/arch/$i
1652
	done
1653
1654
	%ifnarch %{arm}
1655
		rm -rf $TempDevelRoot/arch/arm
1656
		rm -rf $TempDevelRoot/arch/arm64
1657
	%endif
1658
	%ifnarch %{ix86} x86_64
1659
		rm -rf $TempDevelRoot/arch/x86
1660
	%endif
1661
1662
	# Clean the scripts tree, and make sure everything is ok (sanity check)
1663
	# running prepare+scripts (tree was already "prepared" in build)
1664
	pushd $TempDevelRoot >/dev/null
1665
		%smake -s prepare scripts
1666
		%smake -s clean
1667
	popd >/dev/null
1668
	rm -f $TempDevelRoot/.config.old
1669
1670
	# fix permissions
1671
	chmod -R a+rX $TempDevelRoot
1672
1673
	# disable mrproper in -devel rpms
1674
	patch -p1 --fuzz=0 -d $TempDevelRoot -i %{SOURCE2}
1675
1676
	kernel_devel_files=../kernel_devel_files.$devel_flavour
1677
1678
1679
### Create the kernel_devel_files.*
1680
cat > $kernel_devel_files <<EOF
1681
%dir $DevelRoot
1682
%dir $DevelRoot/arch
1683
%dir $DevelRoot/include
1684
$DevelRoot/3rdparty
1685
$DevelRoot/Documentation
1686
%ifarch %{arm}
1687
$DevelRoot/arch/arm
1688
$DevelRoot/arch/arm64
1689
%endif
1690
$DevelRoot/arch/um
1691
%ifarch %{ix86} x86_64
1692
$DevelRoot/arch/x86
1693
%endif
1694
$DevelRoot/block
1695
$DevelRoot/crypto
1696
$DevelRoot/drivers
1697
$DevelRoot/firmware
1698
$DevelRoot/fs
1699
$DevelRoot/include/Kbuild
1700
$DevelRoot/include/acpi
1701
$DevelRoot/include/asm-generic
1702
$DevelRoot/include/clocksource
1703
$DevelRoot/include/config
1704
$DevelRoot/include/crypto
1705
$DevelRoot/include/drm
1706
$DevelRoot/include/dt-bindings
1707
$DevelRoot/include/generated
1708
$DevelRoot/include/keys
1709
$DevelRoot/include/linux
1710
$DevelRoot/include/math-emu
1711
$DevelRoot/include/media
1712
$DevelRoot/include/memory
1713
$DevelRoot/include/misc
1714
$DevelRoot/include/net
1715
$DevelRoot/include/pcmcia
1716
$DevelRoot/include/ras
1717
$DevelRoot/include/rdma
1718
$DevelRoot/include/rxrpc
1719
$DevelRoot/include/scsi
1720
$DevelRoot/include/sound
1721
$DevelRoot/include/target
1722
$DevelRoot/include/trace
1723
$DevelRoot/include/uapi
1724
$DevelRoot/include/video
1725
$DevelRoot/include/xen
1726
$DevelRoot/init
1727
$DevelRoot/ipc
1728
$DevelRoot/kernel
1729
$DevelRoot/lib
1730
$DevelRoot/mm
1731
$DevelRoot/net
1732
$DevelRoot/samples
1733
$DevelRoot/scripts
1734
$DevelRoot/security
1735
$DevelRoot/sound
1736
$DevelRoot/tools
1737
$DevelRoot/usr
1738
$DevelRoot/virt
1739
$DevelRoot/.config
1740
$DevelRoot/Kbuild
1741
$DevelRoot/Kconfig
1742
$DevelRoot/Makefile
1743
$DevelRoot/Module.symvers
1744
$DevelRoot/arch/Kconfig
1745
%doc README.kernel-sources
1746
EOF
1747
1748
1749
### Create -devel Post script on the fly
1750
cat > $kernel_devel_files-post <<EOF
1751
if [ -d /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel} ]; then
1752
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/{build,source}
1753
	ln -sf $DevelRoot /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build
1754
	ln -sf $DevelRoot /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source
1755
fi
1756
EOF
1757
1758
1759
### Create -devel Preun script on the fly
1760
cat > $kernel_devel_files-preun <<EOF
1761
if [ -L /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build ]; then
1762
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build
1763
fi
1764
if [ -L /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source ]; then
1765
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source
1766
fi
1767
exit 0
1768
EOF
1769
1770
### Create -devel Postun script on the fly
1771
cat > $kernel_devel_files-postun <<EOF
1772
rm -rf /usr/src/linux-%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
1773
EOF
1774
}
1775
1776
SaveDebug() {
1777
	debug_flavour=$1
1778
1779
	install -m 644 vmlinux \
1780
	      %{temp_boot}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel}
1781
	kernel_debug_files=../kernel_debug_files.$debug_flavour
1782
	echo "%{_bootdir}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel}" \
1783
		>> $kernel_debug_files
1784
1785
	find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
1786
		-name "*.ko" | \
1787
		%kxargs -I '{}' objcopy --only-keep-debug '{}' '{}'.debug
1788
	find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
1789
		-name "*.ko" | %kxargs -I '{}' \
1790
		sh -c 'cd `dirname {}`; \
1791
		       objcopy --add-gnu-debuglink=`basename {}`.debug \
1792
		       --strip-debug `basename {}`'
1793
1794
	pushd %{temp_modules}
1795
	find %{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
1796
		-name "*.ko.debug" > debug_module_list
1797
	popd
1798
	cat %{temp_modules}/debug_module_list | \
1799
		sed 's|\(.*\)|%{_modulesdir}/\1|' >> $kernel_debug_files
1800
	cat %{temp_modules}/debug_module_list | \
1801
		sed 's|\(.*\)|%exclude %{_modulesdir}/\1|' \
1802
		>> ../kernel_exclude_debug_files.$debug_flavour
1803
	rm -f %{temp_modules}/debug_module_list
1804
}
1805
1806
CreateFiles() {
1807
	kernel_flavour=$1
1808
1809
	kernel_files=../kernel_files.$kernel_flavour
1810
1811
ker="vmlinuz"
1812
if [ "$kernel_flavour" = "kirkwood" ]; then
1813
       ker="uImage"
1814
fi
1815
### Create the kernel_files.*
1816
cat > $kernel_files <<EOF
1817
%{_bootdir}/System.map-%{kversion}-$kernel_flavour-%{buildrpmrel}
1818
%{_bootdir}/symvers-%{kversion}-$kernel_flavour-%{buildrpmrel}.xz
1819
%{_bootdir}/config-%{kversion}-$kernel_flavour-%{buildrpmrel}
1820
%{_bootdir}/$ker-%{kversion}-$kernel_flavour-%{buildrpmrel}
1821
%dir %{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/
1822
%{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/kernel
1823
%{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/modules.*
1824
%doc README.kernel-sources
1825
EOF
1826
1827
%if %build_debug
1828
    cat ../kernel_exclude_debug_files.$kernel_flavour >> $kernel_files
1829
%endif
1830
1831
### Create kernel Post script
1832
cat > $kernel_files-post <<EOF
1833
%ifarch %{arm}
1834
/sbin/installkernel -i -N %{kversion}-$kernel_flavour-%{buildrpmrel}
1835
%else
1836
/sbin/installkernel %{kversion}-$kernel_flavour-%{buildrpmrel}
1837
pushd /boot > /dev/null
1838
if [ -L vmlinuz-$kernel_flavour ]; then
1839
	rm -f vmlinuz-$kernel_flavour
1840
fi
1841
ln -sf vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel} vmlinuz-$kernel_flavour
1842
if [ -L initrd-$kernel_flavour.img ]; then
1843
	rm -f initrd-$kernel_flavour.img
1844
fi
1845
ln -sf initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img initrd-$kernel_flavour.img
1846
popd > /dev/null
1847
%endif
1848
%if %build_devel
1849
# create kernel-devel symlinks if matching -devel- rpm is installed
1850
if [ -d /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} ]; then
1851
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/{build,source}
1852
	ln -sf /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build
1853
	ln -sf /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source
1854
fi
1855
%endif
1856
EOF
1857
1858
### Create kernel Posttrans script
1859
cat > $kernel_files-posttrans <<EOF
1860
if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} ]; then
1861
    /usr/sbin/dkms_autoinstaller start %{kversion}-$kernel_flavour-%{buildrpmrel}
1862
fi
1863
EOF
1864
1865
### Create kernel Preun script on the fly
1866
cat > $kernel_files-preun <<EOF
1867
/sbin/installkernel -R %{kversion}-$kernel_flavour-%{buildrpmrel}
1868
pushd /boot > /dev/null
1869
if [ -L vmlinuz-$kernel_flavour ]; then
1870
	if [ "$(readlink vmlinuz-$kernel_flavour)" = "vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel}" ]; then
1871
		rm -f vmlinuz-$kernel_flavour
1872
	fi
1873
fi
1874
if [ -L initrd-$kernel_flavour.img ]; then
1875
	if [ "$(readlink initrd-$kernel_flavour.img)" = "initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img" ]; then
1876
		rm -f initrd-$kernel_flavour.img
1877
	fi
1878
fi
1879
popd > /dev/null
1880
%if %build_devel
1881
if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build ]; then
1882
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build
1883
fi
1884
if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source ]; then
1885
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source
1886
fi
1887
%endif
1888
exit 0
1889
EOF
1890
1891
1892
### Create kernel Postun script on the fly
1893
cat > $kernel_files-postun <<EOF
1894
/sbin/kernel_remove_initrd %{kversion}-$kernel_flavour-%{buildrpmrel}
1895
rm -rf /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel} >/dev/null
1896
if [ -d /var/lib/dkms ]; then
1897
    rm -f /var/lib/dkms/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null
1898
    rm -rf /var/lib/dkms/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
1899
    rm -f /var/lib/dkms-binary/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null
1900
    rm -rf /var/lib/dkms-binary/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
1901
fi
1902
EOF
1903
}
1904
1905
1906
CreateKernel() {
1907
	flavour=$1
1908
1909
	PrepareKernel $flavour $flavour-%{buildrpmrel}
1910
1911
	BuildKernel %{kversion}-$flavour-%{buildrpmrel}
1912
	%if %build_devel
1913
		SaveDevel $flavour
1914
	%endif
1915
	%if %build_debug
1916
		SaveDebug $flavour
1917
	%endif
1918
	CreateFiles $flavour
1919
}
1920
1921
1922
###
1923
# DO it...
1924
###
1925
1926
1927
# Create a simulacro of buildroot
1928
rm -rf %{temp_root}
1929
install -d %{temp_root}
1930
1931
1932
# make sure we are in the directory
1933
cd %src_dir
1934
1935
# %{patches_dir}/scripts/apply_patches-vanilla
1936
# %{patches_dir}/scripts/create_configs-vanilla %debug --user_cpu="%{target_arch}"
1937
1938
%{patches_dir}/scripts/apply_patches
1939
%{patches_dir}/scripts/create_configs-old-mdv %debug --user_cpu="%{target_arch}"
1940
1941
%ifarch %{ix86}
1942
%if %build_desktop586
1943
CreateKernel desktop586
1944
%endif
1945
%endif
1946
1947
%if %build_desktop
1948
CreateKernel desktop
1949
%endif
1950
1951
%if %build_netbook
1952
CreateKernel netbook
1953
%endif
1954
1955
%if %build_server
1956
CreateKernel server
1957
%endif
1958
1959
%ifarch %{ix86}
1960
%if %build_desktop_pae
1961
CreateKernel desktop-pae
1962
%endif
1963
%endif
1964
1965
%ifarch %{ix86}
1966
%if %build_netbook_pae
1967
CreateKernel netbook-pae
1968
%endif
1969
%endif
1970
1971
%{patches_dir}/scripts/apply_patches-NRJ
1972
%{patches_dir}/scripts/create_configs-withBFQ %debug --user_cpu="%{target_arch}"
1973
1974
%ifarch %{ix86}
1975
%if %build_nrj_desktop586
1976
CreateKernel nrj-desktop586
1977
%endif
1978
%endif
1979
1980
%if %build_nrj_desktop
1981
CreateKernel nrj-desktop
1982
%endif
1983
1984
%if %build_nrj_realtime
1985
CreateKernel nrj-realtime
1986
%endif
1987
1988
%if %build_nrj_laptop
1989
CreateKernel nrj-laptop
1990
%endif
1991
1992
%if %build_nrj_netbook
1993
CreateKernel nrj-netbook
1994
%endif
1995
1996
%ifarch %{ix86}
1997
%if %build_nrj_desktop_pae
1998
CreateKernel nrj-desktop-pae
1999
%endif
2000
%endif
2001
2002
%ifarch %{ix86}
2003
%if %build_nrj_realtime_pae
2004
CreateKernel nrj-realtime-pae
2005
%endif
2006
%endif
2007
2008
%ifarch %{ix86}
2009
%if %build_nrj_laptop_pae
2010
CreateKernel nrj-laptop-pae
2011
%endif
2012
%endif
2013
2014
%ifarch %{ix86}
2015
%if %build_nrj_netbook_pae
2016
CreateKernel nrj-netbook-pae
2017
%endif
2018
%endif
2019
2020
%ifarch %{ix86}
2021
%if %build_nrj_netbook_atom
2022
CreateKernel nrj-netbook-atom
2023
%endif
2024
%endif
2025
2026
%ifarch %{ix86}
2027
%if %build_nrj_netbook_atom_pae
2028
CreateKernel nrj-netbook-atom-pae
2029
%endif
2030
%endif
2031
2032
%ifarch %{ix86}
2033
%if %build_nrj_desktop_core2
2034
CreateKernel nrj-desktop-core2
2035
%endif
2036
%endif
2037
2038
%ifarch %{ix86}
2039
%if %build_nrj_desktop_core2_pae
2040
CreateKernel nrj-desktop-core2-pae
2041
%endif
2042
%endif
2043
2044
%ifarch %{arm}
2045
%if %build_iop32x
2046
CreateKernel iop32x
2047
%endif
2048
%if %build_kirkwood
2049
CreateKernel kirkwood
2050
%endif
2051
%if %build_versatile
2052
CreateKernel versatile
2053
%endif
2054
%endif
2055
2056
%{patches_dir}/scripts/apply_patches-QL
2057
%{patches_dir}/scripts/create_configs-QL %debug --user_cpu="%{target_arch}"
2058
2059
%if %build_nrjQL_desktop
2060
CreateKernel nrjQL-desktop
2061
%endif
2062
2063
%if %build_nrjQL_realtime
2064
CreateKernel nrjQL-realtime
2065
%endif
2066
2067
%if %build_nrjQL_laptop
2068
CreateKernel nrjQL-laptop
2069
%endif
2070
2071
%if %build_nrjQL_netbook
2072
CreateKernel nrjQL-netbook
2073
%endif
2074
2075
%if %build_nrjQL_server
2076
CreateKernel nrjQL-server
2077
%endif
2078
2079
%if %build_nrjQL_server_computing
2080
CreateKernel nrjQL-server-computing
2081
%endif
2082
2083
%if %build_nrjQL_server_games
2084
CreateKernel nrjQL-server-games
2085
%endif
2086
2087
%ifarch %{ix86}
2088
%if %build_nrjQL_desktop_pae
2089
CreateKernel nrjQL-desktop-pae
2090
%endif
2091
%endif
2092
2093
%ifarch %{ix86}
2094
%if %build_nrjQL_realtime_pae
2095
CreateKernel nrjQL-realtime-pae
2096
%endif
2097
%endif
2098
2099
%ifarch %{ix86}
2100
%if %build_nrjQL_laptop_pae
2101
CreateKernel nrjQL-laptop-pae
2102
%endif
2103
%endif
2104
2105
%ifarch %{ix86}
2106
%if %build_nrjQL_netbook_pae
2107
CreateKernel nrjQL-netbook-pae
2108
%endif
2109
%endif
2110
2111
%ifarch %{ix86}
2112
%if %build_nrjQL_desktop_core2
2113
CreateKernel nrjQL-desktop-core2
2114
%endif
2115
%endif
2116
2117
%ifarch %{ix86}
2118
%if %build_nrjQL_desktop_core2_pae
2119
CreateKernel nrjQL-desktop-core2-pae
2120
%endif
2121
%endif
2122
2123
2124
# set extraversion to match srpm to get nice version reported by the tools
2125
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile
2126
2127
2128
############################################################
2129
### Linker start3 > Check point to build for cooker 2013 ###
2130
############################################################
2131
# build perf
2132
2133
%if %{build_perf}
2134
%if %{mdvver} < 201300
2135
%make -C tools/perf -s HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} all
2136
%make -C tools/perf -s prefix=%{_prefix} man
2137
%else
2138
%make -C tools/perf -s HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} LDFLAGS="%optflags" all
2139
%make -C tools/perf -s prefix=%{_prefix} LDFLAGS="%optflags" man
2140
%endif
2141
%endif
2142
2143
# build cpupower
2144
2145
%if %{build_cpupower}
2146
# make sure version-gen.sh is executable.
2147
chmod +x tools/power/cpupower/utils/version-gen.sh
2148
%if %{mdvver} < 201300
2149
%make -C tools/power/cpupower CPUFREQ_BENCH=false
2150
%else
2151
%kmake -C tools/power/cpupower CPUFREQ_BENCH=false LDFLAGS="%optflags"
2152
%endif
2153
%endif
2154
############################################################
2155
###  Linker end3 > Check point to build for cooker 2013  ###
2156
############################################################
2157
2158
2159
# We don't make to repeat the depend code at the install phase
2160
%if %build_source
2161
%ifarch %{arm}
2162
    PrepareKernel "kirkwood" %{buildrpmrel}custom
2163
%else
2164
    PrepareKernel "" %{buildrpmrel}custom
2165
%endif
2166
%smake -s mrproper
2167
%endif
2168
2169
2170
###
2171
### install
2172
###
2173
%install
2174
install -m 644 %{SOURCE4}  .
2175
2176
cd %src_dir
2177
2178
# Directories definition needed for installing
2179
%define target_source %{buildroot}%{_kerneldir}
2180
%define target_boot %{buildroot}%{_bootdir}
2181
%define target_modules %{buildroot}%{_modulesdir}
2182
2183
# We want to be able to test several times the install part
2184
rm -rf %{buildroot}
2185
cp -a %{temp_root} %{buildroot}
2186
2187
# Create directories infastructure
2188
%if %build_source
2189
install -d %{target_source}
2190
2191
tar cf - . | tar xf - -C %{target_source}
2192
chmod -R a+rX %{target_source}
2193
2194
# we remove all the source files that we don't ship
2195
# first architecture files
2196
for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \
2197
	 mips openrisc parisc powerpc s390 score sh sh64 sparc tile unicore32 v850 xtensa mn10300; do
2198
	rm -rf %{target_source}/arch/$i
2199
done
2200
2201
# other misc files
2202
rm -f %{target_source}/{.config.old,.config.cmd,.gitignore,.lst,.mailmap}
2203
rm -f %{target_source}/{.missing-syscalls.d,arch/.gitignore,firmware/.gitignore}
2204
rm -rf %{target_source}/.tmp_depmod/
2205
2206
#endif %build_source
2207
%endif
2208
2209
# compressing modules
2210
%if %{build_modxz}
2211
find %{target_modules} -name "*.ko" | %kxargs xz -6e
2212
%else
2213
find %{target_modules} -name "*.ko" | %kxargs gzip -9
2214
%endif
2215
2216
# We used to have a copy of PrepareKernel here
2217
# Now, we make sure that the thing in the linux dir is what we want it to be
2218
for i in %{target_modules}/*; do
2219
	rm -f $i/build $i/source
2220
done
2221
2222
# sniff, if we compressed all the modules, we change the stamp :(
2223
# we really need the depmod -ae here
2224
pushd %{target_modules}
2225
for i in *; do
2226
	/sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i
2227
	echo $?
2228
done
2229
2230
for i in *; do
2231
	pushd $i
2232
	echo "Creating modules.description for $i"
2233
	modules=`find . -name "*.ko.[g,x]z"`
2234
	echo $modules | %kxargs /sbin/modinfo \
2235
	| perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description
2236
	popd
2237
done
2238
popd
2239
2240
# need to set extraversion to match srpm again to avoid rebuild
2241
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile
2242
%if %{build_perf}
2243
2244
# perf tool binary and supporting scripts/binaries
2245
make -C tools/perf -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install
2246
2247
# perf man pages (note: implicit rpm magic compresses them later)
2248
make -C tools/perf  -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install-man
2249
%endif
2250
2251
############################################################
2252
### Linker start4 > Check point to build for cooker 2013 ###
2253
############################################################
2254
%if %{build_cpupower}
2255
%if %{mdvver} < 201300
2256
make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install
2257
%else
2258
%make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false LDFLAGS="%optflags" install
2259
%endif
2260
rm -f %{buildroot}%{_libdir}/*.{a,la}
2261
%find_lang cpupower
2262
mv cpupower.lang ../
2263
chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
2264
mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
2265
install -m644 %{SOURCE50} %{buildroot}%{_unitdir}/cpupower.service
2266
install -m644 %{SOURCE51} %{buildroot}%{_sysconfdir}/sysconfig/cpupower
2267
%endif
2268
############################################################
2269
### Linker start4 > Check point to build for cooker 2013 ###
2270
############################################################
2271
2272
###
2273
### clean
2274
###
2275
%clean
2276
rm -rf %{buildroot}
2277
2278
2279
# We don't want to remove this, the whole reason of its existence is to be
2280
# able to do several rpm --short-circuit -bi for testing install
2281
# phase without repeating compilation phase
2282
#rm -rf %{temp_root}
2283
2284
###
2285
### source and doc file lists
2286
###
2287
2288
%if %build_source
2289
%files -n %{kname}-source-%{buildrel}
2290
%dir %{_kerneldir}
2291
%dir %{_kerneldir}/arch
2292
%dir %{_kerneldir}/include
2293
%{_kerneldir}/3rdparty
2294
%{_kerneldir}/Documentation
2295
%{_kerneldir}/arch/Kconfig
2296
%{_kerneldir}/arch/arm
2297
%{_kerneldir}/arch/arm64
2298
%{_kerneldir}/arch/um
2299
%{_kerneldir}/arch/x86
2300
%{_kerneldir}/block
2301
%{_kerneldir}/crypto
2302
%{_kerneldir}/drivers
2303
%{_kerneldir}/firmware
2304
%{_kerneldir}/fs
2305
%{_kerneldir}/include/Kbuild
2306
%{_kerneldir}/include/acpi
2307
%{_kerneldir}/include/asm-generic
2308
%{_kerneldir}/include/clocksource
2309
%{_kerneldir}/include/crypto
2310
%{_kerneldir}/include/drm
2311
%{_kerneldir}/include/dt-bindings
2312
%{_kerneldir}/include/keys
2313
%{_kerneldir}/include/linux
2314
%{_kerneldir}/include/math-emu
2315
%{_kerneldir}/include/media
2316
%{_kerneldir}/include/memory
2317
%{_kerneldir}/include/misc
2318
%{_kerneldir}/include/net
2319
%{_kerneldir}/include/pcmcia
2320
%{_kerneldir}/include/ras
2321
%{_kerneldir}/include/rdma
2322
%{_kerneldir}/include/rxrpc
2323
%{_kerneldir}/include/scsi
2324
%{_kerneldir}/include/sound
2325
%{_kerneldir}/include/target
2326
%{_kerneldir}/include/trace
2327
%{_kerneldir}/include/uapi
2328
%{_kerneldir}/include/video
2329
%{_kerneldir}/include/xen
2330
%{_kerneldir}/init
2331
%{_kerneldir}/ipc
2332
%{_kerneldir}/kernel
2333
%{_kerneldir}/lib
2334
%{_kerneldir}/mm
2335
%{_kerneldir}/net
2336
%{_kerneldir}/virt
2337
%{_kerneldir}/samples
2338
%{_kerneldir}/scripts
2339
%{_kerneldir}/security
2340
%{_kerneldir}/sound
2341
%{_kerneldir}/tools
2342
%{_kerneldir}/usr
2343
%{_kerneldir}/COPYING
2344
%{_kerneldir}/CREDITS
2345
%{_kerneldir}/Kbuild
2346
%{_kerneldir}/Kconfig
2347
%{_kerneldir}/MAINTAINERS
2348
%{_kerneldir}/Makefile
2349
%{_kerneldir}/README
2350
%{_kerneldir}/REPORTING-BUGS
2351
%doc README.kernel-sources
2352
2353
%files -n %{kname}-source-latest
2354
%endif
2355
2356
%if %build_doc
2357
%files -n %{kname}-doc
2358
%doc linux-%{tar_ver}/Documentation/*
2359
%endif
2360
2361
%if %{build_perf}
2362
%files -n perf
2363
%{_bindir}/perf
2364
%dir %{_prefix}/libexec/perf-core
2365
%{_prefix}/libexec/perf-core/*
2366
%{_mandir}/man[1-8]/perf*
2367
%{_sysconfdir}/bash_completion.d/perf
2368
%endif
2369
2370
%if %{build_cpupower}
2371
%files -n cpupower -f cpupower.lang
2372
%{_bindir}/cpupower
2373
%{_libdir}/libcpupower.so.0
2374
%{_libdir}/libcpupower.so.0.0.0
2375
%{_unitdir}/cpupower.service
2376
%{_mandir}/man[1-8]/cpupower*
2377
%config(noreplace) %{_sysconfdir}/sysconfig/cpupower
2378
2379
%files -n cpupower-devel
2380
%{_libdir}/libcpupower.so
2381
%{_includedir}/cpufreq.h
2382
%endif
2383
2384
2385
%changelog
2386
2387
* Fri Sep 27 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.13-70
2388
+ update to 3.10.13 stable
2389
- update patch
2390
- * /patches-QL/tuxonice-for-linux-3.10.13-2013-09-27.patch
2391
- ---------------------------------------------------------------------
2392
- Kernel 3.10 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
- the rel -69  is used for development and the experimental flavours,
2396
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2397
- Yin & Yang (69) release - a very complete but experimental flavours...
2398
- ---------------------------------------------------------------------
2399
2400
* Mon Sep 16 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.12-70
2401
+ update to 3.10.12 stable
2402
- add patch
2403
- * linux-fixuClibc.patch
2404
- (it was recommended by Alexander Burmashev: uclibc builds on kernel 3.10
2405
- we have a lot of such stuff in cooker, especially recommended for cooker)
2406
- drop patches from previous 3.0.11 (these are already applied in 3.10.12):
2407
  * net-sched-psched_ratecfg_precompute-improvements.patch
2408
  * net-sched-restore-linklayer-atm-handling.patch
2409
- ---------------------------------------------------------------------
2410
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2411
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2412
- The rel -1 (mainline serie), with official kernel sources and addons,
2413
- the rel -69  is used for development and the experimental flavours,
2414
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2415
- Yin & Yang (69) release - a very complete but experimental flavours...
2416
- ---------------------------------------------------------------------
2417
2418
* Wed Sep 11 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.11-70
2419
+ update to 3.10.11 stable
2420
- the compressed folder now is the same (mibrel 69) for -1/-69/-70(one) 
2421
- sync: new /patches:
2422
  * /patches-QL/tuxonice-for-linux-3.10.11-2013-09-10.patch
2423
- drop old 3.10.10 patches (these are already applied in 3.10.11):
2424
  * kernel-workqueue-cond_resched-after-processing-each-work-item.patch
2425
  * jfs-fix-readdir-cookie-incompatibility-with-nfsv4.patch
2426
  * drm-nouveau-mc-fix-race-condition-between-constructor-and-request_irq.patch
2427
  * net-wireless-ath-ath9k-Enable-PLL-fix-only-for-AR9340-AR9330.patch
2428
  * net-mac80211-add-a-flag-to-indicate-CCK-support-for-HT-clients.patch
2429
  * net-sunrpc-Fix-memory-corruption-issue-on-32-bit-highmem-systems.patch
2430
- ---------------------------------------------------------------------
2431
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2432
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2433
- The rel -1 (mainline serie), with official kernel sources and addons,
2434
- the rel -69  is used for development and the experimental flavours,
2435
- the rel -70 is merge of mainline & experimental flavours in ONE srpm
2436
- Yin & Yang (69) release - a very complete but experimental flavours...
2437
- ---------------------------------------------------------------------
2438
2439
* Sun Sep 01 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.10-70
2440
+ Kernel 3.10.10-stable -rel70 (+1 + 69)
2441
- -----------------------------------------
2442
-        Experimental Kernels ONE 
2443
- -----------------------------------------
2444
- BFQ: replaced with fixed version (nr.3 patches 3.10.8+-v6r2/ dated 25 August)
2445
- sync: /patches
2446
- updates: /patches-others /patches-NRJ /patches-QL /patches-RT
2447
- modified all defconfigs, enabled: CONFIG_CHECKPOINT_RESTORE=y
2448
- modified create_configs (all -server flavours: compression from XZ to GZIP)
2449
- fixed Kconflicts for all distro or almost (hoping...)
2450
- ---------------------------------------------------------------------
2451
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2452
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2453
- Yin & Yang (69) release - a very complete but experimental flavours...
2454
- ---------------------------------------------------------------------
2455
2456
* Thu Aug 22 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.9-70
2457
+ Kernel 3.10.9-stable -rel70 (+1 + 69)
2458
- -----------------------------------------
2459
-        Experimental Kernels ONE 
2460
- -----------------------------------------
2461
- To fix the "hangs on boot issue" signaled: bugs.rosalinux.ru/show_bug.cgi?id=2530
2462
- add: /patches-NRJ/0004-block-Switch-from-BFQ-v6r2-for-3.10.0-to-BFQ-v6r2-fo.patch
2463
- sync: /patches
2464
- update: /patches-QL/tuxonice-for-linux-3.10.9-2013-08-21.patch
2465
- fix conflicts as suggested by Tomasz Paweł Gajc: dkms-nvidia-current < 325.15-1
2466
- ---------------------------------------------------------------------
2467
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2468
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2469
- Yin & Yang (69) release - a very complete but experimental flavours...
2470
- ---------------------------------------------------------------------
2471
2472
* Wed Aug 21 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.9-70
2473
+ Kernel 3.10.9-stable -rel70 (+1 + 69)
2474
- -----------------------------------------
2475
-        Experimental Kernels ONE 
2476
- -----------------------------------------
2477
- update to 3.10.9
2478
- ---------------------------------------------------------------------
2479
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2480
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2481
- Yin & Yang (69) release - a very complete but experimental flavours...
2482
- ---------------------------------------------------------------------
2483
2484
* Tue Aug 20 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.8-70
2485
+ Kernel 3.10.8-stable -rel70 (+1 + 69)
2486
- -----------------------------------------
2487
-        Experimental Kernels ONE 
2488
- -----------------------------------------
2489
- That's an attempt to merge all MIB kernel flavours (old mdv, nrj, nrjQL) with ONE only SRPM (NRJ V5): 
2490
- changelog for ONE:
2491
- version rc (20 August 2013) > the compressed folder has redundant contents so can be used also for NRJ4
2492
- "Build defines" have been shortened to be easy to edit
2493
- version rc (19 August 2013) > now it's more modular to allow us easily a lot ot further developments...
2494
- version beta (17 August 2013) > It can config, prepare, build all 'old mdv' and MIB nrj nrjQL flavours
2495
- version alpha (15 August 2013) > It can config, prepare and build nrj-desktop & nrjQL-desktop flavours
2496
- ---------------------------------------------------------------------
2497
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2498
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2499
- Yin & Yang (69) release - a very complete but experimental flavours...
2500
- ---------------------------------------------------------------------
2501
2502
* Mon Aug 19 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.8-rc1-70
2503
+ Kernel 3.10.8-rc1 stable -rel70 (+1 + 69)
2504
- -----------------------------------------
2505
-        Experimental Kernels ONE 
2506
- -----------------------------------------
2507
- That's an attempt to merge all MIB kernel flavours (old mdv, nrj, nrjQL) with ONE only SRPM (NRJ V5): 
2508
- changelog for ONE:
2509
- version alpha (15 August 2013) > It can config, prepare and build nrj-desktop & nrjQL-desktop flavours
2510
- version beta (17 August 2013) > It can config, prepare, build all 'old mdv' and MIB nrj nrjQL flavours
2511
- version rc (19 August 2013) > now it's more modular to allow us easily a lot ot further developments...
2512
- ---------------------------------------------------------------------
2513
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2514
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2515
- Yin & Yang (69) release - a very complete but experimental flavours...
2516
- ---------------------------------------------------------------------
2517
2518
* Sat Aug 17 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.7-2
2519
+ Kernel 3.10.7 stable -rel2
2520
- ----------------------------
2521
-   Experimental Kernels ONE 
2522
- ----------------------------
2523
- That's an attempt to merge all MIB kernel flavours (old mdv, nrj, nrjQL) with ONE only SRPM (NRJ V5): 
2524
- changelog for ONE:
2525
- version alpha (15 August 2013) > It can config, prepare and build nrj-desktop & nrjQL-desktop flavours
2526
- version beta (17 August 2013) > It can config, prepare, build all 'old mdv' and MIB nrj nrjQL flavours
2527
- ---------------------------------------------------------------------
2528
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2529
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2530
- Yin & Yang (69) release - a very complete but experimental flavours...
2531
- ---------------------------------------------------------------------
2532
2533
* Thu Aug 15 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.7-1
2534
+ update to 3.10.7 stable
2535
- sync patches, drop old stable queue, drm-radeon and zram patches
2536
- fixed Conflicts with new proprietary driver version-release
2537
- ---------------------------------------------------------------------
2538
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2539
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2540
- The rel -1 (mainline serie), with official kernel sources and addons,
2541
- instead (-69) will be used for development and experimental flavours,
2542
- Yin & Yang (69) release - a very complete but experimental flavours...
2543
- ---------------------------------------------------------------------
2544
2545
* Tue Aug 13 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.6-1
2546
+ update to 3.10.6 stable
2547
- sync all /patches
2548
- update QL patch: tuxonice-for-linux-3.10.6-2013-08-13.patch
2549
- fixed Conflicts with new proprietary driver version-release
2550
- fixed Provides value for Alsa
2551
- small fix to .spec for %files headers section
2552
- ---------------------------------------------------------------------
2553
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2554
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2555
- The rel -1 (mainline serie), with official kernel sources and addons,
2556
- instead (-69) will be used for development and experimental flavours,
2557
- Yin & Yang (69) release - a very complete but experimental flavours...
2558
- ---------------------------------------------------------------------
2559
2560
* Wed Aug 07 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.5-1
2561
+ update to 3.10.5 stable
2562
- sync all /patches
2563
- sync defconfigs
2564
- enable ndiswrapper
2565
- update QL patch: tuxonice-for-linux-3.10.5-2013-08-04.patch
2566
- revert to power save disable to verify if fixes an issue of audio noise:
2567
- (that issue has been firstly reported by "dago68", then verified by me)
2568
  * CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
2569
  * CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
2570
- ---------------------------------------------------------------------
2571
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2572
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2573
- The rel -1 (mainline serie), with official kernel sources and addons,
2574
- instead (-69) will be used for development and experimental flavours,
2575
- Yin & Yang (69) release - a very complete but experimental flavours...
2576
- ---------------------------------------------------------------------
2577
2578
* Thu Aug 01 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.4-1
2579
+ update to 3.10.4 stable
2580
- revert to old /scripts/create_configs-QL behaviour:
2581
  * now -laptop and -netbook are 300 and 250HZ again
2582
- sync /patches
2583
- update patch: tuxonice-for-linux-3.10.4-2013-07-30.patch
2584
- ---------------------------------------------------------------------
2585
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2586
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2587
- The rel -1 (mainline serie), with official kernel sources and addons,
2588
- instead (-69) will be used for development and experimental flavours,
2589
- Yin & Yang (69) release - a very complete but experimental flavours...
2590
- ---------------------------------------------------------------------
2591
2592
* Tue Jul 30 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.10.1-1
2593
+ update to 3.10.1 stable
2594
- all the defconfigs have been prepared for 3.10 series
2595
- all the patches have been updated for the 3.10 series
2596
- update kernel specs
2597
- ---------------------------------------------------------------------
2598
- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2599
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2600
- The rel -1 (mainline serie), with official kernel sources and addons,
2601
- instead (-69) will be used for development and experimental flavours,
2602
- Yin & Yang (69) release - a very complete but experimental flavours...
2603
- ---------------------------------------------------------------------
2604
2605
* Tue Jul 23 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.11-1
2606
+ update to stable 3.9.11 (EOL)
2607
- update patches:
2608
  * tuxonice-for-linux-3.9.11-2013-07-21.patch
2609
- update defconfigs
2610
- ---------------------------------------------------------------------
2611
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2612
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2613
- The rel -1 (mainline serie), with official kernel sources and addons,
2614
- instead (-69) will be used for development and experimental flavours,
2615
- Yin & Yang (69) release - a very complete but experimental flavours...
2616
- ---------------------------------------------------------------------
2617
2618
* Wed Jul 17 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.10-1
2619
+ update to 3.9.10 stable
2620
- update patches:
2621
  * tuxonice-for-linux-3.9.10-2013-07-14.patch
2622
  * uksm-0.1.2.2-for-v3.9.ge.8.patch
2623
- update defconfigs
2624
- ---------------------------------------------------------------------
2625
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2626
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2627
- The rel -1 (mainline serie), with official kernel sources and addons,
2628
- instead (-69) will be used for development and experimental flavours,
2629
- Yin & Yang (69) release - a very complete but experimental flavours...
2630
- ---------------------------------------------------------------------
2631
2632
* Fri Jul 05 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.9-1
2633
+ update to 3.9.9 stable
2634
- update update: tuxonice-for-linux-3.9-8-2013-06-29.patch
2635
- added patch: net-wireless-bcma-add-support-for-BCM43142.patch
2636
- ---------------------------------------------------------------------
2637
- Kernel 3.9 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
* Thu Jun 27 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.8-1
2645
+ update to 3.9.8 stable
2646
- update patch: tuxonice-for-linux-3.9-7-2013-06-23.patch
2647
- add patch: ath9k_htc > Handle IDLE state transition properly
2648
- removed unused config keys: ATH9K_RATE_CONTROL=y & USB_CHIPIDEA_HOST=y
2649
- ---------------------------------------------------------------------
2650
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2651
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2652
- This kernel contains also some other patches to improve the hw support
2653
- ---------------------------------------------------------------------
2654
2655
* Thu Jun 20 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.7-1
2656
+ update to 3.9.7 stable
2657
- fixed a shutdown issue reported on nrjQL laptop -netbook and -server 
2658
- now BFQ is the version updated to v6r2, dated 15 June
2659
- replaced 3 patches:
2660
  * 0001-block-cgroups-kconfig-build-bits-for-BFQ-v6r2-3.8.patch
2661
  * 0002-block-introduce-the-BFQ-v6r2-I-O-sched-for-3.8.patch
2662
  * 0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v6r2-for-3.8.0.patch
2663
- new key since 3.9.7 >>> # CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set
2664
- ---------------------------------------------------------------------
2665
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2666
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2667
- This kernel contains also some other patches to improve the hw support
2668
- ---------------------------------------------------------------------
2669
2670
* Fri Jun 14 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.6-1
2671
+ update to 3.9.6 stable
2672
- update TOI patch >>> tuxonice-for-linux-3.9-6-2013-06-14.patch
2673
- update all defconfigs: insert the new key values in the proper places
2674
- update kernel.spec about text descriptions for nrj and nrjQL flavours
2675
- small overall cleanups
2676
- ---------------------------------------------------------------------
2677
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2678
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2679
- The rel -1 (mainline serie), with official kernel sources and addons,
2680
- instead (-69) will be used for development and experimental flavours,
2681
- Yin & Yang (69) release - a very complete but experimental flavours...
2682
- ---------------------------------------------------------------------
2683
2684
* Wed Jun 12 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.5-1
2685
+ update to 3.9.5 stable
2686
- update TOI patch >>> tuxonice-for-linux-3.9-5-2013-06-08.patch
2687
- ---------------------------------------------------------------------
2688
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2689
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2690
- The rel -1 (mainline serie), with official kernel sources and addons,
2691
- instead (-69) will be used for development and experimental flavours,
2692
- Yin & Yang (69) release - a very complete but experimental flavours...
2693
- ---------------------------------------------------------------------
2694
2695
* Tue Jun 11 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.9.1-1
2696
+ update to 3.9.1 stable
2697
- all the defconfigs have been prepared for 3.9 series
2698
- all the patches have been updated for the 3.9 series
2699
- update kernel specs
2700
- update kernel scripts
2701
- we've received some good suggestions, and all have been accepted
2702
- on mainline nrj kernels we apply again > create_configs-withBFQ
2703
- 1> suggestions and requests received by Per Øyvind Karlsen (POK)
2704
  * TOI (tuxonice) was only in laptop/netbook, now in all flavours
2705
  * CONFIG_PM_AUTOSLEEP=y 
2706
  * CONFIG_SFI =m
2707
  * CONFIG_BLK_DEV_DRBD=m 
2708
  * # CONFIG_DRBD_FAULT_INJECTION is not set
2709
  * CONFIG_HW_RANDOM_TIMERIOMEM=m 
2710
  * CONFIG_DRM_VIA=m 
2711
  * CONFIG_FB_ATY128_BACKLIGHT=y  
2712
  * CONFIG_USB_RIO500=m 
2713
  * CONFIG_DRM_VMWGFX_FBCON=y
2714
  * CONFIG_SND_PCSP=m 
2715
  * CONFIG_SND_HDA_POWER_SAVE_DEFAULT=10
2716
  * CONFIG_SND_AC97_POWER_SAVE_DEFAULT=10
2717
- 2> suggestions from an advanced user to A.Burmashev
2718
  * CONFIG_TCP_CONG_ADVANCED=y
2719
  * CONFIG_TCP_CONG_BIC=m
2720
  * CONFIG_TCP_CONG_CUBIC=y
2721
  * CONFIG_TCP_CONG_WESTWOOD=m
2722
  * CONFIG_TCP_CONG_HTCP=m
2723
  * CONFIG_TCP_CONG_HSTCP=m
2724
  * CONFIG_TCP_CONG_HYBLA=m
2725
  * CONFIG_TCP_CONG_VEGAS=m
2726
  * CONFIG_TCP_CONG_SCALABLE=m
2727
  * CONFIG_TCP_CONG_LP=m
2728
  * CONFIG_TCP_CONG_VENO=m
2729
  * CONFIG_TCP_CONG_YEAH=m
2730
  * CONFIG_TCP_CONG_ILLINOIS=m
2731
  * CONFIG_DEFAULT_CUBIC=y
2732
  * # CONFIG_DEFAULT_RENO is not set
2733
- ---------------------------------------------------------------------
2734
- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2735
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2736
- The rel -1 (mainline serie), with official kernel sources and addons,
2737
- instead (-69) will be used for development and experimental flavours,
2738
- Yin & Yang (69) release - a very complete but experimental flavours...
2739
- ---------------------------------------------------------------------
2740
2741
* Fri May 17 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.13-1
2742
- Virtual package for new nrj kernel for properly install and updates.
2743
+ update to 3.8.13 stable (EOL)
2744
- * 87 files changed, 902 insertions(+), 445 deletions(-)
2745
- patches updated
2746
- two kernel keys have been modified:
2747
- * CONFIG_NLS_DEFAULT="iso8859-1" to CONFIG_NLS_DEFAULT="utf8"
2748
- * new add > CONFIG_MOUSE_CYAPA=m
2749
- ---------------------------------------------------------------------
2750
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2751
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2752
- The rel -1 (mainline serie), with official kernel sources and addons,
2753
- instead (-69) will be used for development and experimental flavours,
2754
- Yin & Yang (69) release - a very complete but experimental flavours...
2755
- ---------------------------------------------------------------------
2756
2757
* Thu May 16 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.12-2
2758
+ update to 3.8.12 stable - second release
2759
- BFQ patches update to v6r1 that contain two important fixes.
2760
- BFQ is disable on mainline kernels (nrj), as v6 caused some rare oops:
2761
- but you can still enable it easily from kernel.spec using the command 
2762
- create_configs-withBFQ instead of create_configs (one of 2 must be #)
2763
- BFQ is enable on development kernels nrjQL, but now is the fixed v6r1
2764
- ZSwap patch dropped, as it caused some rare oops...
2765
- ZSMALLOC is now built-in on arm to workaround a build failure
2766
- ---------------------------------------------------------------------
2767
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2768
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2769
- The rel -1 (mainline serie), with official kernel sources and addons,
2770
- instead (-69) will be used for development and experimental flavours,
2771
- Yin & Yang (69) release - a very complete but experimental flavours...
2772
- ---------------------------------------------------------------------
2773
2774
* Thu May 09 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.12-1
2775
- Virtual package for new nrj kernel for properly install and updates.
2776
+ update to 3.8.12 stable 
2777
- * 129 files changed, 641 insertions(+), 320 deletions(-)
2778
- patches dropped, now in upstream
2779
- patches updated to newer versions
2780
- * tuxonice 3.8.12 20130509
2781
- ---------------------------------------------------------------------
2782
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2783
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2784
- The rel -1 (mainline serie), with official kernel sources and addons,
2785
- instead (-69) will be used for development and experimental flavours,
2786
- Yin & Yang (69) release - a very complete but experimental flavours...
2787
- ---------------------------------------------------------------------
2788
2789
* Tue May 07 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.11-1
2790
+ update to 3.8.11 stable 
2791
- * 49 files changed, 454 insertions(+), 166 deletions(-)
2792
- patches dropped, now in upstream
2793
- patches updated to newer versions
2794
- * aufs3 3.8 20130504
2795
- * tuxonice 3.8.11 20130504
2796
- ---------------------------------------------------------------------
2797
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2798
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2799
- The rel -1 (mainline serie), with official kernel sources and addons,
2800
- instead (-69) will be used for development and experimental flavours,
2801
- Yin & Yang (69) release - a very complete but experimental flavours...
2802
- ---------------------------------------------------------------------
2803
2804
* Sat Apr 27 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.10-1
2805
+ update to 3.8.10 stable 
2806
- * 58 files changed, 405 insertions(+), 222 deletions(-)
2807
- * 3 files changed, 27 insertions(+), 1 deletion(-)
2808
- patches updated to newer versions dated 20130427:
2809
  * aufs3, fbcondor, ureadahead, toi, vhba, zwap 
2810
- patch add: try removing a boot warning about kernelvariables
2811
  * /patches-extras/kernelvariables.patch
2812
- ---------------------------------------------------------------------
2813
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2814
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2815
- The rel -1 (mainline serie), with official kernel sources and addons,
2816
- instead (-69) will be used for development and experimental flavours,
2817
- Yin & Yang (69) release - a very complete but experimental flavours...
2818
- ---------------------------------------------------------------------
2819
2820
* Wed Apr 17 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.8-1
2821
+ update to 3.8.8 stable 
2822
- *  37 files changed, 335 insertions(+), 344 deletions(-)
2823
- ---------------------------------------------------------------------
2824
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2825
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2826
- The rel -1 (mainline serie), with official kernel sources and addons,
2827
- instead (-69) will be used for development and experimental flavours,
2828
- Yin & Yang (69) release - a very complete but experimental flavours...
2829
- ---------------------------------------------------------------------
2830
2831
* Mon Apr 15 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.7-1
2832
+ update to 3.8.7 stable 
2833
- * 67 files changed, 507 insertions(+), 341 deletions(-)
2834
- new patches added, enabled and configured with default values
2835
  * /patches-extras/linux-3.8.6-colored-printk.patch
2836
  */patches-extras/zswap-3.8-20130415.patch
2837
  * zswap now is enabled only on x86 arch, not in ARM (using zcache2)
2838
- patches updated to newer versions 20130414:
2839
  * aufs3, toi 
2840
- patches updated to newer versions 20130415:
2841
  * fbcondor, ureadahead, vhba
2842
- ---------------------------------------------------------------------
2843
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2844
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2845
- The rel -1 (mainline serie), with official kernel sources and addons,
2846
- instead (-69) will be used for development and experimental flavours,
2847
- Yin & Yang (69) release - a very complete but experimental flavours...
2848
- ---------------------------------------------------------------------
2849
2850
* Sun Apr 07 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.6-1
2851
+ update to 3.8.6 stable 
2852
- * (158 files changed, 1341 insertions(+), 658 deletions(-)
2853
- patch add: reiserfs4 ver.3.8 with its configuration as new module
2854
  * add an experimental support to Reiser4 FS: please test this FS!
2855
- patches updated to newer git version 20130406:
2856
  * aufs3, brtfs-lz4, fbcondor, toi, ureadahead, vhba
2857
- Some kernel.spec changes from cooker to make it ARM/ARM64 compatible:
2858
  * Import Bero commit 0e1b905e24 from openmandriva cooker kernel.spec
2859
  * Import Fedya commit 4254d039f6 from openmandriva cooker kernel.spec
2860
- add conflict for dkms-nvidia173 <= 173.14.36
2861
- ---------------------------------------------------------------------
2862
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2863
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2864
- The rel -1 (mainline serie), with official kernel sources and addons,
2865
- instead (-69) will be used for development and experimental flavours,
2866
- Yin & Yang (69) release - a very complete but experimental flavours...
2867
- ---------------------------------------------------------------------
2868
2869
* Thu Mar 28 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.5-1
2870
+ update to 3.8.5 stable 
2871
- * (109 files changed, 778 insertions(+), 683 deletions(-)
2872
- add two new keys to defconfigs:
2873
  * CONFIG_EFI_VARS_PSTORE=y
2874
  * # CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set
2875
- ---------------------------------------------------------------------
2876
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2877
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2878
- The rel -1 (mainline serie), with official kernel sources and addons,
2879
- instead (-69) will be used for development and experimental flavours,
2880
- Yin & Yang (69) release - a very complete but experimental flavours...
2881
- ---------------------------------------------------------------------
2882
2883
* Sun Mar 24 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.4-1
2884
+ update to 3.8.4 stable (86 fixes all over)
2885
+ NRJ 4, scripts v 1.6: more info on file > create_configs_changelog
2886
+ Import Bero commit 32d3796b8b from openmandriva cooker kernel.spec
2887
- patches updated:
2888
  * AUFS3 to 3.8 20130324
2889
  * TOI to 3.8.3 20130324
2890
- patches added:
2891
  * uksm-0.1.2.2-for-v3.8.ge.3.patch
2892
- ---------------------------------------------------------------------
2893
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2894
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2895
- The rel -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
* Fri Mar 15 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.3-1
2901
+ update to 3.8.3 stable (144 fixes all over)
2902
+ Imported "Build kernel-headers in here" from OpenMandriva kernel
2903
- drop Haswell id fixup: gpu-drm-i915-Fix-Haswell-CRW-PCI-IDs.patch
2904
+ patches new entries are placed in /extras folder:
2905
- kernel-esfq.patch
2906
- kernel-inittmpfs.patch
2907
- btrfs-lz4-3.8-20130314.patch
2908
- ureadahead-3.8-20130314.patch
2909
+ patches updated:
2910
- AUFS3 to 3.8 20130315
2911
- TOI to 3.8.3 20130315
2912
- VHBA 3.8 20130314
2913
+ NRJ 4, scripts v 1.5: 
2914
- nrjQL_server & nrjQL_server_computing: dynticks enabled to save energy
2915
- ---------------------------------------------------------------------
2916
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2917
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2918
- The rel -1 (mainline serie), with official kernel sources and addons,
2919
- instead (-69) will be used for development and experimental flavours,
2920
- Yin & Yang (69) release - a very complete but experimental flavours...
2921
- ---------------------------------------------------------------------
2922
2923
* Mon Mar 11 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.2-1
2924
+ update to 3.8.2 stable (80 fixes all over)
2925
+ Patch added from ZEN:
2926
- Virtual (SCSI) HBA for Virtual CD emulation module
2927
+ update to the patches:
2928
- AUFS3 to 3.8 20130310
2929
- TOI to 3.8.2 20130310
2930
+ some spec cleanup for cooker
2931
+ defconfigs updated for VHBA, enable for x86/x86_64, disable for ARM
2932
- ---------------------------------------------------------------------
2933
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2934
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2935
- The rel -1 (mainline serie), with official kernel sources and addons,
2936
- instead (-69) will be used for development and experimental flavours,
2937
- Yin & Yang (69) release - a very complete but experimental flavours...
2938
- ---------------------------------------------------------------------
2939
2940
* Sun Mar 10 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.8.1-69
2941
+ update to 3.8.1 stable 
2942
+ update to nrj v4 - rel 1.4 (09 mar 2013) 
2943
- This version is first attempt to merge stuff with OpenMandriva devel:
2944
- it should build from mdv2010/2011, rosa2012.0/2012.1, and cooker 2013
2945
- ---------------------------------------------------------------------
2946
- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2947
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2948
- The rel -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
* Sun Mar 03 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.10-1
2954
+ update to 3.7.10 stable (79 fixes all over)
2955
- With this version, 3.7 has reached the EOL status (End of Life)
2956
+ update to nrj v4 - rel 1.3 (05 mar 2013) 
2957
- On request of Alexander Khryukin, fixed configs and scripts for ARM:
2958
- fixed configs, removed all warnings, enabled again all arm defconfigs
2959
- defconfigs for kirkwood, versatile, iop32x have BFQ enable by default
2960
- ---------------------------------------------------------------------
2961
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2962
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2963
- The rel -1 (mainline serie), with official kernel sources and addons,
2964
- instead (-69) will be used for development and experimental flavours,
2965
- Yin & Yang (69) release - a very complete but experimental flavours...
2966
- ---------------------------------------------------------------------
2967
2968
* Wed Feb 20 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.9-1
2969
+ update to 3.7.9 stable (12 fixes all over)
2970
- update AUFS3 to 3.7.9 20130218
2971
- specific for nrjQL addons:
2972
- update tuxonice 3.7.9 20130218
2973
- add a workaround to fix issue with dkms drivers for recent distros:
2974
- /linux/version.h symlink to /include/generated/uapi/linux/version.h
2975
- ---------------------------------------------------------------------
2976
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2977
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2978
- The rel -1 (mainline serie), with official kernel sources and addons,
2979
- instead (-69) will be used for development and experimental flavours,
2980
- Yin & Yang (69) release - a very complete but experimental flavours...
2981
- ---------------------------------------------------------------------
2982
2983
* Sat Feb 16 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.8-1
2984
+ update to 3.7.8 stable (69 fixes all over)
2985
- update AUFS3 to 3.7 20130215
2986
- specific for nrjQL addons:
2987
- update tuxonice 3.7.8 20130215
2988
- updated scripts:
2989
- all nrj flavours use BFQ v6 (disk I/O) enabled by default
2990
- all nrj laptop flavours since now use the full preemption 
2991
- ---------------------------------------------------------------------
2992
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
2993
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
2994
- The rel -1 (mainline serie), with official kernel sources and addons,
2995
- instead (-69) will be used for development and experimental flavours,
2996
- Yin & Yang (69) release - a very complete but experimental flavours...
2997
- ---------------------------------------------------------------------
2998
2999
* Wed Feb 13 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.7-1
3000
+ update to 3.7.7 stable (34 fixes all over)
3001
- update AUFS3 to 3.7 20130212
3002
- specific for nrjQL addons:
3003
- update BFQ v6 I-O-sched for-3.7
3004
- update tuxonice 3.7.7 20130212
3005
- remove microcode from "requires", now it's in "suggests"
3006
- ---------------------------------------------------------------------
3007
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
3008
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
3009
- The rel -1 (mainline serie), with official kernel sources and addons,
3010
- instead (-69) will be used for development and experimental flavours,
3011
- Yin & Yang (69) release - a very complete but experimental flavours...
3012
- ---------------------------------------------------------------------
3013
3014
* Mon Feb 04 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.6-1
3015
+ update to 3.7.6 stable (101 fixes all over)
3016
- add "# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set" to defconfigs
3017
- ---------------------------------------------------------------------
3018
- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
3019
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
3020
- The rel -1 (mainline serie), with official kernel sources and addons,
3021
- instead (-69) will be used for development and experimental flavours,
3022
- Yin & Yang (69) release - a very complete but experimental flavours...
3023
- ---------------------------------------------------------------------
3024
3025
* Sat Feb 02 2013 Nicolo' Costanza <abitrules@yahoo.it> 3.7.5-1
3026
+ update to 3.7.5 stable
3027
- drop two staging patches