commit dc291263e25862ae592029f9bc7c7e23fbedb21f Author: Rosa Date: Sat Nov 16 00:27:01 2013 +0400 Automatic import for version 3.10.19-1 diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..f026488 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,4 @@ +sources: + "linux-3.10.19-rosa69.tar.xz": b19b0768eeaa664a9c45dc9b50915c0cc9c0c9ac + "linux-3.10.tar.xz": a649d5c15f68ccbae1c4863e357bdc48da4cc0b4 + "patch-3.10.19.bz2": 11762d1c92b60b35779f3931460dc8cb817729c9 diff --git a/README.kernel-sources b/README.kernel-sources new file mode 100644 index 0000000..c80d361 --- /dev/null +++ b/README.kernel-sources @@ -0,0 +1,90 @@ +Hello Mageia Users, + +linux-userspace-headers contains the headers for the source code of +Linux kernel. All source code necessary to compile a new kernel is +included in two packages linux-userspace-headers, and kernel-source. +You will need to install both linux-userspace-headers (needed for +general Linux compilation), and kernel-source in order to compile +a new kernel. + +The kernel is the central process of your Linux machine, the mediator +between the hardware and your programs. It is responsible for memory +allocations, process managing, device access... + +Although modern kernels are very flexible thanks to dynamic modules, you +may need to compile your own kernel for various reasons: your found a +new module which need a more recent kernel, you need a feature of a new +kernel, etc... + +Here is a short sum-up of what you can find in the Kernel-HOWTO. Consult +it in case of a problem or if the shortcut here provided does not meet +your needs. You should also consult the README of kernel-sources. + + + +1. Configure your new kernel + +You should never build a kernel as root, so as a normal user: +Copy the source in /usr/src/linux/ to ~/kernel/ +Change to ~/kernel/ and clean-up previous compilations, by issuing +"make mrproper", +In console mode, run "make menuconfig", +Under X11, run "make xconfig". + +Then configure all sections of your kernel making each feature you need +available constantly or as a module. Note that you should compile most +features as a module, as it consume less memory, taking into account +that some of them cannot be modules as you may need them at boot time, +before dynamic modules be loaded... + + + +2. Compile it + +Just issue "make" to create a compressed kernel image and the modules you +configured. + + + +3. install your new kernel + +Now you need root privilegies, so: +Issue "su" and enter root password. +Issue "make modules_install" + +This will copy your modules and needed files to /lib/modules/ + +Issue "make install" + +This will copy your new kernel and system.map to boot dir (/boot/) with +correct names including version, and change respective links. + +It finally runs lilo to take into account your new kernel. + + + +4. Modify Lilo to allow your booting on old kernel + +* This step is optional, although recommended * +See lilo.conf man page. +Your are encouraged during this step to create a new section in your +lilo.conf file, in order to enable you to boot on your both kernels, the +old and the new one. +You need to run lilo then to take your changes into account. +You may also use linuxconf to do all that with a nice GUI. + + + +5. Reboot your machine... + +And pray. +Anyway if something goes wrong, you just need to reboot and choose your +old kernel with lilo. + +Enjoy! + + +======================================================================== +(c) 1999-2006 Mandriva, Camille Bégnis +(c) 2006 Thomas Backlund +(c) 2011 Thomas Backlund diff --git a/cpupower.config b/cpupower.config new file mode 100644 index 0000000..5b2127c --- /dev/null +++ b/cpupower.config @@ -0,0 +1,3 @@ +# See 'cpupower help' and cpupower(1) for more info +CPUPOWER_START_OPTS="frequency-set -g ondemand" +CPUPOWER_STOP_OPTS="frequency-set -g ondemand" diff --git a/cpupower.service b/cpupower.service new file mode 100644 index 0000000..5f10ab7 --- /dev/null +++ b/cpupower.service @@ -0,0 +1,13 @@ +[Unit] +Description=Configure CPU power related settings +After=syslog.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=/etc/sysconfig/cpupower +ExecStart=/usr/bin/cpupower $CPUPOWER_START_OPTS +ExecStop=/usr/bin/cpupower $CPUPOWER_STOP_OPTS + +[Install] +WantedBy=multi-user.target diff --git a/disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch b/disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch new file mode 100644 index 0000000..313e7e9 --- /dev/null +++ b/disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch @@ -0,0 +1,123 @@ + + Makefile | 24 ++++++++++++------------ + scripts/kconfig/Makefile | 19 ------------------- + 2 files changed, 12 insertions(+), 31 deletions(-) + +diff -Nurp linux-3.10.1-mga1/Makefile linux-3.10.1-mga1.mrp/Makefile +--- linux-3.10.1-mga1/Makefile 2013-07-14 19:13:58.126152807 +0300 ++++ linux-3.10.1-mga1.mrp/Makefile 2013-07-14 19:16:14.385315249 +0300 +@@ -513,9 +513,7 @@ ifeq ($(KBUILD_EXTMOD),) + # Carefully list dependencies so we do not try to build scripts twice + # in parallel + PHONY += scripts +-scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \ +- asm-generic +- $(Q)$(MAKE) $(build)=$(@) ++scripts: + + # Objects we will link into vmlinux / subdirs we need to visit + init-y := init/ +@@ -835,7 +833,7 @@ prepare0: archprepare FORCE + $(Q)$(MAKE) $(build)=. + + # All the preparing.. +-prepare: prepare0 ++prepare: + + # Generate some files + # --------------------------------------------------------------------------- +@@ -1017,13 +1015,15 @@ endif # CONFIG_MODULES + CLEAN_DIRS += $(MODVERDIR) + + # Directories & files removed with 'make mrproper' +-MRPROPER_DIRS += include/config usr/include include/generated \ +- arch/*/include/generated +-MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \ +- Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ +- signing_key.priv signing_key.x509 x509.genkey \ +- extra_certificates signing_key.x509.keyid \ +- signing_key.x509.signer ++#MRPROPER_DIRS += include/config usr/include include/generated \ ++# arch/*/include/generated ++#MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \ ++# Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ ++# signing_key.priv signing_key.x509 x509.genkey \ ++# extra_certificates signing_key.x509.keyid \ ++# signing_key.x509.signer ++MRPROPER_DIRS += "" ++MRPROPER_FILES += "" + + # clean - Delete most, but leave enough to build external modules + # +@@ -1044,7 +1044,7 @@ clean: archclean vmlinuxclean + # + mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS)) + mrproper: rm-files := $(wildcard $(MRPROPER_FILES)) +-mrproper-dirs := $(addprefix _mrproper_,Documentation/DocBook scripts) ++mrproper-dirs := $(addprefix _mrproper_,Documentation/DocBook) + + PHONY += $(mrproper-dirs) mrproper archmrproper + $(mrproper-dirs): +diff -Nurp linux-3.10.1-mga1/scripts/kconfig/Makefile linux-3.10.1-mga1.mrp/scripts/kconfig/Makefile +--- linux-3.10.1-mga1/scripts/kconfig/Makefile 2013-07-14 19:13:58.126152807 +0300 ++++ linux-3.10.1-mga1.mrp/scripts/kconfig/Makefile 2013-07-14 19:16:14.386315260 +0300 +@@ -15,26 +15,18 @@ endif + unexport CONFIG_ + + xconfig: $(obj)/qconf 3rdparty/Makefile +- $< $(Kconfig) + + gconfig: $(obj)/gconf 3rdparty/Makefile +- $< $(Kconfig) + + menuconfig: $(obj)/mconf 3rdparty/Makefile +- $< $(Kconfig) + + config: $(obj)/conf 3rdparty/Makefile +- $< --oldaskconfig $(Kconfig) + + nconfig: $(obj)/nconf 3rdparty/Makefile +- $< $(Kconfig) + + oldconfig: $(obj)/conf 3rdparty/Makefile +- $< --$@ $(Kconfig) + + silentoldconfig: $(obj)/conf 3rdparty/Makefile +- $(Q)mkdir -p include/generated +- $< --$@ $(Kconfig) + + localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 3rdparty/Makefile + $(Q)mkdir -p include/generated +@@ -77,32 +69,21 @@ update-po-config: $(obj)/kxgettext $(obj + PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig + + allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf 3rdparty/Makefile +- $< --$@ $(Kconfig) + + PHONY += listnewconfig olddefconfig oldnoconfig savedefconfig defconfig + + listnewconfig olddefconfig: $(obj)/conf 3rdparty/Makefile +- $< --$@ $(Kconfig) + + # oldnoconfig is an alias of olddefconfig, because people already are dependent + # on its behavior(sets new symbols to their default value but not 'n') with the + # counter-intuitive name. + oldnoconfig: $(obj)/conf 3rdparty/Makefile +- $< --olddefconfig $(Kconfig) + + savedefconfig: $(obj)/conf 3rdparty/Makefile +- $< --$@=defconfig $(Kconfig) + + defconfig: $(obj)/conf 3rdparty/Makefile +-ifeq ($(KBUILD_DEFCONFIG),) +- $< --defconfig $(Kconfig) +-else +- @echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" +- $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) +-endif + + %_defconfig: $(obj)/conf 3rdparty/Makefile +- $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig) + + # Help text used by make help + help: diff --git a/kernel-3.10.19-1.spec b/kernel-3.10.19-1.spec new file mode 100644 index 0000000..859c37a --- /dev/null +++ b/kernel-3.10.19-1.spec @@ -0,0 +1,3109 @@ +# MIB header + +%if %{mdvver} <= 201100 +%define distsuffix mib +%define disttag %{distsuffix} +Vendor: MIB - Mandriva International Backports +%endif + +Packager: Nicolo' Costanza +# end MIB header + +# +%define kernelversion 3 +%define patchlevel 10 +# sublevel is now used for -stable patches +%define sublevel 19 + +# Package release +%define mibrel 69 + +# kernel Makefile extraversion is substituted by +# kpatch wich are either 0 (empty), rc (kpatch) +%define kpatch 0 +# kernel.org -gitX patch (only the number after "git") +%define kgit 0 + +# kernel base name (also name of srpm) +%define kname kernel + +# Patch tarball tag +%define ktag rosa + +# define rpmtag %{disttag} +%define rpmtag %{disttag} +%if %kpatch +%if %kgit +%define rpmrel %mkrel 0.%{kpatch}.%{kgit}.%{mibrel} +%else +%define rpmrel %mkrel 0.%{kpatch}.%{mibrel} +%endif +%else +%define rpmrel 1 +%endif + +# fakerel and fakever never change, they are used to fool +# rpm/urpmi/smart +%define fakever 1 +%define fakerel %mkrel 1 + +# version defines +%define kversion %{kernelversion}.%{patchlevel}.%{sublevel} +%define kverrel %{kversion}-%{rpmrel} + +# When we are using a pre/rc patch, the tarball is a sublevel -1 +%if %kpatch +%if %sublevel +%define tar_ver %{kernelversion}.%{patchlevel} +%else +%define tar_ver %{kernelversion}.%(expr %{patchlevel} - 1) +%endif +%define patch_ver %{kversion}-%{kpatch}-%{ktag}%{mibrel} +%else +%define tar_ver %{kernelversion}.%{patchlevel} +%define patch_ver %{kversion}-%{ktag}%{mibrel} +%endif + +# Used for not making too long names for rpms or search paths +# replaced mibrel with rpmrel / release > we can use only ONE sources folder for nrj & nrjQL +%if %kpatch +%if %kgit +%define buildrpmrel 0.%{kpatch}.%{kgit}.%{rpmrel}%{rpmtag} +%else +%define buildrpmrel 0.%{kpatch}.%{rpmrel}%{rpmtag} +%endif +%else +%define buildrpmrel %{rpmrel}%{rpmtag} +%endif +%define buildrel %{kversion}-%{buildrpmrel} + +# Having different top level names for packges means that you have to remove +# them by hard :( +%define top_dir_name %{kname}-%{_arch} + +%define build_dir ${RPM_BUILD_DIR}/%{top_dir_name} +%define src_dir %{build_dir}/linux-%{tar_ver} + +# Disable useless debug rpms... +%define _enable_debug_packages %{nil} +%define debug_package %{nil} + +# Build defines +%define build_doc 1 +%define build_source 1 +%define build_devel 1 + +%define build_debug 0 + +# +# Old Mandriva kernel flavours plus new two PAE flavours +# + +# Build desktop i586 / 4GB +%ifarch %{ix86} +%define build_desktop586 0 +%endif + +# Build desktop (i686 / 4GB) / x86_64 / sparc64 sets +%define build_desktop 0 + +# Build netbook (i686 / 4GB) / x86_64 +%define build_netbook 0 + +# Build server (i686 / 64GB)/x86_64 / sparc64 sets +%define build_server 0 + +# Build desktop686 pae (i686 / 64GB) +%ifarch %{ix86} +%define build_desktop_pae 0 +%endif + +# Build netbook686 pae (i686 / 64GB) +%ifarch %{ix86} +%define build_netbook_pae 0 +%endif + +# +# MIB low latency optimized flavours called "nrj" +# + +# Build nrj desktop586 (i586 / 4GB) +%ifarch %{ix86} +%define build_nrj_desktop586 0 +%endif + +# Build nrj desktop (i686 / 4GB) / x86_64 / sparc64 sets +%define build_nrj_desktop 1 + +# Build nrj realtime (i686 / 4GB) / x86_64 +%define build_nrj_realtime 0 + +# Build nrj laptop (i686 / 4GB) / x86_64 +%define build_nrj_laptop 0 + +# Build nrj netbook (i686 / 4GB) / x86_64 +%define build_nrj_netbook 0 + +# Build nrj desktop pae (i686 / 64GB) +%ifarch %{ix86} +%define build_nrj_desktop_pae 0 +%endif + +# Build nrj realtime pae (i686 / 64GB) +%ifarch %{ix86} +%define build_nrj_realtime_pae 0 +%endif + +# Build nrj laptop pae (i686 / 64GB) +%ifarch %{ix86} +%define build_nrj_laptop_pae 0 +%endif + +# Build nrj netbook686 pae (i686 / 64GB) +%ifarch %{ix86} +%define build_nrj_netbook_pae 0 +%endif + +# +# experimental "cpu level" optimized "nrj" flavours +# + +# Build nrj netbook Intel Atom (matom / 4GB) +%ifarch %{ix86} +%define build_nrj_netbook_atom 0 +%endif + +# Build nrj netbook Intel Atom pae (matom / 64GB) +%ifarch %{ix86} +%define build_nrj_netbook_atom_pae 0 +%endif + +# Build nrj desktop Intel Core2 (mcore2 / 4GB) +%ifarch %{ix86} +%define build_nrj_desktop_core2 0 +%endif + +# Build nrj desktop Intel Core2 pae (mcore2 / 64GB) +%ifarch %{ix86} +%define build_nrj_desktop_core2_pae 0 +%endif + +# +# experimental optimized "nrj" for server ABF & LXC vms +# + +# Build nrj server lxc (i686 / 4GB) / x86_64 / sparc64 sets +%define build_nrj_server_lxc 0 + +# Build nrj server lxc exp (i686 / 4GB) / x86_64 / sparc64 sets +%define build_nrj_server_lxc_exp 0 + +# +# end of kernel name flavour difinitions +# + + +# build perf and cpupower tools +%if %{mdvver} >= 201200 +%define build_perf 1 +%define build_cpupower 1 +%else +%define build_perf 0 +%define build_cpupower 0 +%endif + +# compress modules with xz +%if %{mdvver} >= 201200 +%define build_modxz 1 +%else +%define build_modxz 0 +%endif + +# ARM builds +%ifarch %{arm} +%define build_desktop 0 +%define build_netbook 0 +%define build_server 0 +%define build_iop32x 0 +%define build_kirkwood 1 +%define build_versatile 1 +# no cpupower tools on arm yet +%define build_cpupower 0 +# arm is currently not using xz +%define build_modxz 0 +%endif +# End of user definitions + +# buildtime flags +%{?_without_desktop586: %global build_desktop586 0} +%{?_without_desktop: %global build_desktop 0} +%{?_without_netbook: %global build_netbook 0} +%{?_without_server: %global build_server 0} + +%{?_without_desktop_pae: %global build_desktop_pae 0} +%{?_without_netbook_pae: %global build_netbook_pae 0} + +%{?_without_nrj_desktop586: %global build_nrj_desktop586 0} +%{?_without_nrj_desktop: %global build_nrj_desktop 0} +%{?_without_nrj_realtime: %global build_nrj_realtime 0} +%{?_without_nrj_laptop: %global build_nrj_laptop 0} +%{?_without_nrj_netbook: %global build_nrj_netbook 0} + +%{?_without_nrj_desktop_pae: %global build_nrj_desktop_pae 0} +%{?_without_nrj_realtime_pae: %global build_nrj_realtime_pae 0} +%{?_without_nrj_laptop_pae: %global build_nrj_laptop_pae 0} +%{?_without_nrj_netbook_pae: %global build_nrj_netbook_pae 0} + +%{?_without_nrj_netbook_atom: %global build_nrj_netbook_atom 0} +%{?_without_nrj_netbook_atom_pae: %global build_nrj_netbook_atom_pae 0} +%{?_without_nrj_desktop_core2: %global build_nrj_desktop_core2 0} +%{?_without_nrj_desktop_core2_pae: %global build_nrj_desktop_core2_pae 0} + +%{?_without_nrj_server_lxc: %global build_nrj_server_lxc 0} +%{?_without_nrj_server_lxc_exp: %global build_nrj_server_lxc_exp 0} + +%{?_without_doc: %global build_doc 0} +%{?_without_source: %global build_source 0} +%{?_without_devel: %global build_devel 0} +%{?_without_debug: %global build_debug 0} +%{?_without_perf: %global build_perf 0} +%{?_without_cpupower: %global build_cpupower 0} +%{?_without_modxz: %global build_modxz 0} + + +%{?_with_desktop586: %global build_desktop586 1} +%{?_with_desktop: %global build_desktop 1} +%{?_with_netbook: %global build_netbook 1} +%{?_with_server: %global build_server 1} + +%{?_with_desktop_pae: %global build_desktop_pae 1} +%{?_with_netbook_pae: %global build_netbook_pae 1} + +%{?_with_nrj_desktop586: %global build_nrj_desktop586 1} +%{?_with_nrj_desktop: %global build_nrj_desktop 1} +%{?_with_nrj_realtime: %global build_nrj_realtime 1} +%{?_with_nrj_laptop: %global build_nrj_laptop 1} +%{?_with_nrj_netbook: %global build_nrj_netbook 1} + +%{?_with_nrj_desktop_pae: %global build_nrj_desktop_pae 1} +%{?_with_nrj_realtime_pae: %global build_nrj_realtime_pae 1} +%{?_with_nrj_laptop_pae: %global build_nrj_laptop_pae 1} +%{?_with_nrj_netbook_pae: %global build_nrj_netbook_pae 1} + +%{?_with_nrj_netbook_atom: %global build_nrj_netbook_atom 1} +%{?_with_nrj_netbook_atom_pae: %global build_nrj_netbook_atom_pae 1} +%{?_with_nrj_desktop_core2: %global build_nrj_desktop_core2 1} +%{?_with_nrj_desktop_core2_pae: %global build_nrj_desktop_core2_pae 1} + +%{?_with_nrj_server_lxc: %global build_nrj_server_lxc 1} +%{?_with_nrj_server_lxc_exp: %global build_nrj_server_lxc_exp 1} + +%{?_with_doc: %global build_doc 1} +%{?_with_source: %global build_source 1} +%{?_with_devel: %global build_devel 1} +%{?_with_debug: %global build_debug 1} +%{?_with_perf: %global build_perf 1} +%{?_with_cpupower: %global build_cpupower 1} +%{?_with_modxz: %global build_modxz 1} + + +# ARM builds +%{?_with_iop32x: %global build_iop32x 1} +%{?_with_kirkwood: %global build_kirkwood 1} +%{?_with_versatile: %global build_versatile 1} +%{?_without_iop32x: %global build_iop32x 0} +%{?_without_kirkwood: %global build_kirkwood 0} +%{?_without_versatile: %global build_versatile 0} + +# For the .nosrc.rpm +%define build_nosrc 0 +%{?_with_nosrc: %global build_nosrc 1} + + +############################################################ +### Linker start1 > Check point to build for cooker 2013 ### +############################################################ +%if %{mdvver} < 201300 +%if %(if [ -z "$CC" ] ; then echo 0; else echo 1; fi) +%define kmake %make CC="$CC" +%else +%define kmake %make +%endif +# there are places where parallel make don't work +%define smake make +%endif + +%if %{mdvver} == 201300 +%if %cross_compiling +%if %(if [ -z "$CC" ] ; then echo 0; else echo 1; fi) +%define kmake %make ARCH=%target_arch CROSS_COMPILE=%(echo %__cc |sed -e 's,-gcc,-,') CC="$CC" LD="$LD" LDFLAGS="$LDFLAGS" +%else +%define kmake %make ARCH=%target_arch CROSS_COMPILE=%(echo %__cc |sed -e 's,-gcc,-,') LD="$LD" LDFLAGS="$LDFLAGS" +%endif +# there are places where parallel make don't work +%define smake make ARCH=%target_arch CROSS_COMPILE=%(echo %__cc |sed -e 's,-gcc,-,') LD="$LD" LDFLAGS="$LDFLAGS" +%else +%if %(if [ -z "$CC" ] ; then echo 0; else echo 1; fi) +%define kmake %make CC="$CC" LD="$LD" LDFLAGS="$LDFLAGS" +%else +%define kmake %make LD="$LD" LDFLAGS="$LDFLAGS" +%endif +# there are places where parallel make don't work +%define smake make LD="$LD" LDFLAGS="$LDFLAGS" +%endif +%endif +########################################################### +### Linker end1 > Check point to build for cooker 2013 ### +########################################################### + + +# Parallelize xargs invocations on smp machines +%define kxargs xargs %([ -z "$RPM_BUILD_NCPUS" ] \\\ + && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\ + [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-P $RPM_BUILD_NCPUS") + +# Sparc arch wants sparc64 kernels +%define target_arch %(echo %{_arch} | sed -e 's/mips.*/mips/' -e 's/arm.*/arm/' -e 's/aarch64/arm64/') + + +# +# SRC RPM description +# +Summary: Linux kernel built for Mandriva and ROSA +Name: %{kname} +Version: %{kversion} +Release: %{rpmrel} +License: GPLv2 +Group: System/Kernel and hardware +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 +ExclusiveOS: Linux +URL: http://www.kernel.org + +#################################################################### +# +# Sources +# +### This is for full SRC RPM +Source0: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/linux-%{tar_ver}.tar.xz +Source1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/linux-%{tar_ver}.tar.sign +### This is for stripped SRC RPM +%if %build_nosrc +NoSource: 0 +%endif +# This is for disabling *config, mrproper, prepare, scripts on -devel rpms +Source2: disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch + +Source4: README.kernel-sources +Source5: kernel.rpmlintrc + +# config and systemd service file from fedora +Source50: cpupower.service +Source51: cpupower.config + +# our patch tarball +Source100: linux-%{patch_ver}.tar.xz + +#################################################################### +# +# Patches + +# +# Patch0 to Patch100 are for core kernel upgrades. +# + +# Pre linus patch: ftp://ftp.kernel.org/pub/linux/kernel/v3.0/testing + +%if %kpatch +%if %sublevel +Patch2: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/stable-review/patch-%{kversion}-%{kpatch}.bz2 +Source11: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/stable-review/patch-%{kversion}-%{kpatch}.sign +%else +Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.bz2 +Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign +%endif +%endif +%if %kgit +Patch2: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.bz2 +Source11: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.sign +%endif +%if %sublevel +%if %kpatch +%define prev_sublevel %(expr %{sublevel} - 1) +%if %prev_sublevel +Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.bz2 +Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign +%endif +%else +Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kversion}.bz2 +Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kversion}.sign +%endif +%endif + +#END +#################################################################### + +# Defines for the things that are needed for all the kernels +# +%define common_desc_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \ +Mandriva and ROSA operating system. The kernel handles the basic functions \ +of the operating system: memory allocation, process allocation, device \ +input and output, etc. + +%define common_desc_kernel_smp This kernel relies on in-kernel smp alternatives to switch between up & smp \ +mode depending on detected hardware. To force the kernel to boot in single \ +processor mode, use the "nosmp" boot parameter. + + +### Global Requires/Provides + +%if %{mdvver} == 201300 +%define requires1 microcode +%define requires2 dracut >= 026 +%define requires3 kmod >= 12 +%define requires4 sysfsutils >= 2.1.0-12 +%define requires5 kernel-firmware >= 20120219-1 +%endif + +%if %{mdvver} == 201210 +%define requires1 bootloader-utils >= 1.15-8 +%define requires2 dracut >= 017-16 +%define requires3 kmod >= 7-6 +%define requires4 sysfsutils >= 2.1.0-12 +%define requires5 kernel-firmware >= 20120219-1 +%endif + +%if %{mdvver} == 201200 +%define requires1 bootloader-utils >= 1.15-8 +%define requires2 dracut >= 017-16 +%define requires3 module-init-tools >= 3.16-5 +%define requires4 sysfsutils >= 2.1.0-12 +%define requires5 kernel-firmware >= 20120219-1 +%endif + +%if %{mdvver} < 201200 +%define requires1 bootloader-utils >= 1.13-1 +%define requires2 mkinitrd >= 4.2.17-31 +%define requires3 module-init-tools >= 3.0-7 +%define requires4 sysfsutils >= 1.3.0-1 +%define requires5 kernel-firmware >= 20101024-2 +%endif + +%define kprovides1 %{kname} = %{kverrel} +%define kprovides2 kernel = %{tar_ver} +%define kprovides3 alsa = 1.0.27 +%define kprovides_server drbd-api = 88 + +%define kobsoletes1 dkms-r8192se <= 0019.1207.2010-2 +%define kobsoletes2 dkms-lzma <= 4.43-32 +%define kobsoletes3 dkms-psb <= 4.41.1-7 + +# conflict dkms packages that dont support kernel-3.10 +# all driver versions must be carefully checked to add + +# config for all distros apart mdvver 2013.0 & 2012.1 +%define kconflicts1 dkms-broadcom-wl < 5.100.82.112-12 +%define kconflicts2 dkms-fglrx < 13.200.5-1 +%define kconflicts3 dkms-nvidia-current < 325.15-2 +%define kconflicts4 dkms-nvidia-long-lived < 304.88-3 +%define kconflicts5 dkms-nvidia173 < 173.14.37-4 +# nvidia96xx does not support this kernel or x11-server-1.13 + +%if %{mdvver} == 201300 +%define kconflicts1 dkms-broadcom-wl < 5.100.82.112-12 +%define kconflicts2 dkms-fglrx < 13.200.5-1 +%define kconflicts3 dkms-nvidia-current < 325.15-1 +%define kconflicts4 dkms-nvidia-long-lived < 319.49-1 +%define kconflicts5 dkms-nvidia304 < 304.108-1 +# nvidia173 does not support this kernel +# nvidia96xx does not support this kernel or x11-server-1.13 +%endif + +%if %{mdvver} == 201210 +%define kconflicts1 dkms-broadcom-wl < 5.100.82.112-12 +%define kconflicts2 dkms-fglrx < 13.200.5-1 +%define kconflicts3 dkms-nvidia-current < 325.15-2 +%define kconflicts4 dkms-nvidia-long-lived < 304.108-1 +%define kconflicts5 dkms-nvidia173 < 173.14.37-4 +# nvidia96xx does not support this kernel or x11-server-1.13 +%endif + +Autoreqprov: no + +# might be useful too: +Suggests: microcode + +%if %{mdvver} >= 201210 +BuildRequires: kmod-devel kmod-compat +%else +BuildRequires: module-init-tools +%endif + +BuildRequires: gcc bc + +# for perf, cpufreq and other tools +BuildRequires: elfutils-devel +BuildRequires: zlib-devel +BuildRequires: binutils-devel +BuildRequires: newt-devel +BuildRequires: python-devel +BuildRequires: perl(ExtUtils::Embed) +BuildRequires: pciutils-devel +BuildRequires: asciidoc +BuildRequires: xmlto +BuildRequires: gettext +BuildRequires: docbook-style-xsl +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: flex +BuildRequires: bison + +%ifarch %{arm} +BuildRequires: uboot-mkimage +%endif + + +%description +%common_desc_kernel +%ifnarch %{arm} +%common_desc_kernel_smp +%endif + +# Define obsolete/provides to help automatic upgrades of old kernel-xen-pvops +%define latest_obsoletes_server kernel-xen-pvops-latest < 3.2.1-1 +%define latest_provides_server kernel-xen-pvops-latest = %{kverrel} +%define latest_obsoletes_devel_server kernel-xen-pvops-devel-latest < 3.2.1-1 +%define latest_provides_devel_server kernel-xen-pvops-devel-latest = %{kverrel} + +# mkflavour() name flavour processor +# name: the flavour name in the package name +# flavour: first parameter of CreateKernel() +%define mkflavour() \ +%package -n %{kname}-%{1}-%{buildrel} \ +Version: %{fakever} \ +Release: %{fakerel} \ +Provides: %kprovides1 %kprovides2 %kprovides3 \ +%{expand:%%{?kprovides_%{1}:Provides: %{kprovides_%{1}}}} \ +Provides: %{kname}-%{1} \ +%if %{build_nrj_desktop} \ +Provides: kernel-desktop \ +%endif \ +Requires(pre): %requires1 %requires2 %requires3 %requires4 \ +Requires: %requires2 %requires5 \ +Obsoletes: %kobsoletes1 %kobsoletes2 %kobsoletes3 \ +Conflicts: %kconflicts1 %kconflicts2 %kconflicts3 \ +Conflicts: %kconflicts4 %kconflicts5 \ +Provides: should-restart = system \ +Suggests: crda \ +%ifarch %{ix86} \ +Conflicts: arch(x86_64) \ +%endif \ +Summary: %{expand:%{summary_%(echo %{1} | sed -e "s/-/_/")}} \ +Group: System/Kernel and hardware \ +%description -n %{kname}-%{1}-%{buildrel} \ +%common_desc_kernel %{expand:%{info_%(echo %{1} | sed -e "s/-/_/")}} \ +%ifnarch %{arm} \ +%common_desc_kernel_smp \ +%endif \ + \ +%if %build_devel \ +%package -n %{kname}-%{1}-devel-%{buildrel} \ +Version: %{fakever} \ +Release: %{fakerel} \ +Requires: glibc-devel ncurses-devel make gcc perl \ +Summary: The kernel-devel files for %{kname}-%{1}-%{buildrel} \ +Group: Development/Kernel \ +Provides: %{kname}-devel = %{kverrel} \ +Provides: %{kname}-%{1}-devel \ +%ifarch %{ix86} \ +Conflicts: arch(x86_64) \ +%endif \ +%description -n %{kname}-%{1}-devel-%{buildrel} \ +This package contains the kernel files (headers and build tools) \ +that should be enough to build additional drivers for \ +use with %{kname}-%{1}-%{buildrel}. \ + \ +If you want to build your own kernel, you need to install the full \ +%{kname}-source-%{buildrel} rpm. \ + \ +%endif \ + \ +%if %build_debug \ +%package -n %{kname}-%{1}-%{buildrel}-debuginfo \ +Version: %{fakever} \ +Release: %{fakerel} \ +Summary: Files with debuginfo for %{kname}-%{1}-%{buildrel} \ +Group: Development/Debug \ +Provides: kernel-debug = %{kverrel} \ +%ifarch %{ix86} \ +Conflicts: arch(x86_64) \ +%endif \ +%description -n %{kname}-%{1}-%{buildrel}-debuginfo \ +This package contains the files with debuginfo to aid in debug tasks \ +when using %{kname}-%{1}-%{buildrel}. \ + \ +If you need to look at debug information or use some application that \ +needs debugging info from the kernel, this package may help. \ + \ +%endif \ + \ +%package -n %{kname}-%{1}-latest \ +Version: %{kversion} \ +Release: %{rpmrel} \ +Summary: Virtual rpm for latest %{kname}-%{1} \ +Group: System/Kernel and hardware \ +Requires: %{kname}-%{1}-%{buildrel} \ +%ifarch %{ix86} \ +Conflicts: arch(x86_64) \ +%endif \ +%{expand:%%{?latest_obsoletes_%{1}:Obsoletes: %{latest_obsoletes_%{1}}}} \ +%{expand:%%{?latest_provides_%{1}:Provides: %{latest_provides_%{1}}}} \ +%description -n %{kname}-%{1}-latest \ +This package is a virtual rpm that aims to make sure you always have the \ +latest %{kname}-%{1} installed... \ + \ +%if %build_devel \ +%package -n %{kname}-%{1}-devel-latest \ +Version: %{kversion} \ +Release: %{rpmrel} \ +Summary: Virtual rpm for latest %{kname}-%{1}-devel \ +Group: Development/Kernel \ +Requires: %{kname}-%{1}-devel-%{buildrel} \ +%ifarch %{ix86} \ +Conflicts: arch(x86_64) \ +%endif \ +Provides: %{kname}-devel-latest \ +%{expand:%%{?latest_obsoletes_devel_%{1}:Obsoletes: %{latest_obsoletes_devel_%{1}}}} \ +%{expand:%%{?latest_provides_devel_%{1}:Provides: %{latest_provides_devel_%{1}}}} \ +%description -n %{kname}-%{1}-devel-latest \ +This package is a virtual rpm that aims to make sure you always have the \ +latest %{kname}-%{1}-devel installed... \ + \ +%endif \ + \ +%post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \ +%posttrans -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-posttrans \ +%preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \ +%postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \ + \ +%if %build_devel \ +%post -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-post \ +%preun -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-preun \ +%postun -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-postun \ +%endif \ + \ +%files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \ +%files -n %{kname}-%{1}-latest \ + \ +%if %build_devel \ +%files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \ +%files -n %{kname}-%{1}-devel-latest \ +%endif \ + \ +%if %build_debug \ +%files -n %{kname}-%{1}-%{buildrel}-debuginfo -f kernel_debug_files.%{1} \ +%endif + +%ifarch %{ix86} +# +# kernel-desktop586: i586, smp-alternatives, 4GB +# +%if %build_desktop586 +%define summary_desktop586 Linux kernel for desktop use with i586 & 4GB RAM +%define info_desktop586 This kernel is compiled for desktop use, single or \ +multiple i586 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \ +voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour desktop586 +%endif +%endif + +# +# kernel-desktop: i686, smp-alternatives, 4 GB / x86_64 +# +%if %build_desktop +%ifarch %{ix86} +%define summary_desktop Linux Kernel for desktop use with i686 & 4GB RAM +%define info_desktop This kernel is compiled for desktop use, single or \ +multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \ +voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler. +%else +%define summary_desktop Linux Kernel for desktop use with %{_arch} +%define info_desktop This kernel is compiled for desktop use, single or \ +multiple %{_arch} processor(s)/core(s), using HZ_1000, \ +voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%endif +%mkflavour desktop +%endif + +# +# kernel-netbook: i686, smp-alternatives, 4 GB / x86_64 +# +%if %build_netbook +%ifarch %{ix86} +%define summary_netbook Linux Kernel for netbook use with i686 & 4GB RAM +%define info_netbook This kernel is compiled for netbook use, single or \ +multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_250, \ +voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler. +%else +%define summary_netbook Linux Kernel for netbook use with %{_arch} +%define info_netbook This kernel is compiled for netbook use, single or \ +multiple %{_arch} processor(s)/core(s), using HZ_250, \ +voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%endif +%mkflavour netbook +%endif + +# +# kernel-server: i686, smp-alternatives, 64 GB / x86_64 +# +%if %build_server +%ifarch %{ix86} +%define summary_server Linux Kernel for server use with i686 & 64GB RAM +%define info_server This kernel is compiled for server use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using \ +no preempt, HZ_100, CFS cpu scheduler and BFQ i/o scheduler, PERFORMANCE governor. +%else +%define summary_server Linux Kernel for server use with %{_arch} +%define info_server This kernel is compiled for server use, single or \ +multiple %{_arch} processor(s)/core(s), using no preempt, HZ_100, \ +CFS cpu scheduler and BFQ i/o scheduler, PERFORMANCE governor. +%endif +%mkflavour server +%endif + +%ifarch %{ix86} +# +# kernel-desktop-pae: i686, smp-alternatives, 64GB +# +%if %build_desktop_pae +%define summary_desktop_pae Linux kernel for desktop use with i686 & upto 64GB RAM +%define info_desktop_pae This kernel is compiled for desktop use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \ +voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour desktop-pae +%endif +%endif + +%ifarch %{ix86} +# +# kernel-netbook-pae: i686, smp-alternatives, 64 GB +# +%if %build_netbook_pae +%define summary_netbook_pae Linux Kernel for for netbook use with i686 & upto 64GB RAM +%define info_netbook_pae This kernel is compiled for netbook use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_250, \ +voluntary preempt, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour netbook-pae +%endif +%endif + +%ifarch %{ix86} +# +# kernel-nrj-desktop586: nrj, i586, smp-alternatives, 4GB +# +%if %build_nrj_desktop586 +%define summary_nrj_desktop586 Linux kernel for desktop use with i586 & 4GB RAM +%define info_nrj_desktop586 This kernel is compiled for desktop use, single or \ +multiple i586 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-desktop586 +%endif +%endif + +# +# kernel-nrj-desktop: nrj, i686, smp-alternatives, 4 GB / x86_64 +# +%if %build_nrj_desktop +%ifarch %{ix86} +%define summary_nrj_desktop Linux Kernel for desktop use with i686 & 4GB RAM +%define info_nrj_desktop This kernel is compiled for desktop use, single or \ +multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \ +full preempt, rcu boost, RIFS cpu scheduler and BFQ I/O scheduler, ONDEMAND governor. +%else +%define summary_nrj_desktop Linux Kernel for desktop use with %{_arch} +%define info_nrj_desktop This kernel is compiled for desktop use, single or \ +multiple %{_arch} processor(s)/core(s), using HZ_1000, \ +full preempt, rcu boost, RIFS cpu scheduler and BFQ I/O scheduler, ONDEMAND governor. +%endif +%mkflavour nrj-desktop +%endif + +# +# kernel-nrj-realtime: nrj, i686, smp-alternatives, 4 GB / x86_64 +# +%if %build_nrj_realtime +%ifarch %{ix86} +%define summary_nrj_realtime Linux Kernel for low latency use with i686 & 4GB RAM +%define info_nrj_realtime This kernel is compiled for low latency use, single or \ +multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \ +full preempt, rcu boost, CFS cpu scheduler and new BFQ I/O scheduler, PERFORMANCE governor. +%else +%define summary_nrj_realtime Linux Kernel for low latency use with %{_arch} +%define info_nrj_realtime This kernel is compiled for low latency use, single or \ +multiple %{_arch} processor(s)/core(s), using HZ_1000, \ +full preempt, rcu boost, CFS cpu scheduler and new BFQ I/O scheduler, PERFORMANCE governor. +%endif +%mkflavour nrj-realtime +%endif + +# +# kernel-nrj-laptop: nrj, i686, smp-alternatives, 4 GB / x86_64 +# +%if %build_nrj_laptop +%ifarch %{ix86} +%define summary_nrj_laptop Linux Kernel for laptop use with i686 & 4GB RAM +%define info_nrj_laptop This kernel is compiled for laptop use, single or \ +multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_300, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%else +%define summary_nrj_laptop Linux Kernel for laptop use with %{_arch} +%define info_nrj_laptop This kernel is compiled for laptop use, single or \ +multiple %{_arch} processor(s)/core(s), using HZ_300, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%endif +%mkflavour nrj-laptop +%endif + +# +# kernel-nrj-netbook: nrj, i686, smp-alternatives, 4 GB / x86_64 +# +%if %build_nrj_netbook +%ifarch %{ix86} +%define summary_nrj_netbook Linux Kernel for netbook use with i686 & 4GB RAM +%define info_nrj_netbook This kernel is compiled for netbook use, single or \ +multiple i686 processor(s)/core(s) and less than 4GB RAM, using HZ_250, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%else +%define summary_nrj_netbook Linux Kernel for netbook use with %{_arch} +%define info_nrj_netbook This kernel is compiled for netbook use, single or \ +multiple %{_arch} processor(s)/core(s), using HZ_250, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%endif +%mkflavour nrj-netbook +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-desktop-pae: nrj, i686, smp-alternatives, 64GB +# +%if %build_nrj_desktop_pae +%define summary_nrj_desktop_pae Linux kernel for desktop use with i686 & upto 64GB RAM +%define info_nrj_desktop_pae This kernel is compiled for desktop use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-desktop-pae +%endif +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-realtime-pae: nrj, i686, smp-alternatives, 64GB +# +%if %build_nrj_realtime_pae +%define summary_nrj_realtime_pae Linux kernel for low latency use with i686 & upto 64GB RAM +%define info_nrj_realtime_pae This kernel is compiled for low latency use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \ +full preempt, rcu boost, CFS cpu scheduler and new BFQ I/O scheduler, PERFORMANCE governor. +%mkflavour nrj-realtime-pae +%endif +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-laptop-pae: nrj, i686, smp-alternatives, 64 GB +# +%if %build_nrj_laptop_pae +%define summary_nrj_laptop_pae Linux Kernel for for laptop use with i686 & upto 64GB RAM +%define info_nrj_laptop_pae This kernel is compiled for laptop use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_300, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-laptop-pae +%endif +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-netbook-pae: nrj, i686, smp-alternatives, 64 GB +# +%if %build_nrj_netbook_pae +%define summary_nrj_netbook_pae Linux Kernel for for netbook use with i686 & upto 64GB RAM +%define info_nrj_netbook_pae This kernel is compiled for netbook use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_250, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-netbook-pae +%endif +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-netbook-atom: nrj, for Intel Atom cpu, smp-alternatives, 4 GB +# +%if %build_nrj_netbook_atom +%define summary_nrj_netbook_atom Linux Kernel for netbook use with Intel Atom cpu, less than 4GB RAM +%define info_nrj_netbook_atom This kernel is compiled for netbook use, single or \ +multiple Intel Atom cpu processor(s)/core(s) and less than 4GB RAM, using HZ_250, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-netbook-atom +%endif +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-netbook-atom-pae: nrj, for Intel Atom cpu, smp-alternatives, 64 GB +# +%if %build_nrj_netbook_atom_pae +%define summary_nrj_netbook_atom_pae Linux Kernel for netbook use with Intel Atom cpu & upto 64GB RAM +%define info_nrj_netbook_atom_pae This kernel is compiled for netbook use, single or \ +multiple Intel Atom cpu processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_250, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-netbook-atom-pae +%endif +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-desktop-core2: nrj, Intel Core 2 and newer, smp-alternatives, 4 GB +# +%if %build_nrj_desktop_core2 +%define summary_nrj_desktop_core2 Linux Kernel for desktop use with i686 & 4GB RAM +%define info_nrj_desktop_core2 This kernel is compiled for desktop use, single or \ +multiple Intel Core 2 and newer processor(s)/core(s) and less than 4GB RAM, using HZ_1000, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-desktop-core2 +%endif +%endif + +# +%ifarch %{ix86} +# +# kernel-nrj-desktop-core2-pae: nrj, Intel Core 2 and newer, smp-alternatives, 64 GB +# +%if %build_nrj_desktop_core2_pae +%define summary_nrj_desktop_core2_pae Linux Kernel for desktop use with i686 & upto 64GB RAM +%define info_nrj_desktop_core2_pae This kernel is compiled for desktop use, single or \ +multiple Intel Core 2 and newer processor(s)/core(s) and up to 64GB RAM using PAE, using HZ_1000, \ +full preempt, rcu boost, CFS cpu scheduler and BFQ i/o scheduler, ONDEMAND governor. +%mkflavour nrj-desktop-core2-pae +%endif +%endif + +# +# kernel-nrj-server-lxc: i686, smp-alternatives, 64 GB / x86_64 +# +%if %build_nrj_server_lxc +%ifarch %{ix86} +%define summary_nrj_server_lxc Linux Kernel for server use with i686 & 64GB RAM +%define info_nrj_server_lxc This kernel is compiled for server use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, no Preempt, \ +HZ_100, Tickless, CFS cpu scheduler and BFQ i/o scheduler, PERFORMANCE governor. \ +This is a special flavour prepared for ROSA ABF server and LXC VMs. +%else +%define summary_nrj_server_lxc Linux Kernel for server use with %{_arch} +%define info_nrj_server_lxc This kernel is compiled for server use, single or \ +multiple %{_arch} processor(s)/core(s), using no Preempt, HZ_100, Tickless, \ +CFS cpu scheduler and BFQ i/o scheduler, with PERFORMANCE governor. \ +This is a special flavour prepared for ROSA ABF server and LXC VMs. +%endif +%mkflavour nrj-server-lxc +%endif + +# +# kernel-nrj-server-lxc-exp: i686, smp-alternatives, 64 GB / x86_64 +# +%if %build_nrj_server_lxc_exp +%ifarch %{ix86} +%define summary_nrj_server_lxc_exp Linux Kernel for server use with i686 & 64GB RAM +%define info_nrj_server_lxc_exp This kernel is compiled for server use, single or \ +multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using full Preeempt, \ +HZ_1000, Tickless, CFS cpu scheduler and BFQ i/o scheduler, with PERFORMANCE governor. \ +This is a special flavour prepared for ROSA ABF server and LXC VMs. +%else +%define summary_nrj_server_lxc_exp Linux Kernel for server use with %{_arch} +%define info_nrj_server_lxc_exp This kernel is compiled for server use, single or \ +multiple %{_arch} processor(s)/core(s), using full Preempt, HZ_1000, Tickless, \ +CFS cpu scheduler and BFQ i/o scheduler, with PERFORMANCE governor. \ +This is a special flavour prepared for ROSA ABF server and LXC VMs. +%endif +%mkflavour nrj-server-lxc-exp +%endif + +# +# ARM kernels +# +%ifarch %{arm} +%if %build_iop32x +%define summary_iop32x Linux Kernel for Arm machines based on Xscale IOP32X +%define info_iop32x This kernel is compiled for iop32x boxes. It will run on n2100 \ +or ss4000e or sanmina boards. +%mkflavour iop32x +%endif +%if %build_kirkwood +%define summary_kirkwood Linux Kernel for Arm machines based on Kirkwood +%define info_kirkwood This kernel is compiled for kirkwood boxes. It will run on openrd boards. +%mkflavour kirkwood +%endif +%if %build_versatile +%define summary_versatile Linux Kernel for Versatile arm machines +%define info_versatile This kernel is compiled for Versatile boxes. It will run on Qemu for instance. +%mkflavour versatile +%endif +%endif + +# +# kernel-source +# +%if %build_source +%package -n %{kname}-source-%{buildrel} +Version: %{fakever} +Release: %{fakerel} +Requires: glibc-devel, ncurses-devel, make, gcc, perl, diffutils +Summary: The Linux source code for %{kname}-%{buildrel} +Group: Development/Kernel +Autoreqprov: no +Provides: kernel-source = %{kverrel} +Buildarch: noarch + +%description -n %{kname}-source-%{buildrel} +The %{kname}-source package contains the source code files for the Mandriva and +ROSA kernel. Theese source files are only needed if you want to build your own +custom kernel that is better tuned to your particular hardware. + +If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...) +drivers against, install the *-devel-* rpm that is matching your kernel. + +# +# kernel-source-latest: virtual rpm +# +%package -n %{kname}-source-latest +Version: %{kversion} +Release: %{rpmrel} +Summary: Virtual rpm for latest %{kname}-source +Group: Development/Kernel +Requires: %{kname}-source-%{buildrel} +Buildarch: noarch + +%description -n %{kname}-source-latest +This package is a virtual rpm that aims to make sure you always have the +latest %{kname}-source installed... +%endif + +# +# kernel-doc: documentation for the Linux kernel +# +%if %build_doc +%package -n %{kname}-doc +Version: %{kversion} +Release: %{rpmrel} +Summary: Various documentation bits found in the %{kname} source +Group: Documentation +Buildarch: noarch + +%description -n %{kname}-doc +This package contains documentation files from the %{kname} source. +Various bits of information about the Linux kernel and the device drivers +shipped with it are documented in these files. You also might want install +this package if you need a reference to the options that can be passed to +Linux kernel modules at load time. +%endif + +# +# kernel/tools +# +%if %{build_perf} +%package -n perf +Version: %{kversion} +Release: %{rpmrel} +Summary: perf tool and the supporting documentation +Group: System/Kernel and hardware + +%description -n perf +the perf tool and the supporting documentation. +%endif + +%if %{build_cpupower} +%package -n cpupower +Version: %{kversion} +Release: %{rpmrel} +Summary: the cpupower tools +Group: System/Kernel and hardware +Requires(post): rpm-helper >= 0.24.0-3 +Requires(preun): rpm-helper >= 0.24.0-3 +%if %{mdvver} >= 201200 +Obsoletes: cpufreq cpufrequtils +%endif + +%description -n cpupower +the cpupower tools. + +%post -n cpupower +%_post_service cpupower + +%preun -n cpupower +%_preun_service cpupower + +%package -n cpupower-devel +Version: %{kversion} +Release: %{rpmrel} +Summary: devel files for cpupower +Group: Development/Kernel +Requires: cpupower = %{kversion}-%{rpmrel} +Conflicts: %{_lib}cpufreq-devel + +%description -n cpupower-devel +This package contains the development files for cpupower. +%endif + +%package headers +Version: %kversion +Release: %rpmrel +Summary: Linux kernel header files mostly used by your C library +Group: System/Kernel and hardware +Epoch: 1 +%rename linux-userspace-headers + +%description headers +C header files from the Linux kernel. The header files define +structures and constants that are needed for building most +standard programs, notably the C library. + +This package is not suitable for building kernel modules, you +should use the 'kernel-devel' package instead. + +%files headers +%_includedir/* +# Don't conflict with cpupower-devel +%if %{build_cpupower} +%exclude %_includedir/cpufreq.h +%endif + +# +# End packages - here begins build stage +# +%prep +%setup -q -n %top_dir_name -c +%setup -q -n %top_dir_name -D -T -a100 + +%define patches_dir ../%{patch_ver}/ + +cd %src_dir + +%if %sublevel +%if %kpatch +%if %prev_sublevel +%patch1 -p1 +%endif +%patch2 -p1 +%else +%patch1 -p1 +%endif +%else +%if %kpatch +%patch1 -p1 +%endif +%endif +%if %kgit +%patch2 -p1 +%endif + +%{patches_dir}/scripts/apply_patches +%{patches_dir}/scripts/apply_patches-NRJ +%{patches_dir}/scripts/apply_patches-NRJ-only +# %{patches_dir}/scripts/apply_patches-QL +# PATCH END + + +# +# Setup Begin +# + +# Prepare all the variables for calling create_configs + +%if %build_debug +%define debug --debug +%else +%define debug --no-debug +%endif + + +#%{patches_dir}/scripts/create_configs %debug --user_cpu="%{target_arch}" +%{patches_dir}/scripts/create_configs-withBFQ %debug --user_cpu="%{target_arch}" + +# make sure the kernel has the sublevel we know it has... +LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile + +# get rid of unwanted files +find . -name '*~' -o -name '*.orig' -o -name '*.append' | %kxargs rm -f + + +%build + +############################################################ +### Linker start2 > Check point to build for cooker 2013 ### +############################################################ +%if %{mdvver} == 201300 +# Make sure we don't use gold +export LD="%{_target_platform}-ld.bfd" +export LDFLAGS="--hash-style=sysv --build-id=none" +%endif +############################################################ +### Linker end2 > Check point to build for cooker 2013 ### +############################################################ + +# Common target directories +%define _kerneldir /usr/src/linux-%{kversion}-%{buildrpmrel} +%define _bootdir /boot +%define _modulesdir /lib/modules +%define _efidir %{_bootdir}/efi/mandriva + +# Directories definition needed for building +%define temp_root %{build_dir}/temp-root +%define temp_source %{temp_root}%{_kerneldir} +%define temp_boot %{temp_root}%{_bootdir} +%define temp_modules %{temp_root}%{_modulesdir} + +PrepareKernel() { + name=$1 + extension=$2 +%ifarch %{ix86} x86_64 + config_dir=arch/x86/configs +%endif +%ifarch %arm + config_dir=arch/arm/configs +%endif +%ifarch aarc64 + config_dir=arch/arm64/configs +%endif + echo "Make config for kernel $extension" + + %smake -s mrproper + + if [ "%{target_arch}" == "i386" -o "%{target_arch}" == "x86_64" ]; then + if [ -z "$name" ]; then + cp ${config_dir}/%{target_arch}_defconfig-desktop .config + else + cp ${config_dir}/%{target_arch}_defconfig-$name .config + fi + else + if [ -z "$name" ]; then + cp arch/%{target_arch}/defconfig-desktop .config + else + cp arch/%{target_arch}/defconfig-$name .config + fi + fi + + # make sure EXTRAVERSION says what we want it to say + LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile + + %smake oldconfig +} + +BuildKernel() { + KernelVer=$1 + + echo "Building kernel $KernelVer" + + %kmake -s all + + # kirkwood boxes have u-boot + if [ "$KernelVer" = "%{kversion}-kirkwood-%{buildrpmrel}" ]; then + %kmake uImage + fi + + # Start installing stuff + install -d %{temp_boot} + install -m 644 System.map %{temp_boot}/System.map-$KernelVer + install -m 644 .config %{temp_boot}/config-$KernelVer + xz -c Module.symvers > %{temp_boot}/symvers-$KernelVer.xz + + %ifarch %{arm} + if [ -f arch/arm/boot/uImage ]; then + cp -f arch/arm/boot/uImage %{temp_boot}/uImage-$KernelVer + else + cp -f arch/arm/boot/zImage %{temp_boot}/vmlinuz-$KernelVer + fi + %else + cp -f arch/%{target_arch}/boot/bzImage %{temp_boot}/vmlinuz-$KernelVer + %endif + + # modules + install -d %{temp_modules}/$KernelVer + %smake INSTALL_MOD_PATH=%{temp_root} KERNELRELEASE=$KernelVer modules_install + + # headers + %make INSTALL_HDR_PATH=%{temp_root}%_prefix KERNELRELEASE=$KernelVer headers_install + + # remove /lib/firmware, we use a separate kernel-firmware + rm -rf %{temp_root}/lib/firmware +} + +SaveDevel() { + devel_flavour=$1 + + DevelRoot=/usr/src/linux-%{kversion}-$devel_flavour-%{buildrpmrel} + TempDevelRoot=%{temp_root}$DevelRoot + + mkdir -p $TempDevelRoot + for i in $(find . -name 'Makefile*'); do cp -R --parents $i $TempDevelRoot;done + for i in $(find . -name 'Kconfig*' -o -name 'Kbuild*'); do cp -R --parents $i $TempDevelRoot;done + cp -fR include $TempDevelRoot + ln -s ../generated/uapi/linux/version.h $TempDevelRoot/include/linux/version.h + cp -fR scripts $TempDevelRoot + cp -fR kernel/bounds.c $TempDevelRoot/kernel + cp -fR tools/include $TempDevelRoot/tools/ + %ifarch %{arm} + cp -fR arch/%{target_arch}/tools $TempDevelRoot/arch/%{target_arch}/ + %endif + %ifarch %{ix86} x86_64 + cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/ + cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/ + cp -fR arch/x86/syscalls/syscall* $TempDevelRoot/arch/x86/syscalls/ + cp -fR arch/x86/include $TempDevelRoot/arch/x86/ + cp -fR arch/x86/tools $TempDevelRoot/arch/x86/ + %else + cp -fR arch/%{target_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{target_arch}/kernel/ + for f in $(find arch/%{target_arch} -name include); do cp -fR --parents $f $TempDevelRoot; done + %endif + cp -fR .config Module.symvers $TempDevelRoot + cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty + + # Needed for truecrypt build (Danny) + cp -fR drivers/md/dm.h $TempDevelRoot/drivers/md/ + + # Needed for lguest + cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/ + + # Needed for lirc_gpio (#39004) + cp -fR drivers/media/pci/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/pci/bt8xx/ + cp -fR drivers/media/pci/bt8xx/bt848.h $TempDevelRoot/drivers/media/pci/bt8xx/ + cp -fR drivers/media/common/btcx-risc.h $TempDevelRoot/drivers/media/common/ + + # Needed for external dvb tree (#41418) + cp -fR drivers/media/dvb-core/*.h $TempDevelRoot/drivers/media/dvb-core/ + cp -fR drivers/media/dvb-frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb-frontends/ + + # add acpica header files, needed for fglrx build + cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/ + + # aufs2 has a special file needed + cp -fR fs/aufs/magic.mk $TempDevelRoot/fs/aufs + + for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \ + mips mn10300 openrisc parisc powerpc s390 score sh sparc tile unicore32 xtensa; do + rm -rf $TempDevelRoot/arch/$i + done + + %ifnarch %{arm} + rm -rf $TempDevelRoot/arch/arm + rm -rf $TempDevelRoot/arch/arm64 + %endif + %ifnarch %{ix86} x86_64 + rm -rf $TempDevelRoot/arch/x86 + %endif + + # Clean the scripts tree, and make sure everything is ok (sanity check) + # running prepare+scripts (tree was already "prepared" in build) + pushd $TempDevelRoot >/dev/null + %smake -s prepare scripts + %smake -s clean + popd >/dev/null + rm -f $TempDevelRoot/.config.old + + # fix permissions + chmod -R a+rX $TempDevelRoot + + # disable mrproper in -devel rpms + patch -p1 --fuzz=0 -d $TempDevelRoot -i %{SOURCE2} + + kernel_devel_files=../kernel_devel_files.$devel_flavour + + +### Create the kernel_devel_files.* +cat > $kernel_devel_files < $kernel_devel_files-post < $kernel_devel_files-preun < $kernel_devel_files-postun </dev/null +EOF +} + +SaveDebug() { + debug_flavour=$1 + + install -m 644 vmlinux \ + %{temp_boot}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel} + kernel_debug_files=../kernel_debug_files.$debug_flavour + echo "%{_bootdir}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel}" \ + >> $kernel_debug_files + + find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \ + -name "*.ko" | \ + %kxargs -I '{}' objcopy --only-keep-debug '{}' '{}'.debug + find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \ + -name "*.ko" | %kxargs -I '{}' \ + sh -c 'cd `dirname {}`; \ + objcopy --add-gnu-debuglink=`basename {}`.debug \ + --strip-debug `basename {}`' + + pushd %{temp_modules} + find %{kversion}-$debug_flavour-%{buildrpmrel}/kernel \ + -name "*.ko.debug" > debug_module_list + popd + cat %{temp_modules}/debug_module_list | \ + sed 's|\(.*\)|%{_modulesdir}/\1|' >> $kernel_debug_files + cat %{temp_modules}/debug_module_list | \ + sed 's|\(.*\)|%exclude %{_modulesdir}/\1|' \ + >> ../kernel_exclude_debug_files.$debug_flavour + rm -f %{temp_modules}/debug_module_list +} + +CreateFiles() { + kernel_flavour=$1 + + kernel_files=../kernel_files.$kernel_flavour + +ker="vmlinuz" +if [ "$kernel_flavour" = "kirkwood" ]; then + ker="uImage" +fi +### Create the kernel_files.* +cat > $kernel_files <> $kernel_files +%endif + +### Create kernel Post script +cat > $kernel_files-post < /dev/null +if [ -L vmlinuz-$kernel_flavour ]; then + rm -f vmlinuz-$kernel_flavour +fi +ln -sf vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel} vmlinuz-$kernel_flavour +if [ -L initrd-$kernel_flavour.img ]; then + rm -f initrd-$kernel_flavour.img +fi +ln -sf initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img initrd-$kernel_flavour.img +popd > /dev/null +%endif +%if %build_devel +# create kernel-devel symlinks if matching -devel- rpm is installed +if [ -d /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} ]; then + rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/{build,source} + ln -sf /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build + ln -sf /usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source +fi +%endif +EOF + +### Create kernel Posttrans script +cat > $kernel_files-posttrans < $kernel_files-preun < /dev/null +if [ -L vmlinuz-$kernel_flavour ]; then + if [ "$(readlink vmlinuz-$kernel_flavour)" = "vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel}" ]; then + rm -f vmlinuz-$kernel_flavour + fi +fi +if [ -L initrd-$kernel_flavour.img ]; then + if [ "$(readlink initrd-$kernel_flavour.img)" = "initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img" ]; then + rm -f initrd-$kernel_flavour.img + fi +fi +popd > /dev/null +%if %build_devel +if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build ]; then + rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build +fi +if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source ]; then + rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source +fi +%endif +exit 0 +EOF + + +### Create kernel Postun script on the fly +cat > $kernel_files-postun </dev/null +if [ -d /var/lib/dkms ]; then + rm -f /var/lib/dkms/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null + rm -rf /var/lib/dkms/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null + rm -f /var/lib/dkms-binary/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null + rm -rf /var/lib/dkms-binary/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null +fi +EOF +} + + +CreateKernel() { + flavour=$1 + + PrepareKernel $flavour $flavour-%{buildrpmrel} + + BuildKernel %{kversion}-$flavour-%{buildrpmrel} + %if %build_devel + SaveDevel $flavour + %endif + %if %build_debug + SaveDebug $flavour + %endif + CreateFiles $flavour +} + + +### +# DO it... +### + + +# Create a simulacro of buildroot +rm -rf %{temp_root} +install -d %{temp_root} + + +# make sure we are in the directory +cd %src_dir + +%ifarch %{ix86} +%if %build_desktop586 +CreateKernel desktop586 +%endif +%endif + +%if %build_desktop +CreateKernel desktop +%endif + +%if %build_netbook +CreateKernel netbook +%endif + +%if %build_server +CreateKernel server +%endif + +%ifarch %{ix86} +%if %build_desktop_pae +CreateKernel desktop-pae +%endif +%endif + +%ifarch %{ix86} +%if %build_netbook_pae +CreateKernel netbook-pae +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_desktop586 +CreateKernel nrj-desktop586 +%endif +%endif + +%if %build_nrj_desktop +CreateKernel nrj-desktop +%endif + +%if %build_nrj_realtime +CreateKernel nrj-realtime +%endif + +%if %build_nrj_laptop +CreateKernel nrj-laptop +%endif + +%if %build_nrj_netbook +CreateKernel nrj-netbook +%endif + +%ifarch %{ix86} +%if %build_nrj_desktop_pae +CreateKernel nrj-desktop-pae +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_realtime_pae +CreateKernel nrj-realtime-pae +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_laptop_pae +CreateKernel nrj-laptop-pae +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_netbook_pae +CreateKernel nrj-netbook-pae +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_netbook_atom +CreateKernel nrj-netbook-atom +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_netbook_atom_pae +CreateKernel nrj-netbook-atom-pae +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_desktop_core2 +CreateKernel nrj-desktop-core2 +%endif +%endif + +%ifarch %{ix86} +%if %build_nrj_desktop_core2_pae +CreateKernel nrj-desktop-core2-pae +%endif +%endif + +%if %build_nrj_server_lxc +CreateKernel nrj-server-lxc +%endif + +%if %build_nrj_server_lxc_exp +CreateKernel nrj-server-lxc-exp +%endif + +%ifarch %{arm} +%if %build_iop32x +CreateKernel iop32x +%endif +%if %build_kirkwood +CreateKernel kirkwood +%endif +%if %build_versatile +CreateKernel versatile +%endif +%endif + +# set extraversion to match srpm to get nice version reported by the tools +LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile + + +############################################################ +### Linker start3 > Check point to build for cooker 2013 ### +############################################################ +# build perf + +%if %{build_perf} +%if %{mdvver} < 201300 +%make -C tools/perf -s HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} all +%make -C tools/perf -s prefix=%{_prefix} man +%else +%make -C tools/perf -s HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} LDFLAGS="%optflags" all +%make -C tools/perf -s prefix=%{_prefix} LDFLAGS="%optflags" man +%endif +%endif + +# build cpupower + +%if %{build_cpupower} +# make sure version-gen.sh is executable. +chmod +x tools/power/cpupower/utils/version-gen.sh +%if %{mdvver} < 201300 +%make -C tools/power/cpupower CPUFREQ_BENCH=false +%else +%kmake -C tools/power/cpupower CPUFREQ_BENCH=false LDFLAGS="%optflags" +%endif +%endif +############################################################ +### Linker end3 > Check point to build for cooker 2013 ### +############################################################ + + +# We don't make to repeat the depend code at the install phase +%if %build_source +%ifarch %{arm} + PrepareKernel "kirkwood" %{buildrpmrel}custom +%else + PrepareKernel "" %{buildrpmrel}custom +%endif +%smake -s mrproper +%endif + + +### +### install +### +%install +install -m 644 %{SOURCE4} . + +cd %src_dir + +# Directories definition needed for installing +%define target_source %{buildroot}%{_kerneldir} +%define target_boot %{buildroot}%{_bootdir} +%define target_modules %{buildroot}%{_modulesdir} + +# We want to be able to test several times the install part +rm -rf %{buildroot} +cp -a %{temp_root} %{buildroot} + +# Create directories infastructure +%if %build_source +install -d %{target_source} + +tar cf - . | tar xf - -C %{target_source} +chmod -R a+rX %{target_source} + +# we remove all the source files that we don't ship +# first architecture files +for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \ + mips openrisc parisc powerpc s390 score sh sh64 sparc tile unicore32 v850 xtensa mn10300; do + rm -rf %{target_source}/arch/$i +done + +# other misc files +rm -f %{target_source}/{.config.old,.config.cmd,.gitignore,.lst,.mailmap} +rm -f %{target_source}/{.missing-syscalls.d,arch/.gitignore,firmware/.gitignore} +rm -rf %{target_source}/.tmp_depmod/ + +#endif %build_source +%endif + +# compressing modules +%if %{build_modxz} +find %{target_modules} -name "*.ko" | %kxargs xz -6e +%else +find %{target_modules} -name "*.ko" | %kxargs gzip -9 +%endif + +# We used to have a copy of PrepareKernel here +# Now, we make sure that the thing in the linux dir is what we want it to be +for i in %{target_modules}/*; do + rm -f $i/build $i/source +done + +# sniff, if we compressed all the modules, we change the stamp :( +# we really need the depmod -ae here +pushd %{target_modules} +for i in *; do + /sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i + echo $? +done + +for i in *; do + pushd $i + echo "Creating modules.description for $i" + modules=`find . -name "*.ko.[g,x]z"` + echo $modules | %kxargs /sbin/modinfo \ + | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description + popd +done +popd + +# need to set extraversion to match srpm again to avoid rebuild +LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile +%if %{build_perf} + +# perf tool binary and supporting scripts/binaries +make -C tools/perf -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install + +# perf man pages (note: implicit rpm magic compresses them later) +make -C tools/perf -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install-man +%endif + +############################################################ +### Linker start4 > Check point to build for cooker 2013 ### +############################################################ +%if %{build_cpupower} +%if %{mdvver} < 201300 +make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install +%else +%make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false LDFLAGS="%optflags" install +%endif +rm -f %{buildroot}%{_libdir}/*.{a,la} +%find_lang cpupower +mv cpupower.lang ../ +chmod 0755 %{buildroot}%{_libdir}/libcpupower.so* +mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig +install -m644 %{SOURCE50} %{buildroot}%{_unitdir}/cpupower.service +install -m644 %{SOURCE51} %{buildroot}%{_sysconfdir}/sysconfig/cpupower +%endif +############################################################ +### Linker start4 > Check point to build for cooker 2013 ### +############################################################ + +### +### clean +### +%clean +rm -rf %{buildroot} + + +# We don't want to remove this, the whole reason of its existence is to be +# able to do several rpm --short-circuit -bi for testing install +# phase without repeating compilation phase +#rm -rf %{temp_root} + +### +### source and doc file lists +### + +%if %build_source +%files -n %{kname}-source-%{buildrel} +%dir %{_kerneldir} +%dir %{_kerneldir}/arch +%dir %{_kerneldir}/include +%{_kerneldir}/3rdparty +%{_kerneldir}/Documentation +%{_kerneldir}/arch/Kconfig +%{_kerneldir}/arch/arm +%{_kerneldir}/arch/arm64 +%{_kerneldir}/arch/um +%{_kerneldir}/arch/x86 +%{_kerneldir}/block +%{_kerneldir}/crypto +%{_kerneldir}/drivers +%{_kerneldir}/firmware +%{_kerneldir}/fs +%{_kerneldir}/include/Kbuild +%{_kerneldir}/include/acpi +%{_kerneldir}/include/asm-generic +%{_kerneldir}/include/clocksource +%{_kerneldir}/include/crypto +%{_kerneldir}/include/drm +%{_kerneldir}/include/dt-bindings +%{_kerneldir}/include/keys +%{_kerneldir}/include/linux +%{_kerneldir}/include/math-emu +%{_kerneldir}/include/media +%{_kerneldir}/include/memory +%{_kerneldir}/include/misc +%{_kerneldir}/include/net +%{_kerneldir}/include/pcmcia +%{_kerneldir}/include/ras +%{_kerneldir}/include/rdma +%{_kerneldir}/include/rxrpc +%{_kerneldir}/include/scsi +%{_kerneldir}/include/sound +%{_kerneldir}/include/target +%{_kerneldir}/include/trace +%{_kerneldir}/include/uapi +%{_kerneldir}/include/video +%{_kerneldir}/include/xen +%{_kerneldir}/init +%{_kerneldir}/ipc +%{_kerneldir}/kernel +%{_kerneldir}/lib +%{_kerneldir}/mm +%{_kerneldir}/net +%{_kerneldir}/virt +%{_kerneldir}/samples +%{_kerneldir}/scripts +%{_kerneldir}/security +%{_kerneldir}/sound +%{_kerneldir}/tools +%{_kerneldir}/usr +%{_kerneldir}/COPYING +%{_kerneldir}/CREDITS +%{_kerneldir}/Kbuild +%{_kerneldir}/Kconfig +%{_kerneldir}/MAINTAINERS +%{_kerneldir}/Makefile +%{_kerneldir}/README +%{_kerneldir}/REPORTING-BUGS +%doc README.kernel-sources + +%files -n %{kname}-source-latest +%endif + +%if %build_doc +%files -n %{kname}-doc +%doc linux-%{tar_ver}/Documentation/* +%endif + +%if %{build_perf} +%files -n perf +%{_bindir}/perf +%dir %{_prefix}/libexec/perf-core +%{_prefix}/libexec/perf-core/* +%{_mandir}/man[1-8]/perf* +%{_sysconfdir}/bash_completion.d/perf +%endif + +%if %{build_cpupower} +%files -n cpupower -f cpupower.lang +%{_bindir}/cpupower +%{_libdir}/libcpupower.so.0 +%{_libdir}/libcpupower.so.0.0.0 +%{_unitdir}/cpupower.service +%{_mandir}/man[1-8]/cpupower* +%config(noreplace) %{_sysconfdir}/sysconfig/cpupower + +%files -n cpupower-devel +%{_libdir}/libcpupower.so +%{_includedir}/cpufreq.h +%endif + + +%changelog + +* Fri Nov 15 2013 Nicolo' Costanza 3.10.19-1 +- Virtual package for new nrj kernel for properly install and updates. ++ update to 3.10.19 stable +- after dozens of test versions, we finally succeeded to fix a bad problem + verified with the presence of Intel Haswell cpus and H8x Intel chipsets. +- drop: /patches-NRJ/i915-fetch-pll-state-on-resume.patch +- update: /patches-QL/tuxonice-for-linux-3.10.19-2013-11-15.patch +- Thanks to Eugene Shatokhin we have a modified BFS patch compatible with + the ondemand speed-up patch, so also nrjQL can perform even better... + +* Fri Nov 08 2013 Nicolo' Costanza 3.10.18-1 ++ update to 3.10.18 stable +- update: /patches-QL/tuxonice-for-linux-3.10.18-2013-11-07.patch +- add 'on request' by Eugene Shatokhin, few MEI changes to avoid too many error logs wasting space + * CONFIG_INTEL_MEI from "=y" to "=m" + * CONFIG_INTEL_MEI_ME from "=y" to "=m" +- add nr.3 MEI and nr.1 i915 patches suggested by Eugene Shatokhin + * patches-NRJ/i915-fetch-pll-state-on-resume.patch + * patches-NRJ/mei-check-if-the-hardware-reset-succeeded.patch + * patches-NRJ/mei-check-whether-hw-start-has-succeeded.patch + * patches-NRJ/mei-print-correct-device-state-during-unexpected-reset.patch +- add 'on request' by Alexander Burmashev: CONFIG_DRM_LOAD_EDID_FIRMWARE=y + * with this we should be able to override the wrong EDID of displays with options at kernel boot + * About EDID override howto, you read here: + * https://www.osadl.org/monitoring/patches/r2s0/drivers-gpu-drm-allow-to-load-edid-firmware.patch +- add 'on request' by Alexander Kazancev the full configs for UEFI from: + * https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Linux_Kernel_Config_options_for_UEFI + * add CONFIG_RELOCATABLE=y also for i386.config + * change CONFIG_EFIVAR_FS from "=m" to "=y" + * change CONFIG_EFI_VARS from "=y" to "=n" +- add a patch to speed-up nuveau / radeon timers improvments for (from an 3.12 idea), +- it was addded patches-NRJ-only, /scripts/apply_patches-NRJ-only, and a spec modify + * openSUSE 13.1 RC2 Updates Systemd, Has Speedy Fix: + * http://www.phoronix.com/scan.php?page=news_item&px=MTQ5OTc + * Here's Why Radeon Graphics Are Faster On Linux 3.12: + * http://www.phoronix.com/scan.php?page=article&item=linux_312_performance&num=1 +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Oct 20 2013 Nicolo' Costanza 3.10.17-1 ++ update to 3.10.17 stable +- update the patch for TOI: + * /patches-QL/tuxonice-for-linux-3.10.17-2013-10-19.patch +- drop 3 unused old patches, they have been moved to /patches-removed +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Oct 16 2013 Nicolo' Costanza 3.10.16-1 ++ update to 3.10.16 stable +- update the patch for TOI: + * /patches-QL/tuxonice-for-linux-3.10.16-2013-10-15.patch +- On request by Alexander Khryukin and Alexander Burmashev: + add 2 new flavours for nrj and 2 new flavours for nrjQL series. + Some special flavours prepared for ROSA ABF server and LXC VMs. + * kernel-nrj-server-lxc + * kernel-nrj-server-lxc-exp + * kernel-nrjQL-server-lxc + * kernel-nrjQL-server-lxc-exp +- Modified all the /scripts of create_configs and all kernel.specs +- On request by Eugene Shatokhin: if debug > DEBUG_INFO_REDUCED=y +- Add /specs folder with 4 kernel.spec, so you can use any specs. +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sat Oct 05 2013 Nicolo' Costanza 3.10.15-1 ++ update to 3.10.15 stable +- sync: new /patches +- modified all the defconfigs for: + * # CONFIG_FW_LOADER_USER_HELPER is not set + * # CONFIG_X86_GOLDFISH is not set +- update the patch for TOI: + * /patches-QL/tuxonice-for-linux-3.10.15-2013-10-06.patch +- change CK1 and BFS patches from the previous one only patch named: + * /patches-QL/ck1-3.10.patch (that has been dropped) +- to 7 single patches exploded from it + * /patches-QL/3.10-sched-bfs-440.patch + * /patches-QL/bfs440-grq_urwlocks.patch + * /patches-QL/ck1-version.patch + * /patches-QL/hz-default_1000.patch + * /patches-QL/hz-no_default_250.patch + * /patches-QL/kconfig-expose_vmsplit_option.patch + * /patches-QL/preempt-desktop-tune.patch + * /patches-QL/urw-locks.patch +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Oct 01 2013 Nicolo' Costanza 3.10.14-1 ++ update to 3.10.14 stable +- drop: fbcondecor.patch from /patches-others and /patches-NRJ (one) +- changes in defconfigs: +- drop config for CONFIG_FB_CON_DECOR +- recover to CONFIG_FB_TILEBLITTING=y +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Sep 27 2013 Nicolo' Costanza 3.10.13-1 ++ update to 3.10.13 stable +- update patch +- * /patches-QL/tuxonice-for-linux-3.10.13-2013-09-27.patch +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Mon Sep 16 2013 Nicolo' Costanza 3.10.12-1 ++ update to 3.10.12 stable +- add patch +- * linux-fixuClibc.patch +- (it was recommended by Alexander Burmashev: uclibc builds on kernel 3.10 +- we have a lot of such stuff in cooker, especially recommended for cooker) +- drop patches from previous 3.0.11 (these are already applied in 3.10.12): + * net-sched-psched_ratecfg_precompute-improvements.patch + * net-sched-restore-linklayer-atm-handling.patch +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Sep 10 2013 Nicolo' Costanza 3.10.11-1 ++ update to 3.10.11 stable +- the compressed folder now is the same (mibrel 69) for -1/-69/-70(one) +- sync: new /patches: + * /patches-QL/tuxonice-for-linux-3.10.11-2013-09-10.patch +- drop old 3.10.10 patches (these are already applied in 3.10.11): + * kernel-workqueue-cond_resched-after-processing-each-work-item.patch + * jfs-fix-readdir-cookie-incompatibility-with-nfsv4.patch + * drm-nouveau-mc-fix-race-condition-between-constructor-and-request_irq.patch + * net-wireless-ath-ath9k-Enable-PLL-fix-only-for-AR9340-AR9330.patch + * net-mac80211-add-a-flag-to-indicate-CCK-support-for-HT-clients.patch + * net-sunrpc-Fix-memory-corruption-issue-on-32-bit-highmem-systems.patch +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- the rel -69 is used for development and the experimental flavours, +- the rel -70 is merge of mainline & experimental flavours in ONE srpm +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Sep 01 2013 Nicolo' Costanza 3.10.10-1 ++ update to 3.10.10 stable +- BFQ: replaced with fixed version (nr.3 patches 3.10.8+-v6r2/ dated 25 August) +- sync: /patches +- updates: /patches-others /patches-NRJ /patches-QL /patches-RT +- modified all defconfigs, enabled: CONFIG_CHECKPOINT_RESTORE=y +- modified create_configs (all -server flavours: compression from XZ to GZIP) +- fixed Kconflicts for all distro or almost (hoping...) +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Thu Aug 22 2013 Nicolo' Costanza 3.10.9-1 +- replacement 3.10.9 release +- To fix the "hangs on boot issue" signaled: bugs.rosalinux.ru/show_bug.cgi?id=2530 +- add: /patches-NRJ/0004-block-Switch-from-BFQ-v6r2-for-3.10.0-to-BFQ-v6r2-fo.patch +- sync: /patches +- update: /patches-QL/tuxonice-for-linux-3.10.9-2013-08-21.patch +- fix conflicts as suggested by Tomasz Paweł Gajc: dkms-nvidia-current < 325.15-1 +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Aug 21 2013 Nicolo' Costanza 3.10.9-1 ++ update to 3.10.9 stable +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Aug 20 2013 Nicolo' Costanza 3.10.8-1 ++ update to 3.10.8 stable +- sync and update few patches +- the compressed folder has redundant contents to be used for NRJ4/NRJ5: +- the same folder can be used with kernel.spec for new Kernels ONE model +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Thu Aug 15 2013 Nicolo' Costanza 3.10.7-1 ++ update to 3.10.7 stable +- sync patches, drop old stable queue, drm-radeon and zram patches +- fixed the Conflicts: dkms-broadcom-wl < 5.100.82.112-12 +- fixed create_configs (ver 1.8) - removed question when -netbook +pae + * modified from: $values{XEN} = "n"; >>> to >>> $to_add{XEN} = "n"; +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Aug 13 2013 Nicolo' Costanza 3.10.6-1 ++ update to 3.10.6 stable +- sync all /patches +- update QL patch: tuxonice-for-linux-3.10.6-2013-08-13.patch +- fixed Conflicts with new proprietary driver version-release +- fixed Provides value for Alsa +- small fix to .spec for %files headers section +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Aug 07 2013 Nicolo' Costanza 3.10.5-1 ++ update to 3.10.5 stable +- sync all /patches +- sync defconfigs +- enable ndiswrapper +- update QL patch: tuxonice-for-linux-3.10.5-2013-08-04.patch +- revert to power save disable to verify if fixes an issue of audio noise: +- (that issue has been firstly reported by "dago68", then verified by me) + * CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 + * CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0 +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Thu Aug 01 2013 Nicolo' Costanza 3.10.4-1 ++ update to 3.10.4 stable +- revert to old /scripts/create_configs-QL behaviour: + * now -laptop and -netbook are 300 and 250HZ again +- sync /patches +- update patch: tuxonice-for-linux-3.10.4-2013-07-30.patch +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Jul 30 2013 Nicolo' Costanza 3.10.1-1 ++ update to 3.10.1 stable +- all the defconfigs have been prepared for 3.10 series +- all the patches have been updated for the 3.10 series +- update kernel specs +- --------------------------------------------------------------------- +- Kernel 3.10 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Jul 23 2013 Nicolo' Costanza 3.9.11-1 ++ update to stable 3.9.11 (EOL) +- update patches: + * tuxonice-for-linux-3.9.11-2013-07-21.patch +- update defconfigs +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Jul 17 2013 Nicolo' Costanza 3.9.10-1 ++ update to 3.9.10 stable +- update patches: + * tuxonice-for-linux-3.9.10-2013-07-14.patch + * uksm-0.1.2.2-for-v3.9.ge.8.patch +- update defconfigs +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Jul 05 2013 Nicolo' Costanza 3.9.9-1 ++ update to 3.9.9 stable +- update update: tuxonice-for-linux-3.9-8-2013-06-29.patch +- added patch: net-wireless-bcma-add-support-for-BCM43142.patch +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Thu Jun 27 2013 Nicolo' Costanza 3.9.8-1 ++ update to 3.9.8 stable +- update patch: tuxonice-for-linux-3.9-7-2013-06-23.patch +- add patch: ath9k_htc > Handle IDLE state transition properly +- removed unused config keys: ATH9K_RATE_CONTROL=y & USB_CHIPIDEA_HOST=y +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This kernel contains also some other patches to improve the hw support +- --------------------------------------------------------------------- + +* Thu Jun 20 2013 Nicolo' Costanza 3.9.7-1 ++ update to 3.9.7 stable +- fixed a shutdown issue reported on nrjQL laptop -netbook and -server +- now BFQ is the version updated to v6r2, dated 15 June +- replaced 3 patches: + * 0001-block-cgroups-kconfig-build-bits-for-BFQ-v6r2-3.8.patch + * 0002-block-introduce-the-BFQ-v6r2-I-O-sched-for-3.8.patch + * 0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v6r2-for-3.8.0.patch +- new key since 3.9.7 >>> # CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This kernel contains also some other patches to improve the hw support +- --------------------------------------------------------------------- + +* Fri Jun 14 2013 Nicolo' Costanza 3.9.6-1 ++ update to 3.9.6 stable +- update TOI patch >>> tuxonice-for-linux-3.9-6-2013-06-14.patch +- update all defconfigs: insert the new key values in the proper places +- update kernel.spec about text descriptions for nrj and nrjQL flavours +- small overall cleanups +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Jun 12 2013 Nicolo' Costanza 3.9.5-1 ++ update to 3.9.5 stable +- update TOI patch >>> tuxonice-for-linux-3.9-5-2013-06-08.patch +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Jun 11 2013 Nicolo' Costanza 3.9.1-1 ++ update to 3.9.1 stable +- all the defconfigs have been prepared for 3.9 series +- all the patches have been updated for the 3.9 series +- update kernel specs +- update kernel scripts +- we've received some good suggestions, and all have been accepted +- on mainline nrj kernels we apply again > create_configs-withBFQ +- 1> suggestions and requests received by Per Øyvind Karlsen (POK) + * TOI (tuxonice) was only in laptop/netbook, now in all flavours + * CONFIG_PM_AUTOSLEEP=y + * CONFIG_SFI =m + * CONFIG_BLK_DEV_DRBD=m + * # CONFIG_DRBD_FAULT_INJECTION is not set + * CONFIG_HW_RANDOM_TIMERIOMEM=m + * CONFIG_DRM_VIA=m + * CONFIG_FB_ATY128_BACKLIGHT=y + * CONFIG_USB_RIO500=m + * CONFIG_DRM_VMWGFX_FBCON=y + * CONFIG_SND_PCSP=m + * CONFIG_SND_HDA_POWER_SAVE_DEFAULT=10 + * CONFIG_SND_AC97_POWER_SAVE_DEFAULT=10 +- 2> suggestions from an advanced user to A.Burmashev + * CONFIG_TCP_CONG_ADVANCED=y + * CONFIG_TCP_CONG_BIC=m + * CONFIG_TCP_CONG_CUBIC=y + * CONFIG_TCP_CONG_WESTWOOD=m + * CONFIG_TCP_CONG_HTCP=m + * CONFIG_TCP_CONG_HSTCP=m + * CONFIG_TCP_CONG_HYBLA=m + * CONFIG_TCP_CONG_VEGAS=m + * CONFIG_TCP_CONG_SCALABLE=m + * CONFIG_TCP_CONG_LP=m + * CONFIG_TCP_CONG_VENO=m + * CONFIG_TCP_CONG_YEAH=m + * CONFIG_TCP_CONG_ILLINOIS=m + * CONFIG_DEFAULT_CUBIC=y + * # CONFIG_DEFAULT_RENO is not set +- --------------------------------------------------------------------- +- Kernel 3.9 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri May 17 2013 Nicolo' Costanza 3.8.13-1 +- Virtual package for new nrj kernel for properly install and updates. ++ update to 3.8.13 stable (EOL) +- * 87 files changed, 902 insertions(+), 445 deletions(-) +- patches updated +- two kernel keys have been modified: +- * CONFIG_NLS_DEFAULT="iso8859-1" to CONFIG_NLS_DEFAULT="utf8" +- * new add > CONFIG_MOUSE_CYAPA=m +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Thu May 16 2013 Nicolo' Costanza 3.8.12-2 ++ update to 3.8.12 stable - second release +- BFQ patches update to v6r1 that contain two important fixes. +- BFQ is disable on mainline kernels (nrj), as v6 caused some rare oops: +- but you can still enable it easily from kernel.spec using the command +- create_configs-withBFQ instead of create_configs (one of 2 must be #) +- BFQ is enable on development kernels nrjQL, but now is the fixed v6r1 +- ZSwap patch dropped, as it caused some rare oops... +- ZSMALLOC is now built-in on arm to workaround a build failure +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Thu May 09 2013 Nicolo' Costanza 3.8.12-1 +- Virtual package for new nrj kernel for properly install and updates. ++ update to 3.8.12 stable +- * 129 files changed, 641 insertions(+), 320 deletions(-) +- patches dropped, now in upstream +- patches updated to newer versions +- * tuxonice 3.8.12 20130509 +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue May 07 2013 Nicolo' Costanza 3.8.11-1 ++ update to 3.8.11 stable +- * 49 files changed, 454 insertions(+), 166 deletions(-) +- patches dropped, now in upstream +- patches updated to newer versions +- * aufs3 3.8 20130504 +- * tuxonice 3.8.11 20130504 +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sat Apr 27 2013 Nicolo' Costanza 3.8.10-1 ++ update to 3.8.10 stable +- * 58 files changed, 405 insertions(+), 222 deletions(-) +- * 3 files changed, 27 insertions(+), 1 deletion(-) +- patches updated to newer versions dated 20130427: + * aufs3, fbcondor, ureadahead, toi, vhba, zwap +- patch add: try removing a boot warning about kernelvariables + * /patches-extras/kernelvariables.patch +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Apr 17 2013 Nicolo' Costanza 3.8.8-1 ++ update to 3.8.8 stable +- * 37 files changed, 335 insertions(+), 344 deletions(-) +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Mon Apr 15 2013 Nicolo' Costanza 3.8.7-1 ++ update to 3.8.7 stable +- * 67 files changed, 507 insertions(+), 341 deletions(-) +- new patches added, enabled and configured with default values + * /patches-extras/linux-3.8.6-colored-printk.patch + */patches-extras/zswap-3.8-20130415.patch + * zswap now is enabled only on x86 arch, not in ARM (using zcache2) +- patches updated to newer versions 20130414: + * aufs3, toi +- patches updated to newer versions 20130415: + * fbcondor, ureadahead, vhba +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Apr 07 2013 Nicolo' Costanza 3.8.6-1 ++ update to 3.8.6 stable +- * (158 files changed, 1341 insertions(+), 658 deletions(-) +- patch add: reiserfs4 ver.3.8 with its configuration as new module + * add an experimental support to Reiser4 FS: please test this FS! +- patches updated to newer git version 20130406: + * aufs3, brtfs-lz4, fbcondor, toi, ureadahead, vhba +- Some kernel.spec changes from cooker to make it ARM/ARM64 compatible: + * Import Bero commit 0e1b905e24 from openmandriva cooker kernel.spec + * Import Fedya commit 4254d039f6 from openmandriva cooker kernel.spec +- add conflict for dkms-nvidia173 <= 173.14.36 +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Thu Mar 28 2013 Nicolo' Costanza 3.8.5-1 ++ update to 3.8.5 stable +- * (109 files changed, 778 insertions(+), 683 deletions(-) +- add two new keys to defconfigs: + * CONFIG_EFI_VARS_PSTORE=y + * # CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Mar 24 2013 Nicolo' Costanza 3.8.4-1 ++ update to 3.8.4 stable (86 fixes all over) ++ NRJ 4, scripts v 1.6: more info on file > create_configs_changelog ++ Import Bero commit 32d3796b8b from openmandriva cooker kernel.spec +- patches updated: + * AUFS3 to 3.8 20130324 + * TOI to 3.8.3 20130324 +- patches added: + * uksm-0.1.2.2-for-v3.8.ge.3.patch +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Mar 15 2013 Nicolo' Costanza 3.8.3-1 ++ update to 3.8.3 stable (144 fixes all over) ++ Imported "Build kernel-headers in here" from OpenMandriva kernel +- drop Haswell id fixup: gpu-drm-i915-Fix-Haswell-CRW-PCI-IDs.patch ++ patches new entries are placed in /extras folder: +- kernel-esfq.patch +- kernel-inittmpfs.patch +- btrfs-lz4-3.8-20130314.patch +- ureadahead-3.8-20130314.patch ++ patches updated: +- AUFS3 to 3.8 20130315 +- TOI to 3.8.3 20130315 +- VHBA 3.8 20130314 ++ NRJ 4, scripts v 1.5: +- nrjQL_server & nrjQL_server_computing: dynticks enabled to save energy +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Mon Mar 11 2013 Nicolo' Costanza 3.8.2-1 ++ update to 3.8.2 stable (80 fixes all over) ++ Patch added from ZEN: +- Virtual (SCSI) HBA for Virtual CD emulation module ++ update to the patches: +- AUFS3 to 3.8 20130310 +- TOI to 3.8.2 20130310 ++ some spec cleanup for cooker ++ defconfigs updated for VHBA, enable for x86/x86_64, disable for ARM +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Mar 10 2013 Nicolo' Costanza 3.8.1-69 ++ update to 3.8.1 stable ++ update to nrj v4 - rel 1.4 (09 mar 2013) +- This version is first attempt to merge stuff with OpenMandriva devel: +- it should build from mdv2010/2011, rosa2012.0/2012.1, and cooker 2013 +- --------------------------------------------------------------------- +- Kernel 3.8 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Mar 03 2013 Nicolo' Costanza 3.7.10-1 ++ update to 3.7.10 stable (79 fixes all over) +- With this version, 3.7 has reached the EOL status (End of Life) ++ update to nrj v4 - rel 1.3 (05 mar 2013) +- On request of Alexander Khryukin, fixed configs and scripts for ARM: +- fixed configs, removed all warnings, enabled again all arm defconfigs +- defconfigs for kirkwood, versatile, iop32x have BFQ enable by default +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Feb 20 2013 Nicolo' Costanza 3.7.9-1 ++ update to 3.7.9 stable (12 fixes all over) +- update AUFS3 to 3.7.9 20130218 +- specific for nrjQL addons: +- update tuxonice 3.7.9 20130218 +- add a workaround to fix issue with dkms drivers for recent distros: +- /linux/version.h symlink to /include/generated/uapi/linux/version.h +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sat Feb 16 2013 Nicolo' Costanza 3.7.8-1 ++ update to 3.7.8 stable (69 fixes all over) +- update AUFS3 to 3.7 20130215 +- specific for nrjQL addons: +- update tuxonice 3.7.8 20130215 +- updated scripts: +- all nrj flavours use BFQ v6 (disk I/O) enabled by default +- all nrj laptop flavours since now use the full preemption +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Feb 13 2013 Nicolo' Costanza 3.7.7-1 ++ update to 3.7.7 stable (34 fixes all over) +- update AUFS3 to 3.7 20130212 +- specific for nrjQL addons: +- update BFQ v6 I-O-sched for-3.7 +- update tuxonice 3.7.7 20130212 +- remove microcode from "requires", now it's in "suggests" +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Mon Feb 04 2013 Nicolo' Costanza 3.7.6-1 ++ update to 3.7.6 stable (101 fixes all over) +- add "# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set" to defconfigs +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- The rel -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours, +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sat Feb 02 2013 Nicolo' Costanza 3.7.5-1 ++ update to 3.7.5 stable +- drop two staging patches +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sat Feb 02 2013 Nicolo' Costanza 3.7.1-1 ++ update to 3.7.1 stable +- update kernel.spec to be complaint with new V4 nrj/nrjQL model +- update all scripts to be complaint with new V4 nrj/nrjQL model +- merged defconfigs for nrj & nrjQL, source folders and contents have been unified +- merged all changelogs, as now nrj and nrjQL will be developed in perfect sync +- applied all ROSA customizations of defconfigs as requested by Alexander Burmashev +- update AUFS3 to 3.7 20130128 +- update 4200_fbcondecor-0.9.6 +- add 08-18-brcmsmac-Add-support-for-writing-debug-messages-to-the-trace-buffer.patch +- specific for nrjQL addons: +- update BFQ v5r1 I-O-sched for-3.7 +- update ck1 3.7 and bfs426-427 +- update tuxonice 3.7.5 20130128 +- update uksm 0.1.2.2 for v3.7.ge.1 +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Jan 25 2013 Nicolo' Costanza 3.7.1-0 ++ update to 3.7.1 stable +- update script with nrj module v.3.1 +- update .spec filelists +- update/sync defconfigs +- fix zram oops (upstream) +- add perf bash_completion +- add 3.7 buildfixes for alx, IFWLOG, mach64, ndiswrapper +- rediff disable-mrproper patch +- restore patch preferring ata over ide drivers +- drop compress modules at install time patch + (obsolete as we compress them at rpm build time) +- --------------------------------------------------------------------- +- Kernel 3.7 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Mon Jan 14 2013 Nicolo' Costanza 3.6.11-1 ++ update to 3.6.11 stable (56 fixes all over) +- update BFQ version to v5r1 +- update UKMS version to 0.1.2.2 +- add brcmsmac-Add-support-for-writing-debug-messages-to-the-trace-buffer.patch +- add i915.CADLinopregion.patch +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Dec 12 2012 Nicolo' Costanza 3.6.10-1 ++ update to 3.6.10 stable (29 fixes all over) +- update AUFS3 version to git 20121207 +- update T.O.I version to gif 20121207 +- add speakup-lower-default-software-speech-rate.patch +- ROSA 2012.1 release version with nrj-desktop CFQ revert +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Dec 11 2012 Nicolo' Costanza 3.6.10-0 ++ update to 3.6.10 stable (29 fixes all over) +- update AUFS3 version to git 20121207 +- update T.O.I version to gif 20121207 +- add speakup-lower-default-software-speech-rate.patch +- This is a testing version with nrj-desktop BFQ enabled! +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Dec 09 2012 Nicolo' Costanza 3.6.10-0-rc1-2 ++ update to 3.6.10 rc1 (27 fixes all over) +- update AUFS3 version to git 20121207 +- update T.O.I version to gif 20121207 +- add ZFS filesystem driver +- add Solaris Porting Layer and ZFS filesystem support mod +- add speakup-lower-default-software-speech-rate.patch +- This is a testing version with nrj-desktop BFQ enabled! +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Dec 07 2012 Nicolo' Costanza 3.6.10-0-rc1.1 ++ update to 3.6.10 rc1 (27 fixes all over) +- update AUFS3 version to git 20121204 +- update T.O.I version to gif 20121203 +- This is a testing version with nrj-desktop BFQ enabled! +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Dec 05 2012 Nicolo' Costanza 3.6.9-0 ++ update to 3.6.9 stable (56 fixes all over) +- This is a testing version with nrj-desktop BFQ enabled! +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Nov 30 2012 Nicolo' Costanza 3.6.9-rc1-1 ++ update to 3.6.8-rc1-1 (56 fixes all over) +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Nov 30 2012 Nicolo' Costanza 3.6.8-1 ++ update to 3.6.8-1 (96 fixes all over) +- update AUFS3 to 20121127 git version +- add 4200_fbcondecor-0.9.6.patch +- add config key CONFIG_FB_CON_DECOR=y, changed FB_TILEBLITTING=n +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Nov 27 2012 Nicolo' Costanza 3.6.8-0 ++ update to 3.6.8-0 (96 fixes all over) +- add AUFS3 with the MagOS config keys +- add 12 patches to ext4 from Fedora 3.6 +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sat Nov 24 2012 Nicolo' Costanza 3.6.8-rc1-1 ++ update to 3.6.8-rc1 (89 fixes all over) ++ modify: now modules are compressed with xz for ROSA 2012.1, +- thus recovering more than 7 Mb from any kernel flavour rpm ++ added two patches to fix gspca problems with some webcams: +- GS01_gspca-ov534_fix_the_light_frequency_filter.patch +- GS02_gspca-stv06xx_fix_a_regression_with_the_bridge-sensor_vv6410.patch +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Nov 20 2012 Nicolo' Costanza 3.6.7-1 ++ update to 3.6.7-1 (89 fixes all over) +- updated all patches for kernel 3.6.7: AUFS3, OverlayFS, TOI +- re-add cpufreq_ondemand_performance_optimise_default_settings.patch +- small modifies and fixes to "create_configs" and "kernel.spec" files +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Mon Nov 05 2012 Nicolo' Costanza 3.6.6-1 ++ update to 3.6.6-1 +- drop FX01_fs-ext4-fix-unjournaled-inode-bitmap-modification.patch, +- because that's already inside patch-3.6.6.bz2 +- modify configuration for server flavour to DEFAULT_GOV_ONDEMAND=y +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Nov 02 2012 Nicolo' Costanza 3.6.5-2 ++ update to 3.6.5-2 +- drop FX01_fix-serious-progressive-ext4-data-corruption-bug.patch +- add FX01_fs-ext4-fix-unjournaled-inode-bitmap-modification.patch +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Wed Oct 31 2012 Nicolo' Costanza 3.6.5-1 ++ update to 3.6.5-1 (98 fixes all over) +- some fixes to the description text on all kernel flavours and source +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Oct 30 2012 Nicolo' Costanza 3.6.5-1-0-rc1 ++ update to 3.6.5-0-rc1 +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Tue Oct 30 2012 Nicolo' Costanza 3.6.4-2 ++ update to 3.6.4-2 +- modify default .configs to CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sun Oct 28 2012 Nicolo' Costanza 3.6.4-1 ++ update to 3.6.4-1 +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Oct 26 2012 Nicolo' Costanza 3.6.4-rc1 ++ update to 3.6.4-rc1 ++ rc release that should fix this > https://lwn.net/Articles/521022/ +- added FX01-fix-serious-progressive-ext4-data-corruption-bug.patch +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Mon Oct 22 2012 Nicolo' Costanza 3.6.3-1 ++ update to 3.6.3 (85 fixes all over) +- add OverlayFS +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Sat Oct 13 2012 Nicolo' Costanza 3.6.2-1 ++ update to 3.6.2 (135 fixes all over) +- now CPU_FREQ_GOV_ONDEMAND is the predefined for -laptop and -netbook +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Oct 12 2012 Nicolo' Costanza 3.6.1-1 ++ update to 3.6.1 +- first public attempt with new kernel 3.6 serie +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- + +* Fri Oct 2 2012 Nicolo' Costanza 3.6.0-1 ++ new kernel 3.6.0 +- first private attempt with new kernel 3.6 serie +- --------------------------------------------------------------------- +- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1 +- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/ +- This is -1 (mainline serie), with official kernel sources and addons, +- instead (-69) will be used for development and experimental flavours +- Yin & Yang (69) release - a very complete but experimental flavours... +- --------------------------------------------------------------------- diff --git a/kernel.rpmlintrc b/kernel.rpmlintrc new file mode 100644 index 0000000..6d9a865 --- /dev/null +++ b/kernel.rpmlintrc @@ -0,0 +1,2 @@ +# too many false errors +addFilter(".*") diff --git a/linux-3.10.tar.sign b/linux-3.10.tar.sign new file mode 100644 index 0000000..5664e2d --- /dev/null +++ b/linux-3.10.tar.sign @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAABAgAGBQJR0LWKAAoJEHm+PkMAQRiG1VcIAJTZEcZ4x3F7yzLyA+OfsEm6 +q4PrmLdcqmFOn9vh+kZ/IHvawIa038TGxxfkPC5l8ViDbEgvkIt3V1XfEIKeRxEV +9uKwRuJH4wXiB8sJ/+4uOszJ0hM3aJajFftbgQ3vxA7/Ve3vG/OMWeOSfe+k66Hu +KKeNNorTqMBseUt3cG5kLYliotxe7PTCs+uM1EtKHodUBr8GBVNFpDBhbjiLVr2H +iPzulOVZKmk2GwjnKHTtAJADCRL/DW0RLtSMcjqLcd9ovKssBR5BO/G0/N/+VMNO +9Xt3q2hat7qo3AzeR//2DC5cZlIVY5tQSqqdrTMCBLGeZTnvciwWKCyElcc7t3s= +=Cmwg +-----END PGP SIGNATURE----- diff --git a/patch-3.10.19.sign b/patch-3.10.19.sign new file mode 100644 index 0000000..314ee70 --- /dev/null +++ b/patch-3.10.19.sign @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQIcBAABAgAGBQJSgu1TAAoJEDjbvchgkmk+6mgP/RwehKSC2zqixPV25xOOXtQe +Jg1AFIG7y5P2fYLhHtadMHQYE5YPuE+rFcTcY7dNhvR8HCkabaOtGvuV9qMH3c1B +jhwp2ubGdcNHA4fGtUwtiMOrASKCJDbROhdXpao1WLOjMZ1cxbr6GSJwBajCeho+ +wCfrs9uSHCrLNMnOxjxygpfhhWWegc2RXC8EtS4Z7SwfA+l+6fZ0hFofn1sdCsUS +4YYp8B5WOC0H6hCpKd2PMH5geLVI5kDDhzNJrDp/bTEAxqpPMRj7teGiXfAzkcsk +wytwVDlX3913s7BVQs6lo37iMst/AA0/xfP10agQ4FusFxfTIFMpmePjZLWqJe3u +9shUDMiop7KPSRxK/w38XHQetYQpsWRIXgAMsKEBcyOCJ7btkm8aRW/t3W2WqBdy +rFYCavljCkVm94WcYRZCn+5uqkWrZx/4JjnZSPXScddpm2vae3FO4FA3xIvjMLXz +rBTDEgMpv3XXe6LmdbXarV6Niu7Xb+WfHOi2wXA8AgdAXAOhusc0SQxY1FLSQxUt +WlRBCS+8uT6hzBHRlNbC0BGJ6L5mDi9/q4s6evMw73E71DNhJIXFNekGjD79rkVW +oE6lIjQ05T83d0C++HqLmg+DnldIGEDNkCjvQiMdv5OPxx//4y11qcuNt7LNxS9L +uyq8s1FOkCh4KDzr1dyC +=GhOw +-----END PGP SIGNATURE-----