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