commit 5e9fe704adbb0aeb84597d71d87df618e69f33e6

OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=164
This commit is contained in:
Michal Marek 2012-12-18 07:04:45 +00:00 committed by Git OBS Bridge
parent 9a09b58d0a
commit 2f911e2840
57 changed files with 51396 additions and 13409 deletions

View File

@ -25,7 +25,7 @@
if [ "$1" = "--list" ]; then
# List all known architectures
echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc armv7hl
echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc armv5tel armv7hl
exit 0
fi

View File

@ -30,17 +30,15 @@
+x86_64 x86_64/vanilla
+x86_64 -syms x86_64/trace
# openSuSE:
# G3 G4 bPlan
+ppc ppc/default
# G5 PS3 pSeries
+ppc ppc/ppc64
# PS3 bootloader
#+ppc -syms ppc/ps3
# maybe the kernels above were patched to death?
+ppc ppc/vanilla
+ppc64 ppc64/default
+ppc64 -syms ppc64/trace
+ppc64 -syms ppc64/debug
+ppc64 ppc64/vanilla
# ARM architectures
+armv5tel armv5tel/versatile
+armv7hl armv7hl/default
+armv7hl armv7hl/imx51
+armv7hl armv7hl/omap2plus
@ -50,19 +48,6 @@
+armv7hl armv7hl/exynos
+armv7hl armv7hl/highbank
# SLES
# identical to ppc64 flavor, all KMP packages need a kernel-default
# Up to now, the openSuSE 11.1 ppc media can not have a
# kernel-default.ppc.rpm and a kernel-default.ppc64.rpm to continue
# supporting 32bit and 64bit systems.
+ppc64 ppc64/default
# G5 pSeries
+ppc64 ppc64/ppc64
+ppc64 -syms ppc64/trace
+ppc64 -syms ppc64/debug
# maybe the kernels above were patched to death?
+ppc64 ppc64/vanilla
+s390 s390/s390
+s390 -syms s390/trace
+s390 s390/vanilla

View File

@ -1,5 +1,5 @@
# The version of the main tarball to use
SRCVERSION=3.6
SRCVERSION=3.7
# variant of the kernel-source package, either empty or "-rt"
VARIANT=
# buildservice projects to build the kernel against

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f603fc509b6ee7616736468d0819dfaf4f01c2271f354496037a18063a0fc280
size 308362
oid sha256:a7c5464fe5f334d822ca2c89bcc5f536261a981293b7aad25f32737aede84c97
size 309752

View File

@ -398,10 +398,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-cubox
Summary: Kernel for SolidRun Cubox
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -474,10 +474,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-debug
Summary: A Debug Version of the Kernel
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -477,10 +477,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-default
Summary: The Standard Kernel
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -492,10 +492,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-desktop
Summary: Kernel optimized for the desktop
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -486,10 +486,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,14 +17,14 @@
# norootforbuild
%define patchversion 3.6.10
%define patchversion 3.7.1
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
Name: kernel-docs
Summary: Kernel Documentation
Version: 3.6.10
Version: 3.7.1
Release: 0
BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel
BuildRequires: kernel-source%variant

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-ec2
Summary: The Amazon EC2 Xen Kernel
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -476,10 +476,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-exynos
Summary: Kernel for Samsung's Exynos SoC
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -473,10 +473,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-highbank
Summary: Kernel for Calxeda Highbank SoC
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -473,10 +473,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-imx51
Summary: Kernel for Freescale's iMX SoC
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -474,10 +474,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-omap2plus
Summary: Kernel for Texas instrument's OMAP SoC
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -474,10 +474,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-pae
Summary: Kernel with PAE Support
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -483,10 +483,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-s390
Summary: The Standard Kernel
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -476,10 +476,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -18,8 +18,8 @@
# norootforbuild
# icecream 0
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -29,7 +29,7 @@
Name: kernel-source
Summary: The Linux Kernel Sources
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: Development/Sources

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
Name: kernel-syms
Summary: Kernel Symbol Versions (modversions)
Version: 3.6.10
Version: 3.7.1
%if %using_buildservice
Release: 0
%else
@ -59,9 +59,6 @@ Requires: kernel-omap2plus-devel = %version-%source_rel
%ifarch %ix86
Requires: kernel-pae-devel = %version-%source_rel
%endif
%ifarch ppc ppc64
Requires: kernel-ppc64-devel = %version-%source_rel
%endif
%ifarch s390
Requires: kernel-s390-devel = %version-%source_rel
%endif
@ -71,6 +68,9 @@ Requires: kernel-tegra-devel = %version-%source_rel
%ifarch armv7hl
Requires: kernel-u8500-devel = %version-%source_rel
%endif
%ifarch armv5tel
Requires: kernel-versatile-devel = %version-%source_rel
%endif
%ifarch %ix86 x86_64
Requires: kernel-xen-devel = %version-%source_rel
%endif
@ -79,7 +79,7 @@ Provides: %name = %version-%source_rel
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 armv7hl ia64 ppc ppc64 s390 s390x x86_64
ExclusiveArch: %ix86 armv5tel armv7hl ia64 ppc ppc64 s390 s390x x86_64
Prefix: /usr/src
%description

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-tegra
Summary: Kernel for Nvidia's Tegra SoC
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -474,10 +474,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-trace
Summary: The Standard Kernel with Tracing Features
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -484,10 +484,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-u8500
Summary: Kernel for ST-Ericsson's Nova SoC
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -474,10 +474,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-vanilla
Summary: The Standard Kernel - without any SUSE patches
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -480,10 +480,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

29338
kernel-versatile.changes Normal file

File diff suppressed because it is too large Load Diff

926
kernel-versatile.spec Normal file
View File

@ -0,0 +1,926 @@
#
# spec file for package kernel-versatile
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros
%define build_flavor versatile
%define build_default (%build_flavor == "default")
%define build_kdump (%build_flavor == "kdump")
%define build_xen (%build_flavor == "xen" || %build_flavor == "ec2")
%define build_vanilla (%build_flavor == "vanilla")
%define build_ps3 (%build_flavor == "ps3")
%define build_src_dir %my_builddir/linux-%srcversion
%define src_install_dir /usr/src/linux-%kernelrelease%variant
%define obj_install_dir %src_install_dir-obj
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
%else
%define install_vdso 0
%endif
Name: kernel-versatile
Summary: Kernel for Versatile SoC
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse
BuildRequires: fdupes
Provides: multiversion(kernel)
Provides: %{name}_%_target_cpu = %version-%release
Provides: %name = %version-%source_rel
%if %split_base
Provides: kernel-base = %version-%source_rel
# Obsolete the -base subpackage from 11.1 and 11.2 development phase
Obsoletes: %name-base <= 2.6.31
%endif
Requires(pre): coreutils awk
# Need a module-init-tools with /usr/lib/module-init-tools/weak-modules2
Requires(post): module-init-tools >= 3.4
# This Requires is wrong, because the post/postun scripts have a
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
# But, there is no way to tell rpm or yast to schedule the installation
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
# packages to install/update. Likewise, this is true for mkinitrd.
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
Requires(post): perl-Bootloader >= 0.4.15
Requires(post): mkinitrd >= 2.7.1
# Install the package providing /etc/SuSE-release early enough, so that
# the grub entry has correct title (bnc#757565)
Requires(post): distribution-release
# Do not install p-b and mkinitrd for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
%ifarch ia64
# arch/ia64/scripts/unwcheck.py
BuildRequires: python
%endif
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
BuildRequires: dwarfextract
%endif
%endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen
%ifarch %ix86
%if %build_flavor != "ec2"
Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae < %version
%endif
%endif
#!BuildIgnore: xen
%endif
Provides: %name-nongpl = %version
Obsoletes: %name-nongpl < %version
%if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio
%endif
# dead network if installed on SLES10, otherwise it will work (mostly)
Conflicts: sysfsutils < 2.0
Conflicts: apparmor-profiles <= 2.1
Conflicts: apparmor-parser < 2.3
# root-lvm only works with newer udevs
Conflicts: udev < 118
Conflicts: lvm2 < 2.02.33
# Interface to hv_kvp_daemon changed
Conflicts: hyper-v < 4
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
Source2: source-post.sh
Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh
Source9: devel-post.sh
Source10: preun.sh
Source11: postun.sh
Source12: pre.sh
Source13: post.sh
Source14: series.conf
Source16: guards
Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
Source39: config-options.changes.txt
Source40: source-timestamp
Source44: find-provides
Source45: split-modules
Source46: modversions
Source48: macros.kernel-source
Source49: kernel-module-subpackage
Source50: kabi.pl
Source51: mkspec
Source52: kernel-source%variant.changes
Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in
Source60: config.sh
Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source66: configtool.pl
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
Source103: patches.drivers.tar.bz2
Source104: patches.fixes.tar.bz2
Source105: patches.rpmify.tar.bz2
Source106: patches.suse.tar.bz2
Source107: patches.xen.tar.bz2
Source108: patches.addon.tar.bz2
Source109: patches.kernel.org.tar.bz2
Source110: patches.apparmor.tar.bz2
Source111: patches.rt.tar.bz2
Source112: patches.trace.tar.bz2
Source113: patches.kabi.tar.bz2
Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: armv5tel
%define kmp_target_cpu %_target_cpu
%ifarch %ix86
# Only i386/default supports i586, mark other flavors' packages as i686
%if ! %build_default
BuildArch: i686
# KMPs are always built as i586, because rpm does not allow to build
# subpackages for different architectures. Therefore, we change the
# /usr/src/linux-obj/<arch> symlink to i586.
%define kmp_target_cpu i586
%endif
%endif
# These files are found in the kernel-source package:
NoSource: 0
NoSource: 100
NoSource: 101
NoSource: 102
NoSource: 103
NoSource: 104
NoSource: 105
NoSource: 106
NoSource: 107
NoSource: 108
NoSource: 109
NoSource: 110
NoSource: 111
NoSource: 112
NoSource: 113
NoSource: 120
NoSource: 121
# The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them.
# sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor
Obsoletes: ipw3945-kmp-%build_flavor
# sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor
# 11.0
Obsoletes: atl2-kmp-%build_flavor
Obsoletes: wlan-ng-kmp-%build_flavor
Obsoletes: et131x-kmp-%build_flavor
Obsoletes: ivtv-kmp-%build_flavor
Obsoletes: at76_usb-kmp-%build_flavor
Obsoletes: pcc-acpi-kmp-%build_flavor
Obsoletes: btusb-kmp-%build_flavor
# sle11-ga
Obsoletes: enic-kmp-%build_flavor
Obsoletes: fnic-kmp-%build_flavor
Obsoletes: brocade-bfa-kmp-%build_flavor
Obsoletes: kvm-kmp-%build_flavor
Obsoletes: perfmon-kmp-%build_flavor
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor
Obsoletes: msi-wmi-kmp-%build_flavor
# sle11
Obsoletes: ocfs2-kmp-%build_flavor
# 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name
# Will modules not listed in supported.conf abort the kernel build (0/1)?
%define supported_modules_check 0
%description
The standard kernel for Versatile SoC, or for emulation with QEMU.
%source_timestamp
%prep
if ! [ -e %_sourcedir/linux-%srcversion.tar.bz2 ]; then
echo "The %name-%version.nosrc.rpm package does not contain the" \
"complete sources. Please install kernel-source-%version.src.rpm."
exit 1
fi
SYMBOLS=
if test -e %_sourcedir/extra-symbols; then
SYMBOLS=$(cat %_sourcedir/extra-symbols)
echo "extra symbol(s):" $SYMBOLS
fi
# Unpack all sources and patches
%setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a 107 -a 108 -a 109 -a 110 -a 111 -a 112 -a 113 -a 120 -a 121
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
cd linux-%srcversion
%_sourcedir/apply-patches \
%if %{build_vanilla}
--vanilla \
%endif
%_sourcedir/series.conf .. $SYMBOLS
cd %kernel_build_dir
# Override the timestamp 'uname -v' reports with the source timestamp and
# the commit hash.
date=$(head -n 1 %_sourcedir/source-timestamp)
commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp)
cat > .kernel-binary.spec.buildenv <<EOF
export KBUILD_BUILD_TIMESTAMP="$(LANG=C date -d "$date") (${commit:0:7})"
export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_OVERRIDE=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
if [ -f %_sourcedir/localversion ] ; then
cat %_sourcedir/localversion > localversion
fi
if test -e ../config.addon/%cpu_arch_flavor; then
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
# the top of the specfile
%_sourcedir/configtool.pl ../config{,.addon}/%cpu_arch_flavor >.config
else
cp ../config/%cpu_arch_flavor .config
fi
%build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \
--disable CONFIG_DEBUG_INFO_REDUCED
%else
--disable CONFIG_DEBUG_INFO
%endif
MAKE_ARGS="$MAKE_ARGS -C %build_src_dir O=$PWD"
if test -e %_sourcedir/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS; then
yes '' | make oldconfig $MAKE_ARGS
else
cp .config .config.orig
make silentoldconfig $MAKE_ARGS < /dev/null
%_sourcedir/check-for-config-changes .config.orig .config
rm .config.orig
fi
make prepare $MAKE_ARGS
make scripts $MAKE_ARGS
krel=$(make -s kernelrelease $MAKE_ARGS)
if [ "$krel" != "%kernelrelease-%build_flavor" ]; then
echo "Kernel release mismatch: $krel != %kernelrelease-%build_flavor" >&2
exit 1
fi
make clean $MAKE_ARGS
rm -f source
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
%build
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
# The %{_smp_mflags} macro is defined to a number, make will spawn that many jobs.
# There are several ways how to define it:
# If you are using the build script:
# build --jobs=N kernel-$flavor.spec
# With plain rpmbuild:
# rpmbuild -ba --define 'jobs N' kernel-$flavor.spec
# To spawn as many jobs as there are cpu cores:
# rpmbuild -ba --define "%_smp_mflags -j 0$(grep -Ec 'cpu[0-9]' /proc/stat)" \
# kernel-$flavor.spec
# You can also set this permanently in ~/.rpmmacros:
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc
MAKE_ARGS="$MAKE_ARGS D=2"
%endif
while true; do
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \
| tee buildlog
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver buildlog; then
echo "Retrying make"
else
exit 1
fi
done
%install
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
export STRIP_KEEP_SYMTAB='*/vmlinux-*'
# /lib/modules/%kernelrelease-%build_flavor/build will be a stale symlink until the
# kernel-devel package is installed. Don't check for stale symlinks
# in the brp-symlink check:
export NO_BRP_STALE_LINK_ERROR=yes
cd %kernel_build_dir
mkdir -p %buildroot/boot
# (Could strip out non-public symbols.)
cp -p System.map %buildroot/boot/System.map-%kernelrelease-%build_flavor
add_vmlinux()
{
local vmlinux=boot/vmlinux-%kernelrelease-%build_flavor compressed=false
if test $1 == "--compressed"; then
compressed=true
fi
cp vmlinux %buildroot/$vmlinux
>%my_builddir/vmlinux.debug.files
%if 0%{?__debug_package:1}
if $compressed; then
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
mkdir -p $(dirname %buildroot/$vmlinux_debug)
/usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug \
-l vmlinux.sourcefiles %buildroot/$vmlinux
# FIXME: create and package build-id symlinks
objcopy --only-keep-debug \
%buildroot/$vmlinux \
%buildroot/$vmlinux_debug || :
objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \
--strip-debug \
%buildroot/$vmlinux || :
mkdir -p %buildroot/usr/src/debug
LANG=C sort -z -u vmlinux.sourcefiles | grep -Ezv "<(built-in|stdin)>" \
| ( cd %_builddir && cpio -pd0m %buildroot/usr/src/debug )
find %buildroot/usr/src/debug -type d -print0 | xargs -0 -r chmod 0755
find %buildroot/usr/src/debug -type f -print0 | xargs -0 -r chmod 0644
echo -e "%%defattr(-, root, root)\\n/$vmlinux_debug" >%my_builddir/vmlinux.debug.files
else
# make vmlinux executable so that find-debuginfo.sh picks it up
# (TODO: fix find-debuginfo.sh instead)
chmod +x %buildroot/$vmlinux
fi
%endif
if $compressed; then
gzip -n -9 %buildroot/$vmlinux
chmod a-x %buildroot/$vmlinux.gz
fi
}
%if %build_kdump
add_vmlinux
image=vmlinux
%else
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz
%endif
%ifarch alpha
add_vmlinux --compressed
cp -p arch/alpha/boot/vmlinux.gz %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz
%endif
%ifarch ppc ppc64
add_vmlinux
image=vmlinux
%endif
%ifarch ia64
add_vmlinux --compressed
mv %buildroot/boot/vmlinux-%kernelrelease-%build_flavor.gz \
%buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz
%endif
%ifarch s390 s390x
add_vmlinux --compressed
cp -p arch/s390/boot/image %buildroot/boot/image-%kernelrelease-%build_flavor
image=image
if test -e arch/s390/boot/kerntypes.o; then
cp -p arch/s390/boot/kerntypes.o %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor
elif test -x "$(which dwarfextract 2>/dev/null)"; then
dwarfextract vmlinux %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor || echo "dwarfextract failed ($?)"
fi
%if %CONFIG_KMSG_IDS == "y"
mkdir -p %buildroot/usr/share/man/man9
find man -name '*.9' -exec install -m 644 -D '{}' %buildroot/usr/share/man/man9/ ';'
%endif
%endif
%ifarch sparc64
add_vmlinux --compressed
image=zImage
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux
%endif
%ifarch %arm
add_vmlinux --compressed
# quickly compile uImage so we have something to boot from
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
image=uImage
cp -p arch/arm/boot/$image %buildroot/boot/uImage-%kernelrelease-%build_flavor
%endif
# end of build_kdump
%endif
for sub in '-base' '' '-extra'; do
case "$sub" in
'-base' | '') base_package=1 ;;
*) base_package=0 ;;
esac
for script in preun postun pre post devel-pre devel-post; do
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
-e "s:@IMAGE@:$image:g" \
-e "s:@FLAVOR""@:%build_flavor:g" \
-e "s:@SUBPACKAGE@:%name$sub:g" \
-e "s:@BASE_PACKAGE@:$base_package:g" \
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
done
done
%if %build_kdump || %build_xen || %build_vanilla || %build_ps3
# keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor
%endif
ln -s $image$suffix %buildroot/boot/$image$suffix
ln -s initrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
for file in %my_builddir/sysctl/{defaults,%cpu_arch/arch-defaults,%cpu_arch_flavor}; do
if [ -f "$file" ]; then
cat "$file"
fi
done | sed '1i # Generated file - do not edit.' >$sysctl_file
if [ ! -s $sysctl_file ]; then
rm $sysctl_file
fi
%if %install_vdso
# Install the unstripped vdso's that are linked in the kernel image
make vdso_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
%endif
# Create a dummy initrd with roughly the size the real one will have.
# That way, YaST will know that this package requires some additional
# space in /boot.
dd if=/dev/zero of=%buildroot/boot/initrd-%kernelrelease-%build_flavor \
bs=1024 seek=2047 count=1
if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s %build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
elif test -x "$(which dwarfextract 2>/dev/null)" -a \
-f %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor; then
find %buildroot -name "*.ko" > kofiles.list
dwarfextract %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor -C kofiles.list || echo "dwarfextract failed ($?)"
fi
%endif
# Also put the resulting file in %rpm_install_dir/%cpu_arch/%build_flavor
# so that kernel-devel + kernel-%build_flavor is sufficient for building
# modules that have modversions as well.
mkdir -p %rpm_install_dir/%cpu_arch/%build_flavor
cp Module.symvers %rpm_install_dir/%cpu_arch/%build_flavor
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
fi
# Some architecture's $(uname -m) output is different from the ARCH
# parameter that needs to be passed to kbuild. Create symlinks from
# $(uname -m) to the ARCH directory.
if [ ! -e %rpm_install_dir/%kmp_target_cpu ]; then
ln -sf %cpu_arch %rpm_install_dir/%kmp_target_cpu
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%kmp_target_cpu
fi
# We were building in %my_builddir/linux-%srcversion, but the sources will
# later be installed in /usr/src/linux-%srcversion-%source_rel. Fix up the
# build symlink.
rm -f %buildroot/lib/modules/%kernelrelease-%build_flavor/{source,build}
ln -s %src_install_dir \
%buildroot/lib/modules/%kernelrelease-%build_flavor/source
ln -s %obj_install_dir/%cpu_arch/%build_flavor \
%buildroot/lib/modules/%kernelrelease-%build_flavor/build
# Abort if there are any undefined symbols
msg="$(/sbin/depmod -F %buildroot/boot/System.map-%kernelrelease-%build_flavor \
-b %buildroot -ae %kernelrelease-%build_flavor 2>&1)"
if [ $? -ne 0 ] || echo "$msg" | grep 'needs unknown symbol'; then
exit 1
fi
%if %split_base
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif
%else
( cd %buildroot
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
) > %my_builddir/base-modules
%endif
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
fi
if [ $res -ne 0 ]; then
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \
! -e %my_builddir/kabi/%cpu_arch/ignore-%build_flavor -a \
! -e %_sourcedir/IGNORE-KABI-BADNESS ]; then
echo "Create a file IGNORE-KABI-BADNESS in the kernel-source" \
"directory to build this kernel even though its badness is" \
"higher than allowed for an official kernel."
exit 1
fi
fi
# arch/powerpc/lib/crtsavres.o is required for building external
# modules on powerpc
if [ -f %kernel_build_dir/arch/powerpc/lib/crtsavres.o ]; then
echo arch/powerpc/lib/crtsavres.o >> %my_builddir/obj-files
fi
tar -cf - -T %my_builddir/obj-files | \
tar -xf - -C %rpm_install_dir/%cpu_arch_flavor
# bnc#507084
find %rpm_install_dir/%cpu_arch_flavor/scripts -type f -perm -111 | \
while read f; do
case "$(file -b "$f")" in
ELF\ *\ executable*)
strip "$f"
esac
done
# Replace the absolute with a relative path
sed -i "s,%build_src_dir,../../../linux-%kernelrelease%variant,g" \
%rpm_install_dir/%cpu_arch_flavor/Makefile
fi
add_dirs_to_filelist() {
sed -rn '
# print file name
p
# remove filelist macros
s:%%[a-z]+(\([^)]+\))? ?::g
# add %%dir prefix
s:^:%%dir :
# print all parents
:a
# skip directories owned by other packages
s:^%%dir (/boot|/etc|/lib/(modules|firmware)|/usr/src)/[^/]+$::
s:/[^/]+$::p
ta
' "$@" | sort -u
}
# Collect the file lists.
shopt -s nullglob
> %my_builddir/kernel-devel.files
for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files
done
{ cd %buildroot
find boot \
\( -type l -o -name 'initrd-*' \) -printf '%%%%ghost /%%p\n' -o \
-type f -name 'vmlinux-*' -printf '%%%%attr(0644, root, root) /%%p\n' -o \
-type f -printf '/%%p\n'
# Add the auto-generated (by mkdumprd) kdump initrd to %ghost so that
# the file gets removed when uninstalling the kernel.
echo '%%ghost /boot/initrd-%kernelrelease-%build_flavor-kdump'
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-%build_flavor-kdump
if [ %CONFIG_MODULES = y ]; then
find lib/modules/%kernelrelease-%build_flavor \
-type d -o \
\( -path '*/modules.*' ! -path '*/modules.order' \
! -path '*/modules.builtin' \) -printf '%%%%ghost /%%p\n' \
-o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \
-printf '/%%p\n'
if [ -e .%_docdir/%name ]; then
echo "%%doc %_docdir/%name"
fi
} | sort -u >%my_builddir/tmp
cat %my_builddir/tmp %my_builddir/kernel-devel.files | sort | uniq -u | \
add_dirs_to_filelist >%my_builddir/kernel-base.files
rm %my_builddir/tmp
%if %split_base
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
> %my_builddir/kernel-main.files
%endif
%if %split_extra
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
%endif
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
# much, but it keeps rpmlint from breaking the package build. Note that we skip
# /usr/src/linux-obj intentionally, to not accidentally break timestamps there
%fdupes $RPM_BUILD_ROOT/lib
%preun -f preun.sh
%postun -f postun.sh
%pre -f pre.sh
%post -f post.sh
%if %split_base
%files -f kernel-main.files
%defattr(-, root, root)
%else
%files -f kernel-base.files
%defattr(-, root, root)
%endif
%package base
Summary: Kernel for Versatile SoC - base modules
Group: System/Kernel
Url: http://www.kernel.org/
Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk
Requires(post): module-init-tools
Requires(post): perl-Bootloader
Requires(post): mkinitrd
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
%description base
The standard kernel for Versatile SoC, or for emulation with QEMU.
This package contains only the base modules, required in all installs.
%source_timestamp
%preun base -f preun-base.sh
%postun base -f postun-base.sh
%pre base -f pre-base.sh
%post base -f post-base.sh
%if %split_base
%files base -f kernel-base.files
%defattr(-, root, root)
%endif
%package extra
Summary: Kernel for Versatile SoC - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
Provides: multiversion(kernel)
Provides: %name-extra_%_target_cpu = %version-%release
Provides: kernel-extra = %version-%source_rel
Requires: %{name}_%_target_cpu = %version-%release
Requires(pre): coreutils awk
Requires(post): module-init-tools
Requires(post): perl-Bootloader
Requires(post): mkinitrd
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
%description extra
The standard kernel for Versatile SoC, or for emulation with QEMU.
This package contains additional modules not supported by Novell.
%source_timestamp
%preun extra -f preun-extra.sh
%postun extra -f postun-extra.sh
%pre extra -f pre-extra.sh
%post extra -f post-extra.sh
%if %split_extra
%files extra -f kernel-extra.files
%defattr(-, root, root)
%endif
%if %CONFIG_KMSG_IDS == "y"
%package man
Summary: The collection of man pages generated by the kmsg script.
Group: System/Kernel
%description man
This package includes the man pages that have been generated from the
kmsg message documentation comments.
%source_timestamp
%files man
%defattr(-,root,root)
/usr/share/man/man9/*
%endif
%package devel
Summary: Development files necessary for building kernel modules
Group: Development/Sources
Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel
Requires: kernel-devel%variant = %version-%source_rel
Supplements: packageand(%name:kernel-devel%variant)
PreReq: coreutils
%description devel
This package contains files necessary for building kernel modules (and
kernel module packages) against the %build_flavor flavor of the kernel.
%source_timestamp
%if %CONFIG_MODULES == "y"
%pre devel -f devel-pre.sh
%post devel -f devel-post.sh
%files devel -f kernel-devel.files
%defattr(-,root,root)
%dir %obj_install_dir
%dir %obj_install_dir/%cpu_arch
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
%obj_install_dir/%cpu_arch_flavor
%if %kmp_target_cpu != %cpu_arch
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
%endif
%endif
%package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel
Group: Development/Debug
%description devel-debuginfo
Debug information for package %name-devel
%source_timestamp
%files devel-debuginfo -f vmlinux.debug.files
%changelog

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
# norootforbuild
%define srcversion 3.6
%define patchversion 3.6.10
%define srcversion 3.7
%define patchversion 3.7.1
%define variant %{nil}
%define vanilla_only 0
@ -57,7 +57,7 @@
Name: kernel-xen
Summary: The Xen Kernel
Version: 3.6.10
Version: 3.7.1
Release: 0
License: GPL-2.0
Group: System/Kernel
@ -476,10 +476,9 @@ add_vmlinux()
# architecture specifics
%ifarch %ix86 x86_64
add_vmlinux --compressed
%if %build_xen
image=vmlinuz
%else
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%endif
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinuz

3
linux-3.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc08d87a579fe2918362e6666e503a95a76296419195cb499aa9dd4dbe171a9e
size 83671392

View File

@ -162,3 +162,7 @@ Kernel for Calxeda Highbank SoC
The standard kernel for Calxeda's Highbank SoC, as found in the HP Moonshot project.
=== kernel-versatile ===
Kernel for Versatile SoC
The standard kernel for Versatile SoC, or for emulation with QEMU.

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc3c3137f21d83f7b9cd471922ebc92aa26f1ab0355a4262d146dad3f26138b3
size 6615
oid sha256:5a3a3ebdf19b353974fdd67cc434ba7df7e75d47b8f2530035877c3fb67e632b
size 6638

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:533d1a9cb6e2223e2ed3aa17ae3681a0cbd530a54a4f091cbc80bd5ac912854d
size 83742
oid sha256:bfceb66e488ba73bb836005dbddc634c86cf6106b53a9d729c5cc9a04dbf8895
size 84743

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b76e2654cfd0997a4b5555006ead171efa15fdf2ba1cf4caf34e3835432c8d58
size 8889
oid sha256:bb5294d2af909da029ea2c6e22d2c0843ce446ce32049d9c9726f6d7ef3b41d4
size 7192

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:633d7857fdb9b857a2a7e52bdde1b0f7df1c5e68bb77d7d0302c12ae02341d22
size 24476
oid sha256:e8d79e5e975b4e059fd325c56b9c582903254deaccbf363405ad44742cf55af4
size 20752

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f8493614e9c47b1926f7fdce6a2edf3fb5dac7e767bb55848ea87ef63be607d
size 242267
oid sha256:ae891b8e22475d4fda8f6fe332095c8e582b060e88f728f917e016615c20903d
size 11097

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99785b499d19ddb64e37eb73aed49153fd79e4e3269cd6dc232f79a28f1feac2
size 5496
oid sha256:0f00a7653c6e60730ba9fa888494e66969a5ce5eb5167897872c837dea215090
size 5168

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59af3d6e130722ecf7de532e81beeda6019d7ed12704d11eeda689441fbbb699
size 166001
oid sha256:ac67fb3ad89b2d951d79ce839f265700987fb77e7ec692b800e3a1127c34f05f
size 166020

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31a0d9030d1f170515ef608fd66dd0cdcc4397a02bb0794939513094a4c6aeda
size 2094065
oid sha256:51bc8bfb1eeefdce09248e6bf3d997663ba885cd956e8e85374db2bf1a0252d6
size 2112652

View File

@ -27,16 +27,7 @@
# DO NOT MODIFY THEM!
# Send separate patches upstream if you find a problem...
########################################################
patches.kernel.org/patch-3.6.1
patches.kernel.org/patch-3.6.1-2
patches.kernel.org/patch-3.6.2-3
patches.kernel.org/patch-3.6.3-4
patches.kernel.org/patch-3.6.4-5
patches.kernel.org/patch-3.6.5-6
patches.kernel.org/patch-3.6.6-7
patches.kernel.org/patch-3.6.7-8
patches.kernel.org/patch-3.6.8-9
patches.kernel.org/patch-3.6.9-10
patches.kernel.org/patch-3.7.1
########################################################
# Build fixes that apply to the vanilla kernel too.
@ -47,7 +38,6 @@
patches.rpmify/nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo
patches.rpmify/pti-depends-on-x86-pci
patches.rpmify/geode-depends-on-x86_32
patches.rpmify/ubifs-remove-DATE-TIME.patch
patches.rpmify/chipidea-clean-up-dependencies
########################################################
@ -163,6 +153,8 @@
########################################################
patches.arch/cubox-configuration.patch
patches.arch/arm-fix-build-ux500-module.diff
patches.arch/arm-exynos-nosparse.patch
patches.arch/arm-origen-regulator.patch
########################################################
# S/390
@ -180,7 +172,6 @@
patches.suse/readahead-request-tunables.patch
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops
patches.fixes/mm-Fix-assertion-mapping-nrpages-0-in-end_writeback.patch
patches.fixes/cgroup-mark-subsystems-with-broken-hierarchy-support.patch
########################################################
# IPC patches
@ -237,39 +228,38 @@
########################################################
# Suse specific stuff
########################################################
patches.suse/msft-hv-0368-hyperv-Add-comments-for-the-extended-buffer-after-RN.patch
patches.suse/msft-hv-0369-Drivers-hv-Cleanup-the-guest-ID-computation.patch
patches.suse/msft-hv-0370-Drivers-hv-vmbus-Use-the-standard-format-string-to-f.patch
patches.suse/msft-hv-0371-Drivers-hv-Add-KVP-definitions-for-IP-address-inject.patch
patches.suse/msft-hv-0372-Drivers-hv-kvp-Cleanup-error-handling-in-KVP.patch
patches.suse/msft-hv-0373-Drivers-hv-Explicitly-size-elements-of-protocol-stru.patch
patches.suse/msft-hv-0374-Drivers-hv-kvp-Support-the-new-IP-injection-messages.patch
patches.suse/msft-hv-0375-Tools-hv-Prepare-to-expand-kvp_get_ip_address-functi.patch
patches.suse/msft-hv-0376-Tools-hv-Further-refactor-kvp_get_ip_address.patch
patches.suse/msft-hv-0377-Tools-hv-Gather-address-family-information.patch
patches.suse/msft-hv-0378-Tools-hv-Gather-subnet-information.patch
patches.suse/msft-hv-0379-Tools-hv-Represent-the-ipv6-mask-using-CIDR-notation.patch
patches.suse/msft-hv-0380-Tools-hv-Gather-ipv-4-6-gateway-information.patch
patches.suse/msft-hv-0381-hv-fail-the-probing-immediately-when-we-are-not-in-h.patch
patches.suse/msft-hv-0382-hv-vmbus_drv-detect-hyperv-through-x86_hyper.patch
patches.suse/msft-hv-0383-Tools-hv-Get-rid-of-some-unused-variables.patch
patches.suse/msft-hv-0384-Tools-hv-Correctly-type-string-variables.patch
patches.suse/msft-hv-0385-Tools-hv-Add-an-example-script-to-retrieve-DNS-entri.patch
patches.suse/msft-hv-0386-Tools-hv-Gather-DNS-information.patch
patches.suse/msft-hv-0387-Drivers-hv-kvp-Copy-the-address-family-information.patch
patches.suse/msft-hv-0388-Tools-hv-Add-an-example-script-to-retrieve-dhcp-stat.patch
patches.suse/msft-hv-0389-Tools-hv-Gather-DHCP-information.patch
patches.suse/msft-hv-0390-Tools-hv-Add-an-example-script-to-configure-an-inter.patch
patches.suse/msft-hv-0391-Tools-hv-Implement-the-KVP-verb-KVP_OP_SET_IP_INFO.patch
patches.suse/msft-hv-0392-Tools-hv-Rename-the-function-kvp_get_ip_address.patch
patches.suse/msft-hv-0393-Tools-hv-Implement-the-KVP-verb-KVP_OP_GET_IP_INFO.patch
patches.suse/msft-hv-0397-tools-hv-Parse-etc-os-release.patch
patches.suse/msft-hv-0398-hyperv-Fix-the-max_xfer_size-in-RNDIS-initialization.patch
patches.suse/msft-hv-0399-hyperv-Fix-the-missing-return-value-in-rndis_filter_.patch
patches.suse/msft-hv-0400-hyperv-Fix-page-buffer-handling-in-rndis_filter_send.patch
patches.suse/msft-hv-0401-hyperv-Remove-extra-allocated-space-for-recv_pkt_lis.patch
patches.suse/msft-hv-0402-hyperv-Report-actual-status-in-receive-completion-pa.patch
patches.suse/msft-hv-0403-hyperv-Add-buffer-for-extended-info-after-the-RNDIS-.patch
patches.suse/suse-hv-fate314663-0001-mm-Export-a-function-to-get-vm-committed-memory.patch
patches.suse/suse-hv-fate314663-0002-Drivers-hv-Add-Hyper-V-balloon-driver.patch
patches.suse/suse-hv-fate314663-0003-Drivers-hv-balloon-Fix-a-bug-in-the-definition-of-st.patch
patches.suse/suse-hv-fate314663-0004-Drivers-hv-balloon-Fix-a-memory-leak.patch
patches.suse/suse-hv-fate314665-0001-Drivers-hv-Implement-routines-for-read-side-signalin.patch
patches.suse/suse-hv-fate314665-0002-Drivers-hv-Add-state-to-manage-batched-reading.patch
patches.suse/suse-hv-fate314665-0003-Drivers-hv-Turn-off-batched-reading-for-util-drivers.patch
patches.suse/suse-hv-fate314665-0004-Drivers-hv-Optimize-signaling-in-the-read-path.patch
patches.suse/suse-hv-fate314665-0005-Drivers-hv-Optimize-the-signaling-on-the-write-path.patch
patches.suse/suse-hv-fate314665-0006-Drivers-hv-Get-rid-of-hv_get_ringbuffer_interrupt_ma.patch
patches.suse/suse-hv-fate314665-0007-Drivers-hv-Support-handling-multiple-VMBUS-versions.patch
patches.suse/suse-hv-fate314665-0008-Drivers-hv-Update-the-ring-buffer-structure-to-match.patch
patches.suse/suse-hv-fate314665-0009-Drivers-hv-Extend-modify-vmbus_channel_offer_channel.patch
patches.suse/suse-hv-fate314665-0010-Drivers-hv-Save-and-export-negotiated-vmbus-version.patch
patches.suse/suse-hv-fate314665-0011-Drivers-hv-Change-the-signature-for-hv_signal_event.patch
patches.suse/suse-hv-fate314665-0012-Drivers-hv-Change-the-signature-of-vmbus_set_event.patch
patches.suse/suse-hv-fate314665-0013-Drivers-hv-Move-vmbus-version-definitions-to-hyperv..patch
patches.suse/suse-hv-fate314665-0014-Drivers-hv-Manage-signaling-state-on-a-per-connectio.patch
patches.suse/suse-hv-fate314665-0015-Drivers-hv-Cleanup-vmbus_set_event-to-support-win7-a.patch
patches.suse/suse-hv-fate314665-0016-Drivers-hv-Setup-a-mapping-for-Hyper-V-s-notion-cpu-.patch
patches.suse/suse-hv-fate314665-0017-Drivers-hv-Add-state-to-manage-incoming-channel-inte.patch
patches.suse/suse-hv-fate314665-0018-Drivers-hv-Modify-the-interrupt-handling-code-to-sup.patch
patches.suse/suse-hv-fate314665-0019-Drivers-hv-Add-code-to-distribute-channel-interrupt-.patch
patches.suse/suse-hv-fate314665-0020-Drivers-hv-Get-rid-of-the-unused-global-signaling-st.patch
patches.suse/suse-hv-fate314665-0021-Drivers-hv-Get-rid-of-unnecessary-request-for-offers.patch
patches.suse/suse-hv-fate314665-0022-Drivers-hv-Manage-event-tasklets-on-per-cpu-basis.patch
patches.suse/suse-hv-fate314665-0023-Drivers-hv-Handle-vmbus-interrupts-concurrently-on-a.patch
patches.suse/suse-hv-fate314665-0024-Drivers-hv-Add-a-check-to-deal-with-spurious-interru.patch
patches.suse/suse-hv-fate314665-0025-Drivers-hv-Enable-protocol-negotiation-with-win8-hos.patch
patches.suse/suse-hv-fate314665-0026-Drivers-hv-Implement-flow-management-on-the-send-sid.patch
patches.suse/suse-hv-fate314665-0027-Drivers-hv-Capture-the-host-build-information.patch
patches.suse/suse-hv-fate314665-0028-Drivers-hv-Cleanup-and-consolidate-reporting-of-buil.patch
patches.suse/suse-hv-identify-virtual-pc-in-ata_piix.patch
########################################################
@ -387,7 +377,6 @@
# Device drivers
#
########################################################
patches.drivers/spi-orion-convert-to-new-infrastructure.patch
########################################################
# Storage
@ -401,7 +390,6 @@
patches.fixes/scsi-dh-queuedata-accessors
patches.fixes/scsi-check-host-lookup-failure
patches.drivers/megaraid-mbox-fix-SG_IO
# Remaining SCSI patches (garloff)
@ -433,7 +421,6 @@
# Wireless Networking
########################################################
patches.suse/b43-missing-firmware-info.patch
patches.fixes/brcmsmac-firmware
########################################################
# ISDN
@ -659,9 +646,14 @@
patches.xen/xen3-patch-3.4
patches.xen/xen3-patch-3.5
patches.xen/xen3-patch-3.6
patches.xen/xen3-patch-3.7-rc3
patches.xen/xen3-patch-3.7-rc4-rc5
patches.xen/xen3-patch-3.7-rc6-rc7
# ports of other patches
patches.xen/xen3-acpi_override_2_2.patch
patches.xen/xen3-003-acpi_initrd_override_tables.patch
patches.xen/xen3-007-acpi_initrd_override_tables.patch
patches.xen/xen3-010-acpi_initrd_override_tables.patch
patches.xen/xen3-stack-unwind
patches.xen/xen3-x86_64-unwind-annotations
@ -680,15 +672,18 @@
patches.xen/xen-sections
patches.xen/xen-unpriv-build
patches.xen/xen-cpufreq-report
patches.xen/xen-multi-page-ring
patches.xen/xen-balloon-max-target
patches.xen/xen-blkif-protocol-fallback-hack
patches.xen/xen-blkback-multi-page-ring
patches.xen/xen-blkback-cdrom
patches.xen/xen-blktap-modular
patches.xen/xen-blktap-write-barriers
patches.xen/xen-blktap2-configurable-nr-devs
patches.xen/xen-blkif-protocol-fallback-hack
patches.xen/xen-blkfront-multi-page-ring
patches.xen/xen-blkif-op-packet
patches.xen/xen-blkfront-cdrom
patches.xen/xen-blkfront-hvm-no-cdrom
patches.xen/xen-blktap-modular
patches.xen/xen-blktap-write-barriers
patches.xen/xen-blktap2-configurable-nr-devs
patches.xen/xen-netback-nr-irqs
patches.xen/xen-netback-notify-multi
patches.xen/xen-netback-generalize
@ -705,6 +700,7 @@
patches.xen/xen-x86-per-cpu-vcpu-info
patches.xen/xen-x86-pcpu
patches.xen/xen-x86-EFI
patches.xen/xen-x86-bzImage
patches.xen/xen-x86_64-pgd-pin
patches.xen/xen-x86_64-pgd-alloc-order
patches.xen/xen-x86_64-dump-user-pgt

View File

@ -1,3 +1,3 @@
2012-12-10 23:29:57 +0100
GIT Revision: fd6ec908fa1498d2eaeec2a00f6a3498354f5bb1
2012-12-17 21:23:18 +0100
GIT Revision: 5e9fe704adbb0aeb84597d71d87df618e69f33e6
GIT Branch: stable