Accepting request 98069 from Kernel:HEAD

Let's have a building kernel again in factory.

OBS-URL: https://build.opensuse.org/request/show/98069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-source?expand=0&rev=160
This commit is contained in:
Stephan Kulow 2011-12-25 17:00:09 +00:00 committed by Git OBS Bridge
commit 3b3e4d0724
54 changed files with 83974 additions and 707 deletions

View File

@ -25,7 +25,7 @@
if [ "$1" = "--list" ]; then if [ "$1" = "--list" ]; then
# List all known architectures # List all known architectures
echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc arm echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc armv7l
exit 0 exit 0
fi fi
@ -39,9 +39,6 @@ case "$ARCH" in
i?86 | pentium3 | pentium4 | athlon | geode) i?86 | pentium3 | pentium4 | athlon | geode)
echo i386 echo i386
;; ;;
arm*)
echo arm
;;
*) *)
echo "$ARCH" echo "$ARCH"
;; ;;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Dec 13 13:32:40 UTC 2011 - agraf@suse.com
- CONFIG_DEBUG_STACKOVERFLOW=n on PPC
PPC was diverging from other archs in this option, needlessly
slowing down the system and adding needless kernel messages.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 21 11:38:10 UTC 2011 - mmarek@novell.com Tue Jun 21 11:38:10 UTC 2011 - mmarek@novell.com

View File

@ -40,6 +40,12 @@
# maybe the kernels above were patched to death? # maybe the kernels above were patched to death?
+ppc ppc/vanilla +ppc ppc/vanilla
# ARM architectures
+armv7l armv7l/default
+armv7l armv7l/imx51
+armv7l armv7l/omap2plus
+armv7l armv7l/tegra
# SLES # SLES
# identical to ppc64 flavor, all KMP packages need a kernel-default # identical to ppc64 flavor, all KMP packages need a kernel-default
# Up to now, the openSuSE 11.1 ppc media can not have a # Up to now, the openSuSE 11.1 ppc media can not have a

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:bb2cecf5e53290976a7c8ed25f4dcbca409fb3b2d17ac03fac55f64c53fcfc82 oid sha256:dbf467a0216af626a0a5abc13f625edbbb07eb7cff50d5ed593213871993d888
size 229573 size 274008

View File

@ -20,6 +20,7 @@
%define srcversion @SRCVERSION@ %define srcversion @SRCVERSION@
%define patchversion @PATCHVERSION@ %define patchversion @PATCHVERSION@
%define variant @VARIANT@%{nil} %define variant @VARIANT@%{nil}
%define vanilla_only @VANILLA_ONLY@
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -57,7 +58,7 @@ Name: kernel-@FLAVOR@
Summary: @SUMMARY@ Summary: @SUMMARY@
Version: @RPMVERSION@ Version: @RPMVERSION@
Release: @RELEASE@ Release: @RELEASE@
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -137,30 +141,49 @@ ExclusiveArch: @ARCHS@
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -294,11 +317,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -408,6 +445,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -595,8 +639,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -656,19 +699,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: @SUMMARY@ - base modules Summary: @SUMMARY@ - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -700,7 +744,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: @SUMMARY@ - Unsupported kernel modules Summary: @SUMMARY@ - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -741,7 +784,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -757,7 +799,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -793,7 +834,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-debug Name: kernel-debug
Summary: A Debug Version of the Kernel Summary: A Debug Version of the Kernel
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -131,7 +135,7 @@ Provides: kernel-kdump
Obsoletes: kernel-kdump Obsoletes: kernel-kdump
%endif %endif
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -173,6 +177,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -214,30 +219,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -372,11 +396,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -486,6 +524,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -673,8 +718,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -734,19 +778,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: A Debug Version of the Kernel - base modules Summary: A Debug Version of the Kernel - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -779,7 +824,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: A Debug Version of the Kernel - Unsupported kernel modules Summary: A Debug Version of the Kernel - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -821,7 +865,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -837,7 +880,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -873,7 +915,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-default Name: kernel-default
Summary: The Standard Kernel Summary: The Standard Kernel
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -147,7 +151,7 @@ Provides: smp kernel-smp
Obsoletes: smp kernel-smp Obsoletes: smp kernel-smp
%endif %endif
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -189,6 +193,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -206,7 +211,7 @@ Source113: patches.kabi.tar.bz2
Source120: kabi.tar.bz2 Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2 Source121: sysctl.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 ppc ppc64 s390x x86_64 ExclusiveArch: armv7l %ix86 ia64 ppc ppc64 s390x x86_64
# These files are found in the kernel-source package: # These files are found in the kernel-source package:
NoSource: 0 NoSource: 0
@ -230,30 +235,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -387,11 +411,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -501,6 +539,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -688,8 +733,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -749,19 +793,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: The Standard Kernel - base modules Summary: The Standard Kernel - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -793,7 +838,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: The Standard Kernel - Unsupported kernel modules Summary: The Standard Kernel - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -834,7 +878,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -850,7 +893,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -886,7 +928,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-desktop Name: kernel-desktop
Summary: Kernel optimized for the desktop Summary: Kernel optimized for the desktop
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -128,7 +132,7 @@ Conflicts: libc.so.6()(64bit)
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -170,6 +174,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -211,30 +216,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -381,11 +405,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -495,6 +533,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -682,8 +727,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -743,19 +787,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: Kernel optimized for the desktop - base modules Summary: Kernel optimized for the desktop - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -800,7 +845,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: Kernel optimized for the desktop - Unsupported kernel modules Summary: Kernel optimized for the desktop - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -854,7 +898,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -870,7 +913,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -906,7 +948,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,19 +17,19 @@
# norootforbuild # norootforbuild
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
Name: kernel-docs Name: kernel-docs
Summary: Kernel Documentation Summary: Kernel Documentation
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel
BuildRequires: kernel-source%variant BuildRequires: kernel-source%variant
Url: http://www.kernel.org/ Url: http://www.kernel.org/
License: GPL v2 or later License: GPL-2.0
Group: Documentation/Man Group: Documentation/Man
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
BuildArch: noarch BuildArch: noarch

View File

@ -29,7 +29,7 @@ Release: @RELEASE@
BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel
BuildRequires: kernel-source%variant BuildRequires: kernel-source%variant
Url: http://www.kernel.org/ Url: http://www.kernel.org/
License: GPL v2 or later License: GPL-2.0
Group: Documentation/Man Group: Documentation/Man
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
BuildArch: noarch BuildArch: noarch

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-ec2 Name: kernel-ec2
Summary: The Amazon EC2 Xen Kernel Summary: The Amazon EC2 Xen Kernel
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -128,7 +132,7 @@ Conflicts: libc.so.6()(64bit)
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -170,6 +174,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -211,30 +216,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -371,11 +395,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -485,6 +523,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -672,8 +717,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -733,19 +777,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: The Amazon EC2 Xen Kernel - base modules Summary: The Amazon EC2 Xen Kernel - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -780,7 +825,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: The Amazon EC2 Xen Kernel - Unsupported kernel modules Summary: The Amazon EC2 Xen Kernel - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -824,7 +868,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -840,7 +883,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -876,7 +918,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

24861
kernel-imx51.changes Normal file

File diff suppressed because it is too large Load Diff

924
kernel-imx51.spec Normal file
View File

@ -0,0 +1,924 @@
#
# spec file for package kernel-imx51
#
# Copyright (c) 2011 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.2-rc6
%define patchversion 3.2.0-rc6
%define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros
%define build_flavor imx51
%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-imx51
Summary: Kernel for Freescale's iMX SoC
Version: 3.2.rc6
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
# Do not install p-b and mkinitrd for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader mkinitrd
# 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 fillup 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
%if ! %build_vanilla
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
%endif
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/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: armv7l
# 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 < %version
Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0
Obsoletes: atl2-kmp-%build_flavor < %version
Provides: atl2-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor < %version
Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor < %version
Provides: btusb-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga
Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: enic-kmp-%build_flavor < %version
Provides: enic-kmp-%build_flavor = %version
Obsoletes: fnic-kmp-%build_flavor < %version
Provides: fnic-kmp-%build_flavor = %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11
Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: 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 Freescale's i.MX51 SoC, as found in
devices like the Genesi EfikaMX family.
%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
%if %build_xen
image=vmlinuz
%else
image=bzImage
%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/%_target_cpu ]; then
ln -sf %cpu_arch %rpm_install_dir/%_target_cpu
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%_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
if [ ! -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
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-kdump'
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-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 Freescale's iMX 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 Freescale's i.MX51 SoC, as found in
devices like the Genesi EfikaMX family.
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 Freescale's iMX 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 Freescale's i.MX51 SoC, as found in
devices like the Genesi EfikaMX family.
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)
%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 %_target_cpu != %cpu_arch
%obj_install_dir/%_target_cpu
/usr/src/linux-obj/%_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

24861
kernel-omap2plus.changes Normal file

File diff suppressed because it is too large Load Diff

924
kernel-omap2plus.spec Normal file
View File

@ -0,0 +1,924 @@
#
# spec file for package kernel-omap2plus
#
# Copyright (c) 2011 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.2-rc6
%define patchversion 3.2.0-rc6
%define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros
%define build_flavor omap2plus
%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-omap2plus
Summary: Kernel for Texas instrument's OMAP SoC
Version: 3.2.rc6
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
# Do not install p-b and mkinitrd for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader mkinitrd
# 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 fillup 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
%if ! %build_vanilla
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
%endif
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/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: armv7l
# 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 < %version
Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0
Obsoletes: atl2-kmp-%build_flavor < %version
Provides: atl2-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor < %version
Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor < %version
Provides: btusb-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga
Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: enic-kmp-%build_flavor < %version
Provides: enic-kmp-%build_flavor = %version
Obsoletes: fnic-kmp-%build_flavor < %version
Provides: fnic-kmp-%build_flavor = %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11
Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: 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 Texas instrument's OMAP SoC, as
found in devices like the PandaBoard and BeagleBoard.
%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
%if %build_xen
image=vmlinuz
%else
image=bzImage
%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/%_target_cpu ]; then
ln -sf %cpu_arch %rpm_install_dir/%_target_cpu
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%_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
if [ ! -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
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-kdump'
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-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 Texas instrument's OMAP 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 Texas instrument's OMAP SoC, as
found in devices like the PandaBoard and BeagleBoard.
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 Texas instrument's OMAP 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 Texas instrument's OMAP SoC, as
found in devices like the PandaBoard and BeagleBoard.
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)
%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 %_target_cpu != %cpu_arch
%obj_install_dir/%_target_cpu
/usr/src/linux-obj/%_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

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-pae Name: kernel-pae
Summary: Kernel with PAE Support Summary: Kernel with PAE Support
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -131,7 +135,7 @@ Provides: kernel-bigsmp
Obsoletes: kernel-bigsmp Obsoletes: kernel-bigsmp
%endif %endif
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -173,6 +177,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -214,30 +219,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -378,11 +402,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -492,6 +530,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -679,8 +724,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -740,19 +784,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: Kernel with PAE Support - base modules Summary: Kernel with PAE Support - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -791,7 +836,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: Kernel with PAE Support - Unsupported kernel modules Summary: Kernel with PAE Support - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -839,7 +883,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -855,7 +898,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -891,7 +933,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-ppc64 Name: kernel-ppc64
Summary: Kernel for ppc64 Systems Summary: Kernel for ppc64 Systems
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -135,7 +139,7 @@ Provides: kernel-kdump
Obsoletes: kernel-kdump Obsoletes: kernel-kdump
%endif %endif
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -177,6 +181,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -218,30 +223,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -382,11 +406,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -496,6 +534,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -683,8 +728,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -744,19 +788,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: Kernel for ppc64 Systems - base modules Summary: Kernel for ppc64 Systems - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -795,7 +840,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: Kernel for ppc64 Systems - Unsupported kernel modules Summary: Kernel for ppc64 Systems - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -843,7 +887,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -859,7 +902,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -895,7 +937,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-s390 Name: kernel-s390
Summary: The Standard Kernel Summary: The Standard Kernel
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -131,7 +135,7 @@ Provides: kernel-32bit
Obsoletes: kernel-32bit Obsoletes: kernel-32bit
%endif %endif
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -173,6 +177,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -214,30 +219,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -371,11 +395,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -485,6 +523,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -672,8 +717,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -733,19 +777,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: The Standard Kernel - base modules Summary: The Standard Kernel - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -777,7 +822,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: The Standard Kernel - Unsupported kernel modules Summary: The Standard Kernel - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -818,7 +862,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -834,7 +877,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -870,7 +912,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -1,2 +1,10 @@
# These zero-length files are correct: # These zero-length files are correct:
addFilter("zero-length /usr/src/linux-2\.6\..*obj/.*include/config.*h") addFilter("zero-length /usr/src/linux-3\..*obj/.*include/config.*h")
# vdsos are special
addFilter("shared-lib-without-dependency-information /lib/modules/3\..*/vdso/.*")
addFilter("missing-PT_GNU_STACK-section /lib/modules/3\..*/vdso/")
# This is a stale symlink until the kernel-source package is installed:
addFilter("dangling-symlink /lib/modules/3\..*/source")
# These hidden files are fine:
addFilter ("hidden-file-or-dir /usr/src/linux-3\..*-obj/.*/.config")
addFilter ("hidden-file-or-dir /usr/src/linux-3\..*-obj/.*/.kernel-binary.spec.buildenv")

View File

@ -18,8 +18,8 @@
# norootforbuild # norootforbuild
# icecream 0 # icecream 0
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -29,9 +29,9 @@
Name: kernel-source Name: kernel-source
Summary: The Linux Kernel Sources Summary: The Linux Kernel Sources
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: Development/Sources Group: Development/Sources
Url: http://www.kernel.org/ Url: http://www.kernel.org/
AutoReqProv: off AutoReqProv: off
@ -41,7 +41,7 @@ Requires(post): coreutils sed
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: linux Provides: linux
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -83,6 +83,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -105,7 +106,7 @@ Prefix: /usr/src
# Source is only complete with devel files. # Source is only complete with devel files.
Requires: kernel-devel = %version-%release Requires: kernel-devel = %version-%release
%(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}) %(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})
%define symbols %(set -- $([ -e %_sourcedir/extra-symbols ] && cat %_sourcedir/extra-symbols) ; echo $*) %define symbols %(set -- $([ -e %_sourcedir/extra-symbols ] && cat %_sourcedir/extra-symbols) ; echo $*)
%define variant_symbols %(case %name in (*-rt) echo "RT" ;; esac) %define variant_symbols %(case %name in (*-rt) echo "RT" ;; esac)
@ -119,7 +120,6 @@ Linux kernel sources with many fixes and improvements.
%source_timestamp %source_timestamp
%package -n kernel-devel%variant %package -n kernel-devel%variant
Summary: Development files needed for building kernel modules Summary: Development files needed for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
AutoReqProv: off AutoReqProv: off
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -133,7 +133,6 @@ external kernel modules.
%source_timestamp %source_timestamp
%package vanilla %package vanilla
Summary: Vanilla Linux kernel sources with minor build fixes. Summary: Vanilla Linux kernel sources with minor build fixes.
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
AutoReqProv: off AutoReqProv: off
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -233,7 +232,6 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
%files -f nondevel.files %files -f nondevel.files
%defattr(-, root, root) %defattr(-, root, root)
%ghost /usr/src/linux%variant
/usr/src/linux%variant-%kernelrelease/README.SUSE /usr/src/linux%variant-%kernelrelease/README.SUSE
%files -n kernel-devel%variant -f devel.files %files -n kernel-devel%variant -f devel.files

View File

@ -31,7 +31,7 @@ Name: kernel-source@VARIANT@
Summary: The Linux Kernel Sources Summary: The Linux Kernel Sources
Version: @RPMVERSION@ Version: @RPMVERSION@
Release: @RELEASE@ Release: @RELEASE@
License: GPL v2 only License: GPL-2.0
Group: Development/Sources Group: Development/Sources
Url: http://www.kernel.org/ Url: http://www.kernel.org/
AutoReqProv: off AutoReqProv: off
@ -41,7 +41,7 @@ Requires(post): coreutils sed
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: linux Provides: linux
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: @TARBALL_URL@linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -83,6 +83,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -119,7 +120,6 @@ Linux kernel sources with many fixes and improvements.
%source_timestamp %source_timestamp
%package -n kernel-devel%variant %package -n kernel-devel%variant
Summary: Development files needed for building kernel modules Summary: Development files needed for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
AutoReqProv: off AutoReqProv: off
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -133,7 +133,6 @@ external kernel modules.
%source_timestamp %source_timestamp
%package vanilla %package vanilla
Summary: Vanilla Linux kernel sources with minor build fixes. Summary: Vanilla Linux kernel sources with minor build fixes.
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
AutoReqProv: off AutoReqProv: off
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -233,7 +232,6 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
%files -f nondevel.files %files -f nondevel.files
%defattr(-, root, root) %defattr(-, root, root)
%ghost /usr/src/linux%variant
/usr/src/linux%variant-%kernelrelease/README.SUSE /usr/src/linux%variant-%kernelrelease/README.SUSE
%files -n kernel-devel%variant -f devel.files %files -n kernel-devel%variant -f devel.files

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -23,24 +23,30 @@
Name: kernel-syms Name: kernel-syms
Summary: Kernel Symbol Versions (modversions) Summary: Kernel Symbol Versions (modversions)
Version: 3.1.0 Version: 3.2.rc6
%if %using_buildservice %if %using_buildservice
Release: 0 Release: 0
%else %else
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0) %define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
Release: %kernel_source_release Release: %kernel_source_release
%endif %endif
License: GPL v2 only License: GPL-2.0
Group: Development/Sources Group: Development/Sources
Url: http://www.kernel.org/ Url: http://www.kernel.org/
AutoReqProv: off AutoReqProv: off
BuildRequires: coreutils BuildRequires: coreutils
%ifarch %ix86 ia64 ppc ppc64 s390x x86_64 %ifarch armv7l %ix86 ia64 ppc ppc64 s390x x86_64
Requires: kernel-default-devel = %version-%source_rel Requires: kernel-default-devel = %version-%source_rel
%endif %endif
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
Requires: kernel-desktop-devel = %version-%source_rel Requires: kernel-desktop-devel = %version-%source_rel
%endif %endif
%ifarch armv7l
Requires: kernel-imx51-devel = %version-%source_rel
%endif
%ifarch armv7l
Requires: kernel-omap2plus-devel = %version-%source_rel
%endif
%ifarch %ix86 %ifarch %ix86
Requires: kernel-pae-devel = %version-%source_rel Requires: kernel-pae-devel = %version-%source_rel
%endif %endif
@ -50,6 +56,9 @@ Requires: kernel-ppc64-devel = %version-%source_rel
%ifarch s390 %ifarch s390
Requires: kernel-s390-devel = %version-%source_rel Requires: kernel-s390-devel = %version-%source_rel
%endif %endif
%ifarch armv7l
Requires: kernel-tegra-devel = %version-%source_rel
%endif
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
Requires: kernel-xen-devel = %version-%source_rel Requires: kernel-xen-devel = %version-%source_rel
%endif %endif
@ -58,7 +67,7 @@ Provides: %name = %version-%source_rel
Source: README.KSYMS Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel Requires: kernel-devel%variant = %version-%source_rel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 ppc ppc64 s390 s390x x86_64 ExclusiveArch: %ix86 armv7l ia64 ppc ppc64 s390 s390x x86_64
Prefix: /usr/src Prefix: /usr/src
%description %description

View File

@ -30,7 +30,7 @@ Release: @RELEASE@
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0) %define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
Release: %kernel_source_release Release: %kernel_source_release
%endif %endif
License: GPL v2 only License: GPL-2.0
Group: Development/Sources Group: Development/Sources
Url: http://www.kernel.org/ Url: http://www.kernel.org/
AutoReqProv: off AutoReqProv: off

24861
kernel-tegra.changes Normal file

File diff suppressed because it is too large Load Diff

924
kernel-tegra.spec Normal file
View File

@ -0,0 +1,924 @@
#
# spec file for package kernel-tegra
#
# Copyright (c) 2011 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.2-rc6
%define patchversion 3.2.0-rc6
%define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros
%define build_flavor tegra
%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-tegra
Summary: Kernel for Nvidia's Tegra SoC
Version: 3.2.rc6
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
# Do not install p-b and mkinitrd for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader mkinitrd
# 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 fillup 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
%if ! %build_vanilla
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
%endif
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/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: armv7l
# 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 < %version
Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0
Obsoletes: atl2-kmp-%build_flavor < %version
Provides: atl2-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor < %version
Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor < %version
Provides: btusb-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga
Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: enic-kmp-%build_flavor < %version
Provides: enic-kmp-%build_flavor = %version
Obsoletes: fnic-kmp-%build_flavor < %version
Provides: fnic-kmp-%build_flavor = %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11
Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: 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 Nvidia's Tegra SoC, as found in
devices like the TrimSlice.
%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
%if %build_xen
image=vmlinuz
%else
image=bzImage
%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/%_target_cpu ]; then
ln -sf %cpu_arch %rpm_install_dir/%_target_cpu
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%_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
if [ ! -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
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-kdump'
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-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 Nvidia's Tegra 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 Nvidia's Tegra SoC, as found in
devices like the TrimSlice.
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 Nvidia's Tegra 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 Nvidia's Tegra SoC, as found in
devices like the TrimSlice.
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)
%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 %_target_cpu != %cpu_arch
%obj_install_dir/%_target_cpu
/usr/src/linux-obj/%_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

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-trace Name: kernel-trace
Summary: The Standard Kernel with Tracing Features Summary: The Standard Kernel with Tracing Features
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -139,7 +143,7 @@ Provides: kernel-64bit
Obsoletes: kernel-64bit Obsoletes: kernel-64bit
%endif %endif
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -181,6 +185,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -222,30 +227,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -379,11 +403,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -493,6 +531,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -680,8 +725,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -741,19 +785,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: The Standard Kernel with Tracing Features - base modules Summary: The Standard Kernel with Tracing Features - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -785,7 +830,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: The Standard Kernel with Tracing Features - Unsupported kernel modules Summary: The Standard Kernel with Tracing Features - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -826,7 +870,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -842,7 +885,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -878,7 +920,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-vanilla Name: kernel-vanilla
Summary: The Standard Kernel - without any SUSE patches Summary: The Standard Kernel - without any SUSE patches
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -135,7 +139,7 @@ Provides: kernel-64bit
Obsoletes: kernel-64bit Obsoletes: kernel-64bit
%endif %endif
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -177,6 +181,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -218,30 +223,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -375,11 +399,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -489,6 +527,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -676,8 +721,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -737,19 +781,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: The Standard Kernel - without any SUSE patches - base modules Summary: The Standard Kernel - without any SUSE patches - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -781,7 +826,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: The Standard Kernel - without any SUSE patches - Unsupported kernel modules Summary: The Standard Kernel - without any SUSE patches - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -822,7 +866,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -838,7 +881,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -874,7 +916,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

@ -1,3 +1,427 @@
-------------------------------------------------------------------
Thu Dec 22 16:05:54 CET 2011 - jeffm@suse.com
- Update config files.
- CONFIG_X86_INTEL_MID -> CONFIG_X86_WANT_INTEL_MID
- commit c4246bf
-------------------------------------------------------------------
Wed Dec 21 14:38:42 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3.2-rc6 and c/s 1133.
- kexec: properly handle pCPU hotplug.
- x86: pCPU handling.
- commit cbe54a1
-------------------------------------------------------------------
Tue Dec 20 16:35:33 CET 2011 - jeffm@suse.com
- Update to 3.2-rc6.
- Eliminated 1 patch.
- commit d5a489e
-------------------------------------------------------------------
Tue Dec 20 11:34:14 CET 2011 - trenn@suse.de
- These should all be mainline in some form:
- Delete
patches.arch/implement_stop_machine_from_offline_cpu.patch.
- Delete patches.arch/kill-__stop_machine.patch.
- Delete patches.arch/reorganize_stop_cpus.patch.
- Delete patches.arch/use_stop_machine_for_mtrr_rendezvous.patch.
- commit 78eb159
-------------------------------------------------------------------
Sun Dec 18 07:38:42 CET 2011 - aj@suse.de
- rpm/kernel-source.rpmlintrc: The hidden files are fine, silence rpmlint.
- commit a7813dd
-------------------------------------------------------------------
Fri Dec 16 15:37:51 CET 2011 - aj@suse.de
- rpm/kernel-binary.spec.in: Add provides and make most obsoletes versioned.
This silences rpmlint warnings.
- commit e3023c7
-------------------------------------------------------------------
Wed Dec 14 13:51:41 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix tarball URL for -rcX and
do not generate any URL for linux-next and vanilla snapshots.
- commit 1548daf
-------------------------------------------------------------------
Tue Dec 13 23:00:02 CET 2011 - mmarek@suse.cz
- rpm/kernel-source.spec.in, rpm/mkspec: Fix linux tarball URL
- commit 5453f99
-------------------------------------------------------------------
Tue Dec 13 14:33:56 CET 2011 - agraf@suse.de
- doc/config-options.changes: add CONFIG_DEBUG_STACKOVERFLOW change
- commit 42de6ff
-------------------------------------------------------------------
Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
- PPC: Update config files: disable CONFIG_DEBUG_STACKOVERFLOW
- commit 4d462dd
-------------------------------------------------------------------
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
- Silence missing defattr warning.
- Silence missing defattr warning.
- commit e7e3743
-------------------------------------------------------------------
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
- Silence warning about dangling symlink and vdsos
- Silence warning about dangling symlink and vdsos
- commit 701c5c7
-------------------------------------------------------------------
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
- No self-obsoletions.
- No self-obsoletions.
- commit 1d2e747
-------------------------------------------------------------------
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
- Do not show rpmlint warnings.
- Do not show rpmlint warnings.
- commit bb45b41
-------------------------------------------------------------------
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
- Use versioned provides/obsoletes.
- Use versioned provides/obsoletes.
- commit cf4f296
-------------------------------------------------------------------
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
- Adjust kernel-source.rpmlintrc for Linux 3.x
- Adjust kernel-source.rpmlintrc for Linux 3.x
- commit bc1534e
-------------------------------------------------------------------
Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not package the vmlinux image in the devel
package.
- commit 02bb976
-------------------------------------------------------------------
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
Only have one licenses line per file, the rest was just duplicated.
- commit f7c443c
-------------------------------------------------------------------
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
- Fix typo: Base package should not conflict with itself but with main package.
- Fix typo: Base package should not conflict with itself but with main package.
- commit e961ef0
-------------------------------------------------------------------
Tue Dec 6 00:07:03 CET 2011 - jeffm@suse.com
- Update to 3.2-rc4.
- Eliminated 1 patch.
- commit a7d546d
-------------------------------------------------------------------
Mon Dec 5 14:23:07 CET 2011 - agraf@suse.de
- ARM: Update config files: omap: enable power management
- commit b97f846
-------------------------------------------------------------------
Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Make the -base package conflict with the main
one.
- commit 45ada0d
-------------------------------------------------------------------
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- Fix kernel-source spec to give ownership of the /usr/src/linux link
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
- commit 7160a9c
-------------------------------------------------------------------
Mon Nov 28 16:51:10 CET 2011 - jbeulich@novell.com
- Refresh patches.xen/xen-pcpu-hotplug.
- Refresh patches.xen/xen3-patch-3.2-rc3.
- commit 7956240
-------------------------------------------------------------------
Mon Nov 28 16:12:16 CET 2011 - jbeulich@novell.com
- Update Xen patches to 3,2-rc3 and c/s 1127.
- Update frontswap patches to v10.
- config.conf: Re-enable Xen.
- Update config files.
- commit b08ea4f
-------------------------------------------------------------------
Mon Nov 28 15:32:21 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Ignore staging failures only in vanilla only
branches.
- commit eeaaaf1
-------------------------------------------------------------------
Fri Nov 25 19:28:57 CET 2011 - agraf@suse.de
- ARM: config: omap: set omap_fb=y
- commit c1efd33
-------------------------------------------------------------------
Fri Nov 25 19:00:35 CET 2011 - agraf@suse.de
- ARM: config: omap: disable OMAP2 to fix reboots
- commit 2d07cf1
-------------------------------------------------------------------
Fri Nov 25 18:45:06 CET 2011 - agraf@suse.de
- ARM: config: omap: enable DVI
- commit 40ecc5c
-------------------------------------------------------------------
Fri Nov 25 18:00:27 CET 2011 - agraf@suse.de
- ARM: config: omap: enable ehci
- commit 96a74f9
-------------------------------------------------------------------
Fri Nov 25 17:38:01 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard usb
- commit bab20e3
-------------------------------------------------------------------
Fri Nov 25 15:07:43 CET 2011 - agraf@suse.de
- ARM: config: omap: enable pandaboard LAN
- commit db7157b
-------------------------------------------------------------------
Fri Nov 25 14:59:10 CET 2011 - agraf@suse.de
- ARM: configs: Align with non-arm configs
- commit 9a9b9ee
-------------------------------------------------------------------
Fri Nov 25 14:31:57 CET 2011 - agraf@suse.de
- new script common_config.sh: find identical config options
- commit 1562f91
-------------------------------------------------------------------
Fri Nov 25 13:01:35 CET 2011 - agraf@suse.de
- ARM: configs: enable devtmpfs on all targets
- commit 5c31b37
-------------------------------------------------------------------
Fri Nov 25 05:58:54 CET 2011 - jeffm@suse.com
- Update config files for vanilla.
- commit 4c5b0b9
-------------------------------------------------------------------
Fri Nov 25 05:47:49 CET 2011 - jeffm@suse.com
- Update to 3.2-rc3.
- stack unwind: cfi_ignore takes more arguments.
- iio: Fix build error in industrialio-core.c.
- commit 48ef020
-------------------------------------------------------------------
Thu Nov 24 18:45:54 CET 2011 - ohering@suse.de
- ata_piix: ignore disks in a hyper-v guest.
- commit d0bebdb
-------------------------------------------------------------------
Thu Nov 24 13:01:09 CET 2011 - mmarek@suse.cz
- rpm/try-disable-staging-driver: Script to disable failing staging
driver and restart make.
- commit 819d1fa
-------------------------------------------------------------------
Thu Nov 24 12:41:48 CET 2011 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Do not have a separate make invocation for
s390 and the rest.
- commit d72f6c1
-------------------------------------------------------------------
Thu Nov 24 00:27:55 CET 2011 - agraf@suse.de
- ARM: Update config file file i.MX51 (disable i.MX53)
- commit 6557e92
-------------------------------------------------------------------
Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
- ARM: Refresh patches.arch/arm-phys-offset.patch. (fix warnings)
- commit 519c94a
-------------------------------------------------------------------
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
- ARM: create uImage, not zImage, so we can boot with u-boot
- ARM: create uImage, not zImage, so we can boot with u-boot
- commit 63a7b2c
-------------------------------------------------------------------
Wed Nov 23 02:33:12 CET 2011 - agraf@suse.de
- ARM: Fix compile breakage for generic kernel.
- commit 9d31b12
-------------------------------------------------------------------
Tue Nov 22 18:41:44 CET 2011 - agraf@suse.de
- ARM: Update config files: fix several issues in 3.2
- commit 3488f8d
-------------------------------------------------------------------
Tue Nov 22 17:41:06 CET 2011 - agraf@suse.de
- ARM: Update config files: disable broken eth driver
- commit 3729fdf
-------------------------------------------------------------------
Tue Nov 22 15:20:06 CET 2011 - agraf@suse.de
- ARM: Update config files: run_oldconfig.sh
- commit ae90ef9
-------------------------------------------------------------------
Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
- ARM: fix run_oldconfig.sh
- commit 0362ed5
-------------------------------------------------------------------
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- ARM: Use zImage, not vmlinux
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
- commit 4c08eb0
-------------------------------------------------------------------
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- ARM: Dont generalize the target
On ARM we can not build generic kernels that work through different generations,
such as armv5 and armv7. So we better list them explicitly and not export an rpm
that wouldn't even work on the respective architecture :).
- commit 854928d
-------------------------------------------------------------------
Thu Nov 17 19:45:48 CET 2011 - bpoirier@suse.de
- dm-raid45: split region hash and log, used by mirror and raid45.
- Update config files.
- commit a85f754
-------------------------------------------------------------------
Wed Nov 16 06:51:07 CET 2011 - jeffm@suse.com
- Update to 3.2-rc2.
- Eliminated 1 patch.
- commit 85c9930
-------------------------------------------------------------------
Wed Nov 16 06:32:19 CET 2011 - jeffm@suse.com
- Update to 3.2-rc1.
- Eliminate 212 patches.
- commit 6318d5b
-------------------------------------------------------------------
Mon Nov 14 22:22:11 CET 2011 - awafaa@opensuse.org
- Add package descriptions for ARM kernels
- Add ARM support for iMX51, OMAP2plus & Tegra SoC
- commit 51ebb2d
-------------------------------------------------------------------
Mon Nov 14 19:24:31 CET 2011 - jeffm@suse.com
- Updated incorrect Patch-mainline header.
- commit ef7dc61
-------------------------------------------------------------------
Sat Nov 12 15:39:33 CET 2011 - adrian@suse.de
- initial armv7l default kernel config, everything enable except the non compiling modules
- commit 7a5cd10
-------------------------------------------------------------------
Mon Nov 7 05:17:38 CET 2011 - neilb@suse.de
- sunrpc: wake up SOFTCONN tasks when a connection error happens
(bnc#679059).
- commit f97b834
-------------------------------------------------------------------
Sat Nov 5 01:32:21 CET 2011 - trenn@suse.de
- X86: Solve Dell Latitudes do not reboot on x86_64 more
generally.
- commit b3cc84a
-------------------------------------------------------------------
Thu Nov 3 17:56:46 CET 2011 - mszeredi@suse.cz
- patches.fixes/hfs-fix-hfs_find_init-sb-ext_tree-null-ptr-oops.patch:
hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
(CVE-2011-2203 bnc#699709).
- commit 7923119
-------------------------------------------------------------------
Thu Nov 3 17:15:28 CET 2011 - tiwai@suse.de
- ALSA: hda/realtek - Skip invalid digital out pins (bnc#727348).
- ALSA: hda - Add missing static ADC tables for ALC269 quirks.
- commit 102bac3
-------------------------------------------------------------------
Thu Nov 3 16:29:03 CET 2011 - jdelvare@suse.de
- patches.fixes/drm-radeon-kms-fix-i2c-masks.patch: Add git commit ID.
- commit ee8439f
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com Thu Nov 3 15:45:45 CET 2011 - jeffm@suse.com
@ -37,7 +461,9 @@ Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
- rpm/{arch-symbols,mkspec}: Add support for ARM - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86. The various ARM families need similar handling like i?86.
- commit 3108a66 - rpm/{arch-symbols,mkspec}: Add support for ARM
The various ARM families need similar handling like i?86.
- commit 0c6be6b
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de Thu Oct 27 17:08:42 CEST 2011 - tiwai@suse.de

View File

@ -17,9 +17,10 @@
# norootforbuild # norootforbuild
%define srcversion 3.1 %define srcversion 3.2-rc6
%define patchversion 3.1.0 %define patchversion 3.2.0-rc6
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
@ -35,7 +36,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj %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}) %(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) %global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor %define cpu_arch_flavor %cpu_arch/%build_flavor
@ -55,9 +56,9 @@
Name: kernel-xen Name: kernel-xen
Summary: The Xen Kernel Summary: The Xen Kernel
Version: 3.1.0 Version: 3.2.rc6
Release: 0 Release: 0
License: GPL v2 only License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse BuildRequires: coreutils module-init-tools sparse
@ -97,18 +98,21 @@ BuildRequires: python
BuildRequires: dwarfextract BuildRequires: dwarfextract
%endif %endif
%endif %endif
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %build_xen %if %build_xen
%ifarch %ix86 %ifarch %ix86
%if %build_flavor != "ec2" %if %build_flavor != "ec2"
Provides: kernel-xenpae = %version Provides: kernel-xenpae = %version
Obsoletes: kernel-xenpae <= %version Obsoletes: kernel-xenpae < %version
%endif %endif
%endif %endif
#!BuildIgnore: xen #!BuildIgnore: xen
%endif %endif
Provides: %name-nongpl Provides: %name-nongpl = %version
Obsoletes: %name-nongpl Obsoletes: %name-nongpl < %version
%if %build_vanilla %if %build_vanilla
# force bzip2 instead of lzma compression to allow install on older dist versions # force bzip2 instead of lzma compression to allow install on older dist versions
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -128,7 +132,7 @@ Conflicts: libc.so.6()(64bit)
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-%srcversion.tar.bz2 Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
Source3: kernel-source.rpmlintrc Source3: kernel-source.rpmlintrc
Source8: devel-pre.sh Source8: devel-pre.sh
@ -170,6 +174,7 @@ Source65: kernel-spec-macros
Source66: configtool.pl Source66: configtool.pl
Source67: log.sh Source67: log.sh
Source68: host-memcpy-hack.h Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source100: config.tar.bz2 Source100: config.tar.bz2
Source101: config.addon.tar.bz2 Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2 Source102: patches.arch.tar.bz2
@ -211,30 +216,49 @@ NoSource: 121
# The following KMPs have been integrated into the kernel package, # The following KMPs have been integrated into the kernel package,
# grouped by the last product that contained them. # grouped by the last product that contained them.
# sles10 / 10.3 # sles10 / 10.3
Obsoletes: iwlwifi-kmp-%build_flavor Obsoletes: iwlwifi-kmp-%build_flavor < %version
Obsoletes: ipw3945-kmp-%build_flavor Provides: iwlwifi-kmp-%build_flavor = %version
Obsoletes: ipw3945-kmp-%build_flavor < %version
Provides: ipw3945-kmp-%build_flavor = %version
# sles10 / 11.0 # sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor Obsoletes: uvcvideo-kmp-%build_flavor < %version
Provides: uvcvideo-kmp-%build_flavor = %version
# 11.0 # 11.0
Obsoletes: atl2-kmp-%build_flavor Obsoletes: atl2-kmp-%build_flavor < %version
Obsoletes: wlan-ng-kmp-%build_flavor Provides: atl2-kmp-%build_flavor = %version
Obsoletes: et131x-kmp-%build_flavor Obsoletes: at76_usb-kmp-%build_flavor < %version
Obsoletes: ivtv-kmp-%build_flavor Provides: at76_usb-kmp-%build_flavor = %version
Obsoletes: at76_usb-kmp-%build_flavor Obsoletes: btusb-kmp-%build_flavor < %version
Obsoletes: pcc-acpi-kmp-%build_flavor Provides: btusb-kmp-%build_flavor = %version
Obsoletes: btusb-kmp-%build_flavor Obsoletes: et131x-kmp-%build_flavor < %version
Provides: et131x-kmp-%build_flavor = %version
Obsoletes: ivtv-kmp-%build_flavor < %version
Provides: ivtv-kmp-%build_flavor = %version
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
Provides: pcc-acpi-kmp-%build_flavor = %version
Obsoletes: wlan-ng-kmp-%build_flavor < %version
Provides: wlan-ng-kmp-%build_flavor = %version
# sle11-ga # sle11-ga
Obsoletes: enic-kmp-%build_flavor Obsoletes: brocade-bfa-kmp-%build_flavor < %version
Obsoletes: fnic-kmp-%build_flavor Provides: brocade-bfa-kmp-%build_flavor = %version
Obsoletes: brocade-bfa-kmp-%build_flavor Obsoletes: enic-kmp-%build_flavor < %version
Obsoletes: kvm-kmp-%build_flavor Provides: enic-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor Obsoletes: fnic-kmp-%build_flavor < %version
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor Provides: fnic-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
Obsoletes: kvm-kmp-%build_flavor < %version
Provides: kvm-kmp-%build_flavor = %version
Obsoletes: msi-wmi-kmp-%build_flavor < %version
Provides: msi-wmi-kmp-%build_flavor = %version
Obsoletes: perfmon-kmp-%build_flavor < %version
Provides: perfmon-kmp-%build_flavor = %version
# sle11 # sle11
Obsoletes: ocfs2-kmp-%build_flavor Obsoletes: ocfs2-kmp-%build_flavor < %version
Provides: ocfs2-kmp-%build_flavor = %version
# 11.1 # 11.1
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7 Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
Provides: quickcam-kmp-%build_flavor = 0.6.7
# Provide the exported symbols as "ksym(symbol) = hash" # Provide the exported symbols as "ksym(symbol) = hash"
%define __find_provides %_sourcedir/find-provides %name %define __find_provides %_sourcedir/find-provides %name
@ -371,11 +395,25 @@ fi
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat) # %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
%if %CONFIG_KMSG_IDS == "y" %if %CONFIG_KMSG_IDS == "y"
chmod +x ../linux-%srcversion/scripts/kmsg-doc chmod +x ../linux-%srcversion/scripts/kmsg-doc
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y D=2 MAKE_ARGS="$MAKE_ARGS D=2"
%else
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
%endif %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 %install
# get rid of /usr/lib/rpm/brp-strip-debug # get rid of /usr/lib/rpm/brp-strip-debug
@ -485,6 +523,13 @@ add_vmlinux()
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
image=vmlinux image=vmlinux
%endif %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 # end of build_kdump
%endif %endif
@ -672,8 +717,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %my_builddir/kernel-devel.files
for file in %buildroot/boot/vmlinux-*.gz %buildroot/boot/symtypes* \ for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
%buildroot/lib/modules/*/{build,source}; do
f=${file##%buildroot} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -733,19 +777,20 @@ rm %my_builddir/tmp
%if %split_base %if %split_base
%files -f kernel-main.files %files -f kernel-main.files
%defattr(-, root, root)
%else %else
%files -f kernel-base.files %files -f kernel-base.files
%endif
%defattr(-, root, root) %defattr(-, root, root)
%endif
%package base %package base
Summary: The Xen Kernel - base modules Summary: The Xen Kernel - base modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: kernel-base = %version-%source_rel Provides: kernel-base = %version-%source_rel
Conflicts: %name = %version-%release
Requires(pre): coreutils awk Requires(pre): coreutils awk
Requires(post): module-init-tools Requires(post): module-init-tools
Requires(post): perl-Bootloader Requires(post): perl-Bootloader
@ -780,7 +825,6 @@ This package contains only the base modules, required in all installs.
%package extra %package extra
Summary: The Xen Kernel - Unsupported kernel modules Summary: The Xen Kernel - Unsupported kernel modules
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -824,7 +868,6 @@ This package contains additional modules not supported by Novell.
%package man %package man
Summary: The collection of man pages generated by the kmsg script. Summary: The collection of man pages generated by the kmsg script.
License: GPL v2 only
Group: System/Kernel Group: System/Kernel
%description man %description man
@ -840,7 +883,6 @@ kmsg message documentation comments.
%package devel %package devel
Summary: Development files necessary for building kernel modules Summary: Development files necessary for building kernel modules
License: GPL v2 only
Group: Development/Sources Group: Development/Sources
Provides: multiversion(kernel) Provides: multiversion(kernel)
Provides: %name-devel = %version-%source_rel Provides: %name-devel = %version-%source_rel
@ -876,7 +918,6 @@ kernel module packages) against the %build_flavor flavor of the kernel.
%package devel-debuginfo %package devel-debuginfo
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz # rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
Summary: Debug information for package %name-devel Summary: Debug information for package %name-devel
License: GPL v2 only
Group: Development/Debug Group: Development/Debug
%description devel-debuginfo %description devel-debuginfo

View File

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

3
linux-3.2-rc6.tar.bz2 Normal file
View File

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

21
mkspec
View File

@ -65,12 +65,22 @@ my $unpack_patches = join(" ", map { "-a $_" } @tarballs);
my $scripts = join(",", grep { is_script($_) } my $scripts = join(",", grep { is_script($_) }
($sources =~ /\nSource\d+:\s*([^\s]*)/mg)); ($sources =~ /\nSource\d+:\s*([^\s]*)/mg));
my $tarball_url;
if ($srcversion =~ /^(\d+)(?:\.\d+)*(-rc\d+)?$/) {
$tarball_url = "http://www.kernel.org/pub/linux/kernel/v$1.x/";
$tarball_url .= "testing/" if $2;
} else {
# kernel.org has no tarballs for linux-next or vanilla snapshots
$tarball_url = "";
}
my %macros = ( my %macros = (
VARIANT => $variant, VARIANT => $variant,
VANILLA_ONLY => $vanilla_only, VANILLA_ONLY => $vanilla_only,
SRCVERSION => $srcversion, SRCVERSION => $srcversion,
PATCHVERSION => $patchversion, PATCHVERSION => $patchversion,
RPMVERSION => $rpmversion, RPMVERSION => $rpmversion,
TARBALL_URL => $tarball_url,
RELEASE => $rpmrelease, RELEASE => $rpmrelease,
SOURCES => $sources, SOURCES => $sources,
NOSOURCE => $nosource, NOSOURCE => $nosource,
@ -248,7 +258,6 @@ sub arch2rpm {
sub _arch2rpm { sub _arch2rpm {
my $arch = shift; my $arch = shift;
return "\%ix86" if $arch eq "i386"; return "\%ix86" if $arch eq "i386";
return "\%arm" if $arch eq "arm";
return $arch; return $arch;
} }
@ -278,9 +287,13 @@ sub do_spec {
my %macros = @_; my %macros = @_;
my $text = $templates{$template}; my $text = $templates{$template};
for my $m (keys %macros) { my $prev_text;
$text =~ s/\@$m\@/$macros{$m}/g; do {
} $prev_text = $text;
for my $m (keys %macros) {
$text =~ s/\@$m\@/$macros{$m}/g;
}
} while ($prev_text ne $text);
print "$specfile\n"; print "$specfile\n";
xopen(my $fh, '>', "$dir/$specfile"); xopen(my $fh, '>', "$dir/$specfile");
print $fh $text; print $fh $text;

View File

@ -121,3 +121,21 @@ VMI-enabled kernel
The Linux Kernel designed to run on top of a virtual machine The Linux Kernel designed to run on top of a virtual machine
interface layer (VMI). interface layer (VMI).
=== kernel-imx51 ===
Kernel for Freescale's iMX SoC
The standard kernel for Freescale's i.MX51 SoC, as found in
devices like the Genesi EfikaMX family.
=== kernel-omap2plus ===
Kernel for Texas instrument's OMAP SoC
The standard kernel for Texas instrument's OMAP SoC, as
found in devices like the PandaBoard and BeagleBoard.
=== kernel-tegra ===
Kernel for Nvidia's Tegra SoC
The standard kernel for Nvidia's Tegra SoC, as found in
devices like the TrimSlice.

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:7504875c1bb97601eb56ef79a033bef7b5519e4ed85736c428486eca427507a9 oid sha256:2c878fcee6f508610db9d8b5b1e04b4f89ce62bea9063ccc6127d7d5d8f3478e
size 74096 size 67804

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:061b827300f783aee7a0bfe623ebdda7749923f526d1c368881e653b2e519344 oid sha256:8bb869150b7224259f535180aae2658da2c78c9dd4e271711001385775151202
size 24075 size 8085

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:1e0058767916325b1da55b0ab555ccc9985a7a32205cd744c97757d5ae56082c oid sha256:a67de425293bd33b27472ef6601f4371319e107cd0da3e767c8d82dd6a07850a
size 22528 size 21802

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:1bda061cdcdb0da1325a252b2024941a4a5f20968672a25ccaa1697a46e32a3d oid sha256:cef56ceada842f8a79b0217a6b8da0291e258221a44d018408efdbfba0a32916
size 214683 size 126301

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f9810f45a353ff2328fb4b90dfec8fcef374440161a1f4e693cebd79cf29a938 oid sha256:25832b32b128e23966b4a740aa6bee8457ffb75a67e07245828488ad1e10b317
size 2034859 size 2066788

View File

@ -110,11 +110,6 @@
+needs_update patches.arch/kvm-split-the-KVM-pv-ops-support-by-feature +needs_update patches.arch/kvm-split-the-KVM-pv-ops-support-by-feature
+needs_update patches.arch/kvm-replace-kvm-io-delay-pv-ops-with-linux-magic +needs_update patches.arch/kvm-replace-kvm-io-delay-pv-ops-with-linux-magic
+trenn patches.arch/kill-__stop_machine.patch
+trenn patches.arch/reorganize_stop_cpus.patch
+trenn patches.arch/implement_stop_machine_from_offline_cpu.patch
+trenn patches.arch/use_stop_machine_for_mtrr_rendezvous.patch
######################################################## ########################################################
# x86 MCE/MCA (Machine Check Error/Architecture) extensions # x86 MCE/MCA (Machine Check Error/Architecture) extensions
######################################################## ########################################################
@ -148,13 +143,16 @@
patches.arch/ppc64-xmon-dmesg-printing.patch patches.arch/ppc64-xmon-dmesg-printing.patch
patches.arch/ppc-prom-nodisplay.patch patches.arch/ppc-prom-nodisplay.patch
patches.fixes/ptrace-getsiginfo patches.fixes/ptrace-getsiginfo
patches.arch/ppc-kvm-fix-big-section.patch
patches.arch/ppc-kvm-fix-cbe.patch
######################################################## ########################################################
# PS3 # PS3
######################################################## ########################################################
########################################################
# ARM
########################################################
patches.arch/arm-phys-offset.patch
######################################################## ########################################################
# S/390 # S/390
######################################################## ########################################################
@ -221,7 +219,7 @@
patches.arch/acpica_fix_wrongly_mapped_acpi_table_header_when_overriding_via_initrd.patch patches.arch/acpica_fix_wrongly_mapped_acpi_table_header_when_overriding_via_initrd.patch
patches.arch/acpi_implement_overriding_of_arbitrary_acpi_tables_via_initrd.patch patches.arch/acpi_implement_overriding_of_arbitrary_acpi_tables_via_initrd.patch
patches.arch/dell_optiplex_990_fix_reboot.patch patches.arch/dell_latitude_e6xxx_e5xxx__fix_reboot.patch
######################################################## ########################################################
# CPUFREQ # CPUFREQ
@ -242,6 +240,7 @@
######################################################## ########################################################
# Suse specific stuff # Suse specific stuff
######################################################## ########################################################
patches.suse/staging-hv-pata_piix-ignore-disks.patch
######################################################## ########################################################
# Networking, IPv6 # Networking, IPv6
@ -254,6 +253,7 @@
+needs_update37 patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch +needs_update37 patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch
patches.fixes/nfs-adaptive-readdir-plus patches.fixes/nfs-adaptive-readdir-plus
patches.fixes/nfs-connect-timeout
######################################################## ########################################################
# lockd + statd # lockd + statd
@ -351,10 +351,6 @@
patches.fixes/scsi-retry-alua-transition-in-progress patches.fixes/scsi-retry-alua-transition-in-progress
patches.fixes/scsi-dh-queuedata-accessors patches.fixes/scsi-dh-queuedata-accessors
patches.fixes/scsi-evaluate-tpgs-setting
patches.suse/scsi-dh-implement-match-callback
patches.fixes/scsi-dh-alua-always-update-tpgs-status
patches.fixes/scsi-dh-check-for-sdev-state-in-store_dh_state
patches.fixes/scsi-check-host-lookup-failure patches.fixes/scsi-check-host-lookup-failure
patches.drivers/megaraid-mbox-fix-SG_IO patches.drivers/megaraid-mbox-fix-SG_IO
@ -372,7 +368,6 @@
######################################################## ########################################################
# DRM/Video # DRM/Video
######################################################## ########################################################
patches.fixes/drm-radeon-kms-fix-i2c-masks.patch
######################################################## ########################################################
# video4linux # video4linux
@ -423,23 +418,9 @@
patches.fixes/input-add-acer-aspire-5710-to-nomux.patch patches.fixes/input-add-acer-aspire-5710-to-nomux.patch
patches.drivers/input-Add-LED-support-to-Synaptics-device patches.drivers/input-Add-LED-support-to-Synaptics-device
patches.drivers/input-elantech-correct-x-y-value-range-for-v2-hardware
patches.drivers/input-elantech-get-rid-of-etp_2ft_-in-elantech-h
patches.drivers/input-elantech-use-firmware-provided-x-y-ranges
patches.drivers/input-elantech-remove-etp_edge_fuzz_v2
patches.drivers/input-elantech-packet-checking-for-v2-hardware
patches.drivers/input-elantech-clean-up-elantech_init
patches.drivers/input-elantech-add-v3-hardware-support
patches.drivers/input-elantech-add-v4-hardware-support
patches.drivers/input-elantech-better-support-all-those-v2-variants
patches.drivers/input-elantech-remove-module-parameter-force_elantech
########################################################## ##########################################################
# Sound # Sound
########################################################## ##########################################################
patches.drivers/alsa-hda-0001-realtek-Fix-missing-volume-controls-with-ALC260
patches.drivers/alsa-hda-0002-Keep-EAPD-turned-on-for-old-Conexant-chips
patches.drivers/alsa-hda-0003-Fix-ADC-input-amp-handling-for-Cx20549
######################################################## ########################################################
# Char / serial # Char / serial
@ -448,207 +429,10 @@
######################################################## ########################################################
# Other driver fixes # Other driver fixes
######################################################## ########################################################
# http://git.kernel.org/?p=linux/kernel/git/gregkh/staging-2.6.git;a=history;f=drivers/staging/hv;hb=refs/heads/staging-next
patches.suse/staging-hv-staging-next-20110825-0001-Staging-hv-vmbus-Don-t-wait-indefinitely-for-IRQ.patch
patches.suse/staging-hv-staging-next-20110825-0002-Staging-hv-tools-Fix-a-checkpatch-warning-in-hv_k.patch
patches.suse/staging-hv-staging-next-20110825-0003-Staging-hv-vmbus-Fix-checkpatch-warnings.patch
patches.suse/staging-hv-staging-next-20110825-0004-Staging-hv-util-kvp-Fix-the-reported-OSVersion-s.patch
patches.suse/staging-hv-staging-next-20110825-0005-Staging-hv-util-kvp-Cleanup-kvp_get_domain_name.patch
patches.suse/staging-hv-staging-next-20110825-0006-Staging-hv-Fix-macros-tab-errors-and-warning-in-d.patch
patches.suse/staging-hv-staging-next-20110825-0007-Staging-hv-vmbus-VMBUS-is-an-ACPI-enumerated-devi.patch
patches.suse/staging-hv-staging-next-20110825-0008-Staging-hv-Replace-struct-hv_guid-with-the-uuid-ty.patch
patches.suse/staging-hv-staging-next-20110825-0009-Staging-hv-vmbus-Introduce-vmbus-ID-space-in-stru.patch
patches.suse/staging-hv-staging-next-20110825-0010-Staging-hv-blkvsc-Use-the-newly-introduced-vmbus.patch
patches.suse/staging-hv-staging-next-20110825-0011-Staging-hv-storvsc-Use-the-newly-introduced-vmbus.patch
patches.suse/staging-hv-staging-next-20110825-0012-Staging-hv-netvsc-Use-the-newly-introduced-vmbus.patch
patches.suse/staging-hv-staging-next-20110825-0013-Staging-hv-mousevsc-Use-the-newly-introduced-vmbu.patch
patches.suse/staging-hv-staging-next-20110825-0014-Staging-hv-util-Make-hv_utils-a-vmbus-device-driv.patch
patches.suse/staging-hv-staging-next-20110825-0015-Staging-hv-create-VMBUS_DEVICE-macro-and-use-it.patch
patches.suse/staging-hv-staging-next-20110825-0016-Staging-hv-vmbus-Cleanup-vmbus_match.patch
patches.suse/staging-hv-staging-next-20110825-0017-Staging-hv-vmbus-Cleanup-vmbus_uevent-code.patch
patches.suse/staging-hv-staging-next-20110825-0018-Staging-hv-vmbus-Support-the-notion-of-id-tables.patch
patches.suse/staging-hv-staging-next-20110825-0019-Staging-hv-vmbus-Get-rid-of-an-unnecessary-includ.patch
patches.suse/staging-hv-staging-next-20110825-0020-Staging-hv-storvsc-Get-rid-of-the-DMI-signature.patch
patches.suse/staging-hv-staging-next-20110825-0021-Staging-hv-netvsc-Get-rid-of-the-PCI-signature.patch
patches.suse/staging-hv-staging-next-20110825-0022-Staging-hv-netvsc-Get-rid-of-the-DMI-signature-in.patch
patches.suse/staging-hv-staging-next-20110825-0023-Staging-hv-util-Get-rid-of-the-DMI-signature-in-h.patch
patches.suse/staging-hv-staging-next-20110825-0024-Staging-hv-util-Get-rid-of-the-PCI-signature-in-h.patch
patches.suse/staging-hv-staging-next-20110825-0025-Staging-hv-fix-up-driver-registering-mess.patch
patches.suse/staging-hv-staging-next-20110825-0026-Staging-hv-vmbus-Get-rid-of-some-unnecessary-comm.patch
patches.suse/staging-hv-staging-next-20110825-0027-Staging-hv-vmbus-Cleanup-unnecessary-comments-in.patch
patches.suse/staging-hv-staging-next-20110825-0028-Staging-hv-vmbus-Cleanup-error-handling-in-hv_ini.patch
patches.suse/staging-hv-staging-next-20110825-0029-Staging-hv-vmbus-Get-rid-of-unnecessay-comments-i.patch
patches.suse/staging-hv-staging-next-20110825-0030-Staging-hv-vmbus-Get-rid-of-the-function-dump_gpa.patch
patches.suse/staging-hv-staging-next-20110825-0031-Staging-hv-vmbus-Get-rid-of-the-function-dump_gpa.patch
patches.suse/staging-hv-staging-next-20110825-0032-Staging-hv-vmbus-Rename-openMsg-to-open_msg-in-ch.patch
patches.suse/staging-hv-staging-next-20110825-0033-Staging-hv-vmbus-Get-rid-of-unnecessary-comments.patch
patches.suse/staging-hv-staging-next-20110825-0034-Staging-hv-vmbus-Change-the-variable-name-openInf.patch
patches.suse/staging-hv-staging-next-20110825-0035-Staging-hv-vmbus-Cleanup-error-values-in-ringbuff.patch
patches.suse/staging-hv-staging-next-20110825-0036-Staging-hv-vmbus-Cleanup-the-error-return-value-i.patch
patches.suse/staging-hv-staging-next-20110825-0037-Staging-hv-netvsc-Get-rid-of-an-unnecessary-print.patch
patches.suse/staging-hv-staging-next-20110825-0038-Staging-hv-vmbus-Retry-vmbus_post_msg-before-gi.patch
patches.suse/staging-hv-staging-next-20110825-0039-Staging-hv-storvsc-Cleanup-error-handling-in-stor.patch
patches.suse/staging-hv-staging-next-20110825-0040-Staging-hv-storvsc-Cleanup-error-handling-in-stor.patch
patches.suse/staging-hv-staging-next-20110825-0041-Staging-hv-storvsc-Cleanup-error-handling-in-stor.patch
patches.suse/staging-hv-staging-next-20110825-0042-Staging-hv-storvsc-Cleanup-error-handling-in-stor.patch
patches.suse/staging-hv-staging-next-20110825-0043-Storage-hv-storvsc-Get-rid-of-some-unnecessary-DP.patch
patches.suse/staging-hv-staging-next-20110825-0044-Staging-hv-storvsc-Fix-cleanup-some-dated-comment.patch
patches.suse/staging-hv-staging-next-20110825-0045-Staging-hv-storvsc-Cleanup-returned-error-code-in.patch
patches.suse/staging-hv-staging-next-20110825-0046-Staging-hv-storvsc-Cleanup-error-code-returned-in.patch
patches.suse/staging-hv-staging-next-20110825-0047-Staging-hv-storvsc-Cleanup-returned-error-code-in.patch
patches.suse/staging-hv-staging-next-20110825-0048-Staging-hv-netvsc-Cleanup-the-returned-error-code.patch
patches.suse/staging-hv-staging-next-20110825-0049-Staging-hv-netvsc-Cleanup-error-return-codes-in-n.patch
patches.suse/staging-hv-staging-next-20110825-0050-Staging-hv-netvsc-Cleanup-error-return-values-in.patch
patches.suse/staging-hv-staging-next-20110825-0051-Staging-hv-netvsc-Cleanup-error-returns-in-netvsc.patch
patches.suse/staging-hv-staging-next-20110825-0052-Staging-hv-netvsc-Cleanup-error-return-values-in.patch
patches.suse/staging-hv-staging-next-20110825-0053-Staging-hv-netvsc-Cleanup-error-return-codes-in-n.patch
patches.suse/staging-hv-staging-next-20110825-0054-Staging-hv-netvsc-Cleanup-error-codes-in-rndis_fi.patch
patches.suse/staging-hv-staging-next-20110825-0055-Staging-hv-netvsc-Cleanup-error-code-in-rndis_fil.patch
patches.suse/staging-hv-staging-next-20110825-0056-Staging-hv-netvsc-Cleanup-error-return-values-in.patch
patches.suse/staging-hv-staging-next-20110825-0057-Staging-hv-netvsc-Cleanup-error-returns-in-rndis_.patch
patches.suse/staging-hv-staging-next-20110825-0058-Staging-hv-netvsc-Cleanup-error-code-in-rndis_fil.patch
patches.suse/staging-hv-staging-next-20110825-0059-Staging-hv-mouse-Change-the-jump-label-Cleanup-to.patch
patches.suse/staging-hv-staging-next-20110825-0060-Staging-hv-netvsc-Change-the-jump-label-Cleanup-t.patch
patches.suse/staging-hv-staging-next-20110825-0061-Staging-hv-netvsc-Change-the-jump-label-Exit-to-e.patch
patches.suse/staging-hv-staging-next-20110825-0062-Staging-hv-mouse-Get-rid-of-the-unused-PCI-signat.patch
patches.suse/staging-hv-staging-next-20110825-0063-Staging-hv-hv_mouse-remove-deviceinfo_callback-fu.patch
patches.suse/staging-hv-staging-next-20110825-0064-Staging-hv-hv_mouse-remove-inputreport_callback-f.patch
patches.suse/staging-hv-staging-next-20110825-0065-Staging-hv-hv_mouse-remove-a-forward-declaration.patch
patches.suse/staging-hv-staging-next-20110825-0066-Staging-hv-hv_mouse-fix-up-remove-function.patch
# module support patches outside of drivers/staging/hv
patches.suse/staging-hv-staging-next-20110825-0562-Staging-hv-Add-struct-hv_vmbus_device_id-to-mod_de.patch
patches.suse/staging-hv-staging-next-20110825-0563-Staging-hv-add-driver_data-to-hv_vmbus_device_id.patch
patches.suse/staging-hv-staging-next-20110825-0568-Staging-hv-Add-code-to-parse-struct-hv_vmbus_devic.patch
patches.suse/staging-hv-staging-next-20110825-0570-Staging-hv-file2alias-fix-up-alias-creation-logic.patch
patches.suse/staging-hv-staging-next-20110829-0303-Staging-hv-storvsc-Inline-free_stor_device.patch
patches.suse/staging-hv-staging-next-20110829-0304-Staging-hv-storvsc-Do-not-aquire-an-unnecessary-r.patch
patches.suse/staging-hv-staging-next-20110829-0305-Staging-hv-storvsc-Rename-must_get_stor_device.patch
patches.suse/staging-hv-staging-next-20110829-0306-Staging-hv-storvsc-Rename-get_stor_device.patch
patches.suse/staging-hv-staging-next-20110829-0307-Staging-hv-storvsc-Cleanup-alloc_stor_device.patch
patches.suse/staging-hv-staging-next-20110829-0308-Staging-hv-storvsc-Introduce-state-to-manage-the.patch
patches.suse/staging-hv-staging-next-20110829-0309-Staging-hv-storvsc-Prevent-outgoing-traffic-when.patch
patches.suse/staging-hv-staging-next-20110829-0310-Staging-hv-storvsc-Get-rid-of-release_stor_device.patch
patches.suse/staging-hv-staging-next-20110829-0311-Staging-hv-storvsc-Get-rid-of-final_release_stor_.patch
patches.suse/staging-hv-staging-next-20110829-0312-Staging-hv-storvsc-Get-rid-of-the-reference-count.patch
patches.suse/staging-hv-staging-next-20110829-0313-Staging-hv-netvsc-Inline-the-code-for-free_net_de.patch
patches.suse/staging-hv-staging-next-20110829-0314-Staging-hv-netvsc-Cleanup-alloc_net_device.patch
patches.suse/staging-hv-staging-next-20110829-0315-Staging-hv-netvsc-Introduce-state-to-manage-the-l.patch
patches.suse/staging-hv-staging-next-20110829-0316-Staging-hv-netvsc-Prevent-outgoing-traffic-when-n.patch
patches.suse/staging-hv-staging-next-20110829-0317-Staging-hv-netvsc-Get-rid-of-release_outbound_net.patch
patches.suse/staging-hv-staging-next-20110829-0318-Staging-hv-netvsc-Get-rid-of-release_inbound_net_.patch
patches.suse/staging-hv-staging-next-20110829-0319-Staging-hv-netvsc-Get-rid-of-the-refcnt-field-in.patch
patches.suse/staging-hv-staging-next-20110829-0320-Staging-hv-storvsc-Add-code-to-handle-IDE-devices.patch
patches.suse/staging-hv-staging-next-20110829-0321-Staging-hv-storvsc-Handle-IDE-devices-using-the-s.patch
patches.suse/staging-hv-staging-next-20110829-0322-Staging-hv-blkvsc-Get-rid-of-blkvsc_drv.c-as-this.patch
patches.suse/staging-hv-staging-next-20110829-0323-Staging-hv-storvsc-Optimize-bounce-buffer-handlin.patch
patches.suse/staging-hv-staging-next-20110829-0324-Staging-hv-storvsc-Optimize-the-bounce-buffer-han.patch
patches.suse/staging-hv-staging-next-20110829-0325-Staging-hv-storvsc-Include-storvsc.c-in-storvsc_d.patch
patches.suse/staging-hv-staging-next-20110829-0326-Staging-hv-storvsc-Cleanup-storvsc_drv.c-after-ad.patch
patches.suse/staging-hv-staging-next-20110829-0327-Staging-hv-storvsc-Add-the-contents-of-hyperv_sto.patch
patches.suse/staging-hv-staging-next-20110829-0328-Staging-hv-storvsc-Cleanup-storvsc_drv.c-after-ad.patch
patches.suse/staging-hv-staging-next-20110829-0329-Staging-hv-storvsc-Fixup-srb-and-scsi-status-for.patch
patches.suse/staging-hv-staging-next-20110829-0330-Staging-hv-storvsc-Fix-a-typo.patch
patches.suse/staging-hv-staging-next-20110829-0331-Staging-hv-storvsc-In-case-of-scsi-errors-offline.patch
patches.suse/staging-hv-staging-next-20110829-0332-Staging-hv-storvsc-No-need-to-copy-from-bounce-bu.patch
patches.suse/staging-hv-staging-next-20110829-0333-Staging-hv-util-Forcefully-shutdown-when-shutdown.patch
patches.suse/staging-hv-staging-next-20110829-0334-Staging-hv-util-Adjust-guest-time-in-a-process-co.patch
patches.suse/staging-hv-staging-next-20110829-0335-Staging-hv-vmbus-Check-before-invoking-the-channe.patch
patches.suse/staging-hv-staging-next-20110829-0336-Staging-hv-vmbus-Properly-deal-with-de-registerin.patch
patches.suse/staging-hv-staging-next-20110829-0337-Staging-hv-Fix-a-bug-in-vmbus_match.patch
patches.suse/staging-hv-staging-next-20110829-0338-Staging-hv-vmbus-Get-rid-of-vmbus_on_isr-by-inl.patch
patches.suse/staging-hv-staging-next-20110829-0339-Staging-hv-vmbus-Do-not-enable-auto-eoi.patch
patches.suse/staging-hv-staging-next-20110829-0340-Staging-hv-vmbus-Fixup-indentation-in-vmbus_acpi_.patch
patches.suse/staging-hv-staging-next-20110829-0341-Staging-hv-vmbus-Get-rid-of-some-dated-redundant.patch
patches.suse/staging-hv-staging-next-20110829-0342-Staging-hv-vmbus-Get-rid-of-an-unnecessary-check.patch
patches.suse/staging-hv-staging-next-20110829-0343-Staging-hv-vmbus-Fix-a-checkpatch-warning-in-ring.patch
patches.suse/staging-hv-staging-next-20110829-0344-Staging-hv-vmbus-Fix-checkpatch-warnings-in-conne.patch
patches.suse/staging-hv-staging-next-20110829-0345-Staging-hv-mousevsc-Fix-checkpatch-errors-and-war.patch
patches.suse/staging-hv-staging-next-20110829-0346-Staging-hv-netvsc-return-negative-error-codes.patch
patches.suse/staging-hv-staging-next-20111001-0051-Staging-hv-util-Deal-with-driver-register-failure.patch
patches.suse/staging-hv-staging-next-20111001-0052-Staging-hv-vmbus-Fix-a-bug-in-error-handling-in-v.patch
patches.suse/staging-hv-staging-next-20111001-0053-Staging-hv-vmbus-Check-for-events-before-messages.patch
patches.suse/staging-hv-staging-next-20111001-0054-Staging-hv-vmbus-Cleanup-the-code-in-process_chn_.patch
patches.suse/staging-hv-staging-next-20111001-0055-staging-hv-remove-unnecessary-includes-in-netvsc.patch
patches.suse/staging-hv-staging-next-20111001-0056-staging-hv-add-newline-to-log-messages-in-netvsc.patch
patches.suse/staging-hv-staging-next-20111001-0057-staging-hv-convert-dev_-loglevel-to-netdev_-logle.patch
patches.suse/staging-hv-staging-next-20111001-0058-staging-hv-fix-a-kernel-warning-in-netvsc_linkstat.patch
patches.suse/staging-hv-staging-next-20111001-0059-staging-hv-re-order-the-code-in-netvsc_probe.patch
patches.suse/staging-hv-staging-next-20111001-0060-staging-hv-fix-counting-of-outstanding-sends-in-f.patch
patches.suse/staging-hv-staging-next-20111001-0061-staging-hv-fix-counting-of-available-buffer-slots.patch
patches.suse/staging-hv-staging-next-20111001-0062-staging-hv-fix-the-return-status-of-netvsc_start_x.patch
patches.suse/staging-hv-staging-next-20111001-0063-staging-hv-fix-the-page-buffer-when-rndis-data-go.patch
patches.suse/staging-hv-staging-next-20111001-0064-staging-hv-fix-some-typos-in-netvsc.c.patch
patches.suse/staging-hv-staging-next-20111001-0065-Staging-hv-Update-TODO-file.patch
patches.suse/staging-hv-staging-next-20111001-0066-Staging-hv-vmbus-Show-the-modalias-in-sys-bus-vm.patch
patches.suse/staging-hv-staging-next-20111001-0129-Staging-hv-Add-support-for-2-TB-LUN-in-storage-dr.patch
patches.suse/staging-hv-staging-next-20111001-0243-Staging-hv-vmbus-Rename-vmbus_child_device_create.patch
patches.suse/staging-hv-staging-next-20111001-0244-Staging-hv-vmbus-Rename-vmbus_child_device_regist.patch
patches.suse/staging-hv-staging-next-20111001-0245-Staging-hv-vmbus-Rename-vmbus_child_device_unregi.patch
patches.suse/staging-hv-staging-next-20111001-0246-Staging-hv-vmbus-Cleanup-dated-comments-in-channe.patch
patches.suse/staging-hv-staging-next-20111001-0293-Staging-hv-vmbus-Introduce-a-utility-function-to.patch
patches.suse/staging-hv-staging-next-20111001-0294-Staging-hv-vmbus-Change-the-signature-of-struct-h.patch
patches.suse/staging-hv-staging-next-20111001-0295-Staging-hv-storvsc-Use-the-driver_data-to-identif.patch
patches.suse/staging-hv-staging-next-20111001-0296-Staging-hv-vmbus-Introduce-functions-for-setting.patch
patches.suse/staging-hv-staging-next-20111001-0297-Staging-hv-vmbus-Cleanup-vmbus_remove.patch
patches.suse/staging-hv-staging-next-20111001-0298-Staging-hv-storvsc-Get-rid-of-storvsc_dev_add-b.patch
patches.suse/staging-hv-staging-next-20111001-0299-Staging-hv-storvsc-Get-rid-of-alloc_stor_device.patch
patches.suse/staging-hv-staging-next-20111001-0300-Staging-hv-storvsc-Get-rid-of-some-unnecessary-st.patch
patches.suse/staging-hv-staging-next-20111001-0301-Staging-hv-storvsc-Eliminate-the-usage-of-ext-fie.patch
patches.suse/staging-hv-staging-next-20111001-0302-Staging-hv-netvsc-Get-rid-of-the-usage-of-the-ext.patch
patches.suse/staging-hv-staging-next-20111001-0303-Staging-hv-mousevsc-Get-rid-of-the-usage-of-the-e.patch
patches.suse/staging-hv-staging-next-20111001-0304-Staging-hv-vmbus-Get-rid-of-the-ext-field-in-stru.patch
patches.suse/staging-hv-staging-next-20111001-0305-Staging-hv-vmbus-Do-not-allocate-struct-hv_device.patch
patches.suse/staging-hv-staging-next-20111001-0306-Staging-hv-vmbus-Get-rid-of-the-module-dependency.patch
patches.suse/staging-hv-staging-next-20111001-0307-Staging-hv-netvsc-Rename-netDevice-as-net_device.patch
patches.suse/staging-hv-staging-next-20111001-0308-Staging-hv-netvsc-Rename-rndisDevice-to-rndis_dev.patch
patches.suse/staging-hv-staging-next-20111001-0309-Staging-hv-netvsc-Rename-deviceInfo-as-device_inf.patch
patches.suse/staging-hv-staging-next-20111001-0310-Staging-hv-netvsc-Cleanup-the-name-and-type-of-li.patch
patches.suse/staging-hv-staging-next-20111001-0421-Staging-hv-util-Perform-some-service-specific-ini.patch
patches.suse/staging-hv-staging-next-20111001-0422-Staging-hv-util-Properly-handle-util-services-in.patch
patches.suse/staging-hv-staging-next-20111001-0423-Staging-hv-vmbus-Get-rid-of-hv_cb_utils-and-oth.patch
patches.suse/staging-hv-staging-next-20111001-0476-Staging-hv-Update-the-TODO-file.patch
patches.suse/staging-hv-staging-next-20111001-0479-staging-hv-remove-the-carrier-status-check-from-ne.patch
patches.suse/staging-hv-staging-next-20111001-0579-Staging-hv-mousevsc-Fixup-struct-hv_input_dev_inf.patch
patches.suse/staging-hv-staging-next-20111001-0580-Staging-hv-mousevsc-Get-rid-of-the-struct-input_d.patch
patches.suse/staging-hv-staging-next-20111001-0581-Staging-hv-mousevsc-Fixup-some-bogus-WARN_ON-ca.patch
patches.suse/staging-hv-staging-next-20111001-0582-Staging-hv-mousevsc-Change-the-allocation-flags-t.patch
patches.suse/staging-hv-staging-next-20111001-0583-Staging-hv-mousevsc-Handle-the-case-where-we-may.patch
patches.suse/staging-hv-staging-next-20111001-0584-Staging-hv-mousevsc-Correctly-initialize-the-head.patch
patches.suse/staging-hv-staging-next-20111001-0585-Staging-hv-mousevsc-Use-completion-primitive-to-s.patch
patches.suse/staging-hv-staging-next-20111001-0586-Staging-hv-mousevsc-Cleanup-and-properly-implemen.patch
patches.suse/staging-hv-staging-next-20111001-0587-Staging-hv-mousevsc-Get-rid-of-unnecessary-DPRINT.patch
patches.suse/staging-hv-staging-next-20111001-0588-Staging-hv-mousevsc-Cleanup-error-handling.patch
patches.suse/staging-hv-staging-next-20111001-0589-Staging-hv-mousevsc-Get-rid-of-unnecessary-pr_-c.patch
patches.suse/staging-hv-staging-next-20111001-0590-Staging-hv-mousevsc-Free-allocated-memory-in-free.patch
patches.suse/staging-hv-staging-next-20111001-0591-Staging-hv-mousevsc-Get-rid-of-the-unused-state.patch
patches.suse/staging-hv-staging-next-20111001-0592-Staging-hv-mousevsc-Cleanup-alloc_input_device.patch
patches.suse/staging-hv-staging-next-20111001-0593-Staging-hv-mousevsc-Get-rid-of-mousevsc_on_send_c.patch
patches.suse/staging-hv-staging-next-20111001-0594-Staging-hv-mousevsc-Cleanup-mousevsc_connect_to_v.patch
patches.suse/staging-hv-staging-next-20111001-0595-Staging-hv-mousevsc-Get-rid-of-mousevsc_on_device.patch
patches.suse/staging-hv-staging-next-20111001-0596-Staging-hv-mousevsc-Now-cleanup-mousevsc_remove.patch
patches.suse/staging-hv-staging-next-20111001-0597-Staging-hv-mousevsc-Get-rid-of-ref_count-state-in.patch
patches.suse/staging-hv-staging-next-20111001-0598-Staging-hv-mousevsc-Cleanup-camel-cased-enums.patch
patches.suse/staging-hv-staging-next-20111001-0599-Staging-hv-mousevsc-Get-rid-of-mousevsc_on_receiv.patch
patches.suse/staging-hv-staging-next-20111001-0600-Staging-hv-mousevsc-Cleanup-mousevsc_on_device_ad.patch
patches.suse/staging-hv-staging-next-20111001-0601-Staging-hv-mousevsc-Enable-autoloading-of-the-mou.patch
patches.suse/staging-hv-staging-next-20111001-0602-Staging-hv-mousevsc-Get-rid-of-unnecessary-commen.patch
patches.suse/staging-hv-util-fix-a-bug-in-kvp-implementation.patch
patches.suse/staging-hv-util-invoke-cn_netlink_send-in-a-work-context.patch
patches.suse/staging-hv-netvsc-rndis_filter_receive-dereferencing-issue.patch
patches.suse/staging-hv-storvsc-scsi-proc_name.patch
patches.suse/staging-hv-netvsc-module-name.patch
patches.suse/staging-hv-storvsc-module-name.patch
patches.suse/staging-hv-pata_piix-ignore-disks.patch
patches.suse/staging-hv-bind-hv_blkkvsc-to-hv_storvsc.patch
patches.suse/staging-hv-storvsc-ignore-SET_WINDOW.patch
patches.fixes/parport-mutex patches.fixes/parport-mutex
patches.suse/no-partition-scan # Needs updating WRT d27769ec (block: add GENHD_FL_NO_PART_SCAN)
+hare patches.suse/no-partition-scan
######################################################## ########################################################
# Other drivers we have added to the tree # Other drivers we have added to the tree
@ -669,6 +453,7 @@
patches.suse/dm-raid45-api-update-no-barriers patches.suse/dm-raid45-api-update-no-barriers
patches.suse/dm-raid45-api-2.6.39 patches.suse/dm-raid45-api-2.6.39
patches.suse/dm-raid45-api-3.0 patches.suse/dm-raid45-api-3.0
patches.suse/dm-raid45-split-dependencies
patches.fixes/dm-mpath-reattach-dh patches.fixes/dm-mpath-reattach-dh
patches.suse/dm-mpath-leastpending-path-update patches.suse/dm-mpath-leastpending-path-update
patches.suse/dm-mpath-accept-failed-paths patches.suse/dm-mpath-accept-failed-paths
@ -717,6 +502,7 @@
patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops
patches.suse/no-frame-pointer-select patches.suse/no-frame-pointer-select
patches.arch/x86_64-unwind-annotations patches.arch/x86_64-unwind-annotations
patches.arch/stack-unwind-cfi_ignore-takes-more-arguments
######################################################## ########################################################
# Kdump # Kdump
@ -769,10 +555,12 @@
# split out patches # split out patches
patches.xen/kexec-move-segment-code-i386.patch patches.xen/kexec-move-segment-code-i386.patch
patches.xen/kexec-move-segment-code-x86_64.patch patches.xen/kexec-move-segment-code-x86_64.patch
patches.xen/frontswap-structure-changes patches.xen/frontswap-header
patches.xen/frontswap-core
patches.xen/frontswap-hooks patches.xen/frontswap-hooks
patches.xen/frontswap-core
patches.xen/frontswap-config patches.xen/frontswap-config
patches.xen/cleancache-update
patches.xen/frontswap-cleancache-invalidate
patches.xen/ipv6-no-autoconf patches.xen/ipv6-no-autoconf
patches.xen/pci-guestdev patches.xen/pci-guestdev
patches.xen/pci-reserve patches.xen/pci-reserve
@ -828,6 +616,9 @@
patches.xen/xen3-patch-2.6.39 patches.xen/xen3-patch-2.6.39
patches.xen/xen3-patch-3.0 patches.xen/xen3-patch-3.0
patches.xen/xen3-patch-3.1 patches.xen/xen3-patch-3.1
patches.xen/xen3-patch-3.2-rc3
patches.xen/xen3-patch-3.2-rc4-rc5
patches.xen/xen3-patch-3.2-rc5-rc6
patches.xen/xen3-apei_allow_drivers_access_nvs_ram.patch patches.xen/xen3-apei_allow_drivers_access_nvs_ram.patch
patches.xen/xen3-acpi_implement_overriding_of_arbitrary_acpi_tables_via_initrd.patch patches.xen/xen3-acpi_implement_overriding_of_arbitrary_acpi_tables_via_initrd.patch
patches.xen/xen3-stack-unwind patches.xen/xen3-stack-unwind
@ -841,6 +632,7 @@
patches.xen/xen-clockevents patches.xen/xen-clockevents
patches.xen/xen-spinlock-poll-early patches.xen/xen-spinlock-poll-early
patches.xen/xen-pcpu-hotplug patches.xen/xen-pcpu-hotplug
patches.xen/xen-pcpu-hotplug-kexec
patches.xen/xen-mem-hotplug patches.xen/xen-mem-hotplug
patches.xen/xen-swiotlb-heuristics patches.xen/xen-swiotlb-heuristics
patches.xen/xen-configurable-guest-devices patches.xen/xen-configurable-guest-devices
@ -871,11 +663,10 @@
patches.xen/xen-x86-bigmem patches.xen/xen-x86-bigmem
patches.xen/xen-x86-exit-mmap patches.xen/xen-x86-exit-mmap
patches.xen/xen-x86-per-cpu-vcpu-info patches.xen/xen-x86-per-cpu-vcpu-info
patches.xen/xen-x86-msr-on-pcpu patches.xen/xen-x86-pcpu
patches.xen/xen-x86-EFI patches.xen/xen-x86-EFI
patches.xen/xen-x86_64-pgd-pin patches.xen/xen-x86_64-pgd-pin
patches.xen/xen-x86_64-pgd-alloc-order patches.xen/xen-x86_64-pgd-alloc-order
patches.xen/xen-x86_64-dump-user-pgt patches.xen/xen-x86_64-dump-user-pgt
patches.xen/xen-x86_64-note-init-p2m patches.xen/xen-x86_64-note-init-p2m
patches.xen/xen-x86_64-unmapped-initrd patches.xen/xen-x86_64-unmapped-initrd
- patches.xen/xencons-tty_mutex.patch

View File

@ -1,3 +1,3 @@
2011-11-03 15:45:45 +0100 2011-12-22 16:05:54 +0100
GIT Revision: 187dde0ccea287064d61786473334521ecf7d610 GIT Revision: c4246bfd79a359b8b89be8885bd7711f99b2e8c6
GIT Branch: master GIT Branch: master

View File

@ -0,0 +1,79 @@
#!/bin/bash
#############################################################################
# Copyright (c) 2011 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#############################################################################
# If make fails, check if it happened due to a staging driver and disable it.
# That way, staging does not spoil automatic package building and we also
# do not need to worry about forgetting to reenable manually disabled drivers.
if test -L source; then
source="source"
else
source="."
fi
makefile="$source/drivers/staging/Makefile"
skipped_options=staging-skipped-options
logfile=$1
if test -z "$logfile"; then
echo "Usage: $0 logfile" >&2
exit 1
fi
if ! test -f "$logfile"; then
echo "$logfile not found" >&2
exit 1
fi
# safety precaution
if test "0$(wc -l "$skipped_options" 2>/dev/null)" -gt 20; then
echo "Possible loop detected in $0, exiting after 20 attempts" >&2
exit 1
fi
# find out if the error happened in drivers/staging
dir=$(sed -rn 's@.*/drivers/staging/([^/]*)/.*: error: .*@\1@p; T; q' "$logfile")
if test -z "$dir"; then
exit 1
else
echo "Build failed due to drivers/staging/$dir"
fi
option=$(sed -n 's/obj-\$(\(.*\))[[:space:]]*+=[[:space:]]*'"$dir"'\//\1/p' "$makefile")
if test -z "$option"; then
echo "Cannot determine config option to skip drivers/staging/$dir" >&2
exit 1
fi
# we need to be carefull not to loop endlessly
if grep -qsFx "$option" "$skipped_options"; then
echo "$option has already been disabled, but drivers/staging/$dir is still failing" >&2
exit 1
fi
echo "Trying to disable $option"
"$source/scripts/config" --disable "$option"
if ! make silentoldconfig $MAKE_ARGS || grep "^$option" .config; then
echo "Could not disable $option" >&2
exit 1
fi
echo "$option" >>"$skipped_options"
exit 0