Jesse Keating 2f82dd
# We have to override the new %%install behavior because, well... the kernel is special.
Jesse Keating 2f82dd
%global __spec_install_pre %{___build_pre}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Summary: The Linux kernel
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# For a stable, released kernel, released_kernel should be 1. For rawhide
Jesse Keating 2f82dd
# and/or a kernel built from an rc or git snapshot, released_kernel should
Jesse Keating 2f82dd
# be 0.
Jesse Keating 2f82dd
%global released_kernel 1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Save original buildid for later if it's defined
Jesse Keating 2f82dd
%if 0%{?buildid:1}
Jesse Keating 2f82dd
%global orig_buildid %{buildid}
Jesse Keating 2f82dd
%undefine buildid
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###################################################################
Jesse Keating 2f82dd
# Polite request for people who spin their own kernel rpms:
Jesse Keating 2f82dd
# please modify the "buildid" define in a way that identifies
Jesse Keating 2f82dd
# that the kernel isn't the stock distribution kernel, for example,
Jesse Keating 2f82dd
# by setting the define to ".local" or ".bz123456". This will be
Jesse Keating 2f82dd
# appended to the full kernel version.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# (Uncomment the '#' and the first two spaces below to set buildid.)
Jesse Keating 2f82dd
# % define buildid .local
Jesse Keating 2f82dd
###################################################################
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# The buildid can also be specified on the rpmbuild command line
Jesse Keating 2f82dd
# by adding --define="buildid .whatever". If both the specfile and
Jesse Keating 2f82dd
# the environment define a buildid they will be concatenated together.
Jesse Keating 2f82dd
%if 0%{?orig_buildid:1}
Jesse Keating 2f82dd
%if 0%{?buildid:1}
Jesse Keating 2f82dd
%global srpm_buildid %{buildid}
Jesse Keating 2f82dd
%define buildid %{srpm_buildid}%{orig_buildid}
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define buildid %{orig_buildid}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Chuck Ebbert addbb8
# baserelease defines which build revision of this kernel version we're
Chuck Ebbert addbb8
# building.  We used to call this fedora_build, but the magical name
Chuck Ebbert addbb8
# baserelease is matched by the rpmdev-bumpspec tool, which you should use.
Jesse Keating 2f82dd
#
Chuck Ebbert addbb8
# We used to have some extra magic weirdness to bump this automatically,
Chuck Ebbert addbb8
# but now we don't.  Just use: rpmdev-bumpspec -c 'comment for changelog'
Chuck Ebbert addbb8
# When changing base_sublevel below or going from rc to a final kernel,
Chuck Ebbert addbb8
# reset this by hand to 1 (or to 0 and then use rpmdev-bumpspec).
Chuck Ebbert addbb8
# scripts/rebase.sh should be made to do that for you, actually.
Chuck Ebbert addbb8
#
Chuck Ebbert b9204c
%global baserelease 167
Chuck Ebbert addbb8
%global fedora_build %{baserelease}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# base_sublevel is the kernel version we're starting with and patching
Jesse Keating 2f82dd
# on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base,
Jesse Keating 2f82dd
# which yields a base_sublevel of 21.
Jesse Keating 2f82dd
%define base_sublevel 32
Jesse Keating 2f82dd
Jesse Keating 2f82dd
## If this is a released kernel ##
Jesse Keating 2f82dd
%if 0%{?released_kernel}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Do we have a -stable update to apply?
Chuck Ebbert 4db245
%define stable_update 21
Jesse Keating 2f82dd
# Is it a -stable RC?
Chuck Ebbert 8ac8e9
%define stable_rc 0
Jesse Keating 2f82dd
# Set rpm version accordingly
Jesse Keating 2f82dd
%if 0%{?stable_update}
Jesse Keating 2f82dd
%define stablerev .%{stable_update}
Jesse Keating 2f82dd
%define stable_base %{stable_update}
Jesse Keating 2f82dd
%if 0%{?stable_rc}
Jesse Keating 2f82dd
# stable RCs are incremental patches, so we need the previous stable patch
Jesse Keating 2f82dd
%define stable_base %(echo $((%{stable_update} - 1)))
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%define rpmversion 2.6.%{base_sublevel}%{?stablerev}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
## The not-released-kernel case ##
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
# The next upstream release sublevel (base_sublevel+1)
Jesse Keating 2f82dd
%define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
Jesse Keating 2f82dd
# The rc snapshot level
Jesse Keating 2f82dd
%define rcrev 0
Jesse Keating 2f82dd
# The git snapshot level
Jesse Keating 2f82dd
%define gitrev 0
Jesse Keating 2f82dd
# Set rpm version accordingly
Jesse Keating 2f82dd
%define rpmversion 2.6.%{upstream_sublevel}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
# Nb: The above rcrev and gitrev values automagically define Patch00 and Patch01 below.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# What parts do we want to build?  We must build at least one kernel.
Jesse Keating 2f82dd
# These are the kernels that are built IF the architecture allows it.
Jesse Keating 2f82dd
# All should default to 1 (enabled) and be flipped to 0 (disabled)
Jesse Keating 2f82dd
# by later arch-specific checks.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# The following build options are enabled by default.
Jesse Keating 2f82dd
# Use either --without <opt> in your rpmbuild command or force values
Jesse Keating 2f82dd
# to 0 in here to disable them.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# standard kernel
Jesse Keating 2f82dd
%define with_up        %{?_without_up:        0} %{?!_without_up:        1}
Jesse Keating 2f82dd
# kernel-smp (only valid for ppc 32-bit)
Jesse Keating 2f82dd
%define with_smp       %{?_without_smp:       0} %{?!_without_smp:       1}
Jesse Keating 2f82dd
# kernel-kdump
Jesse Keating 2f82dd
%define with_kdump     %{?_without_kdump:     0} %{?!_without_kdump:     1}
Jesse Keating 2f82dd
# kernel-debug
Jesse Keating 2f82dd
%define with_debug     %{?_without_debug:     0} %{?!_without_debug:     1}
Jesse Keating 2f82dd
# kernel-doc
Jesse Keating 2f82dd
%define with_doc       %{?_without_doc:       0} %{?!_without_doc:       1}
Jesse Keating 2f82dd
# kernel-headers
Jesse Keating 2f82dd
%define with_headers   %{?_without_headers:   0} %{?!_without_headers:   1}
Jesse Keating 2f82dd
# kernel-firmware
Jesse Keating 2f82dd
%define with_firmware  %{?_with_firmware:     1} %{?!_with_firmware:     0}
Jesse Keating 2f82dd
# tools/perf
Jesse Keating 2f82dd
%define with_perftool  %{?_without_perftool:  0} %{?!_without_perftool:  1}
Jesse Keating 2f82dd
# perf noarch subpkg
Jesse Keating 2f82dd
%define with_perf      %{?_without_perf:      0} %{?!_without_perf:      1}
Jesse Keating 2f82dd
# kernel-debuginfo
Jesse Keating 2f82dd
%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
Jesse Keating 2f82dd
# kernel-bootwrapper (for creating zImages from kernel + initrd)
Jesse Keating 2f82dd
%define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
Jesse Keating 2f82dd
# Want to build a the vsdo directories installed
Jesse Keating 2f82dd
%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
Jesse Keating 2f82dd
# Use dracut instead of mkinitrd for initrd image generation
Jesse Keating 2f82dd
%define with_dracut       %{?_without_dracut:       0} %{?!_without_dracut:       1}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Build the kernel-doc package, but don't fail the build if it botches.
Jesse Keating 2f82dd
# Here "true" means "continue" and "false" means "fail the build".
Jesse Keating 2f82dd
%if 0%{?released_kernel}
Jesse Keating 2f82dd
%define doc_build_fail false
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define doc_build_fail true
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define rawhide_skip_docs 0
Jesse Keating 2f82dd
%if 0%{?rawhide_skip_docs}
Jesse Keating 2f82dd
%define with_doc 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Additional options for user-friendly one-off kernel building:
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# Only build the base kernel (--with baseonly):
Jesse Keating 2f82dd
%define with_baseonly  %{?_with_baseonly:     1} %{?!_with_baseonly:     0}
Jesse Keating 2f82dd
# Only build the smp kernel (--with smponly):
Jesse Keating 2f82dd
%define with_smponly   %{?_with_smponly:      1} %{?!_with_smponly:      0}
Jesse Keating 2f82dd
# Only build the debug kernel (--with dbgonly):
Jesse Keating 2f82dd
%define with_dbgonly   %{?_with_dbgonly:      1} %{?!_with_dbgonly:      0}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# should we do C=1 builds with sparse
Jesse Keating 2f82dd
%define with_sparse	%{?_with_sparse:      1} %{?!_with_sparse:      0}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Set debugbuildsenabled to 1 for production (build separate debug kernels)
Jesse Keating 2f82dd
#  and 0 for rawhide (all kernels are debug kernels).
Jesse Keating 2f82dd
# See also 'make debug' and 'make release'.
Jesse Keating 2f82dd
%define debugbuildsenabled 1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Want to build a vanilla kernel build without any non-upstream patches?
Jesse Keating 2f82dd
# (well, almost none, we need nonintconfig for build purposes). Default to 0 (off).
Jesse Keating 2f82dd
%define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# pkg_release is what we'll fill in for the rpm Release: field
Jesse Keating 2f82dd
%if 0%{?released_kernel}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if 0%{?stable_rc}
Jesse Keating 2f82dd
%define stable_rctag .rc%{stable_rc}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%define pkg_release %{fedora_build}%{?stable_rctag}%{?buildid}%{?dist}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# non-released_kernel
Jesse Keating 2f82dd
%if 0%{?rcrev}
Jesse Keating 2f82dd
%define rctag .rc%rcrev
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define rctag .rc0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%if 0%{?gitrev}
Jesse Keating 2f82dd
%define gittag .git%gitrev
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define gittag .git0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# The kernel tarball/base version
Jesse Keating 2f82dd
%define kversion 2.6.%{base_sublevel}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define make_target bzImage
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define KVERREL %{version}-%{release}.%{_target_cpu}
Jesse Keating 2f82dd
%define hdrarch %_target_cpu
Jesse Keating 2f82dd
%define asmarch %_target_cpu
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if 0%{!?nopatches:1}
Jesse Keating 2f82dd
%define nopatches 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_vanilla}
Jesse Keating 2f82dd
%define nopatches 1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{nopatches}
Jesse Keating 2f82dd
%define with_bootwrapper 0
Jesse Keating 2f82dd
%define variant -vanilla
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define variant_fedora -fedora
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define using_upstream_branch 0
Jesse Keating 2f82dd
%if 0%{?upstream_branch:1}
Jesse Keating 2f82dd
%define stable_update 0
Jesse Keating 2f82dd
%define using_upstream_branch 1
Jesse Keating 2f82dd
%define variant -%{upstream_branch}%{?variant_fedora}
Jesse Keating 2f82dd
%define pkg_release 0.%{fedora_build}%{upstream_branch_tag}%{?buildid}%{?dist}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if !%{debugbuildsenabled}
Jesse Keating 2f82dd
%define with_debug 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if !%{with_debuginfo}
Jesse Keating 2f82dd
%define _enable_debug_packages 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%define debuginfodir /usr/lib/debug
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# kernel-PAE is only built on i686.
Jesse Keating 2f82dd
%ifarch i686
Jesse Keating 2f82dd
%define with_pae 1
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define with_pae 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# if requested, only build base kernel
Jesse Keating 2f82dd
%if %{with_baseonly}
Jesse Keating 2f82dd
%define with_smp 0
Jesse Keating 2f82dd
%define with_kdump 0
Jesse Keating 2f82dd
%define with_debug 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# if requested, only build smp kernel
Jesse Keating 2f82dd
%if %{with_smponly}
Jesse Keating 2f82dd
%define with_up 0
Jesse Keating 2f82dd
%define with_kdump 0
Jesse Keating 2f82dd
%define with_debug 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# if requested, only build debug kernel
Jesse Keating 2f82dd
%if %{with_dbgonly}
Jesse Keating 2f82dd
%if %{debugbuildsenabled}
Jesse Keating 2f82dd
%define with_up 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%define with_smp 0
Jesse Keating 2f82dd
%define with_pae 0
Jesse Keating 2f82dd
%define with_xen 0
Jesse Keating 2f82dd
%define with_kdump 0
Jesse Keating 2f82dd
%define with_perftool 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define all_x86 i386 i686
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_vdso_install}
Jesse Keating 2f82dd
# These arches install vdso/ directories.
Jesse Keating 2f82dd
%define vdso_arches %{all_x86} x86_64 ppc ppc64
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Overrides for generic default options
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# only ppc and alphav56 need separate smp kernels
Jesse Keating 2f82dd
%ifnarch ppc alphaev56
Jesse Keating 2f82dd
%define with_smp 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# only build kernel-kdump on ppc64
Jesse Keating 2f82dd
# (no relocatable kernel support upstream yet)
Jesse Keating 2f82dd
#FIXME: Temporarily disabled to speed up builds.
Jesse Keating 2f82dd
#ifnarch ppc64
Jesse Keating 2f82dd
%define with_kdump 0
Jesse Keating 2f82dd
#endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# don't do debug builds on anything but i686 and x86_64
Jesse Keating 2f82dd
%ifnarch i686 x86_64
Jesse Keating 2f82dd
%define with_debug 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# only package docs noarch
Jesse Keating 2f82dd
%ifnarch noarch
Jesse Keating 2f82dd
%define with_doc 0
Jesse Keating 2f82dd
%define with_perf 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# don't build noarch kernels or headers (duh)
Jesse Keating 2f82dd
%ifarch noarch
Jesse Keating 2f82dd
%define with_up 0
Jesse Keating 2f82dd
%define with_headers 0
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-*.config
Jesse Keating 2f82dd
%define with_firmware  %{?_without_firmware:  0} %{?!_without_firmware:  1}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# bootwrapper is only on ppc
Jesse Keating 2f82dd
%ifnarch ppc ppc64
Jesse Keating 2f82dd
%define with_bootwrapper 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# sparse blows up on ppc64 alpha and sparc64
Jesse Keating 2f82dd
%ifarch ppc64 ppc alpha sparc64
Jesse Keating 2f82dd
%define with_sparse 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Per-arch tweaks
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch %{all_x86}
Jesse Keating 2f82dd
%define asmarch x86
Jesse Keating 2f82dd
%define hdrarch i386
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-i?86*.config
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define kernel_image arch/x86/boot/bzImage
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch x86_64
Jesse Keating 2f82dd
%define asmarch x86
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-x86_64*.config
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define kernel_image arch/x86/boot/bzImage
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch ppc64
Jesse Keating 2f82dd
%define asmarch powerpc
Jesse Keating 2f82dd
%define hdrarch powerpc
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-ppc64*.config
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define make_target vmlinux
Jesse Keating 2f82dd
%define kernel_image vmlinux
Jesse Keating 2f82dd
%define kernel_image_elf 1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch s390x
Jesse Keating 2f82dd
%define asmarch s390
Jesse Keating 2f82dd
%define hdrarch s390
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-s390x.config
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define make_target image
Jesse Keating 2f82dd
%define kernel_image arch/s390/boot/image
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch sparc
Jesse Keating 2f82dd
# We only build sparc headers since we dont support sparc32 hardware
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch sparc64
Jesse Keating 2f82dd
%define asmarch sparc
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-sparc64*.config
Jesse Keating 2f82dd
%define make_target image
Jesse Keating 2f82dd
%define kernel_image arch/sparc/boot/image
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define with_perftool 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch ppc
Jesse Keating 2f82dd
%define asmarch powerpc
Jesse Keating 2f82dd
%define hdrarch powerpc
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-ppc{-,.}*config
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define make_target vmlinux
Jesse Keating 2f82dd
%define kernel_image vmlinux
Jesse Keating 2f82dd
%define kernel_image_elf 1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch ia64
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-ia64*.config
Jesse Keating 2f82dd
%define image_install_path boot/efi/EFI/redhat
Jesse Keating 2f82dd
%define make_target compressed
Jesse Keating 2f82dd
%define kernel_image vmlinux.gz
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch alpha alphaev56
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-alpha*.config
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define make_target vmlinux
Jesse Keating 2f82dd
%define kernel_image vmlinux
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch %{arm}
Jesse Keating 2f82dd
%define all_arch_configs kernel-%{version}-arm*.config
Jesse Keating 2f82dd
%define image_install_path boot
Jesse Keating 2f82dd
%define hdrarch arm
Jesse Keating 2f82dd
%define make_target vmlinux
Jesse Keating 2f82dd
%define kernel_image vmlinux
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{nopatches}
Jesse Keating 2f82dd
# XXX temporary until last vdso patches are upstream
Jesse Keating 2f82dd
%define vdso_arches ppc ppc64
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{nopatches}%{using_upstream_branch}
Jesse Keating 2f82dd
# Ignore unknown options in our config-* files.
Jesse Keating 2f82dd
# Some options go with patches we're not applying.
Jesse Keating 2f82dd
%define oldconfig_target loose_nonint_oldconfig
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define oldconfig_target nonint_oldconfig
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# To temporarily exclude an architecture from being built, add it to
Jesse Keating 2f82dd
# %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
Jesse Keating 2f82dd
# don't build kernel-headers then the new build system will no longer let
Jesse Keating 2f82dd
# us use the previous build of that package -- it'll just be completely AWOL.
Jesse Keating 2f82dd
# Which is a BadThing(tm).
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# We don't build a kernel on i386; we only do kernel-headers there,
Jesse Keating 2f82dd
# and we no longer build for 31bit S390. Same for 32bit sparc and arm.
Jesse Keating 2f82dd
%define nobuildarches i386 s390 sparc %{arm}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch %nobuildarches
Jesse Keating 2f82dd
%define with_up 0
Jesse Keating 2f82dd
%define with_smp 0
Jesse Keating 2f82dd
%define with_pae 0
Jesse Keating 2f82dd
%define with_kdump 0
Jesse Keating 2f82dd
%define with_debuginfo 0
Jesse Keating 2f82dd
%define with_perftool 0
Jesse Keating 2f82dd
%define _enable_debug_packages 0
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define with_pae_debug 0
Jesse Keating 2f82dd
%if %{with_pae}
Jesse Keating 2f82dd
%define with_pae_debug %{with_debug}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# Three sets of minimum package version requirements in the form of Conflicts:
Jesse Keating 2f82dd
# to versions below the minimum
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# First the general kernel 2.6 required versions as per
Jesse Keating 2f82dd
# Documentation/Changes
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_dot_org_conflicts  ppp < 2.4.3-3, isdn4k-utils < 3.2-32, nfs-utils < 1.0.7-12, e2fsprogs < 1.37-4, util-linux < 2.12, jfsutils < 1.1.7-2, reiserfs-utils < 3.6.19-2, xfsprogs < 2.6.13-4, procps < 3.2.5-6.3, oprofile < 0.9.1-2
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# Then a series of requirements that are distribution specific, either
Jesse Keating 2f82dd
# because we add patches for something, or the older versions have
Jesse Keating 2f82dd
# problems with the newer kernel or lack certain things that make
Jesse Keating 2f82dd
# integration in the distro harder than needed.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define package_conflicts initscripts < 7.23, udev < 063-6, iptables < 1.3.2-1, ipw2200-firmware < 2.4, iwl4965-firmware < 228.57.2, selinux-policy-targeted < 1.25.3-14, squashfs-tools < 4.0, wireless-tools < 29-3
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# The ld.so.conf.d file we install uses syntax older ldconfig's don't grok.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_xen_conflicts glibc < 2.3.5-1, xen < 3.0.1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define kernel_PAE_obsoletes kernel-smp < 2.6.17, kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
Jesse Keating 2f82dd
%define kernel_PAE_provides kernel-xen = %{rpmversion}-%{pkg_release}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%ifarch x86_64
Jesse Keating 2f82dd
%define kernel_obsoletes kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
Jesse Keating 2f82dd
%define kernel_provides kernel-xen = %{rpmversion}-%{pkg_release}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# We moved the drm include files into kernel-headers, make sure there's
Jesse Keating 2f82dd
# a recent enough libdrm-devel on the system that doesn't have those.
Jesse Keating 2f82dd
%define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# Packages that need to be installed before the kernel is, because the %post
Jesse Keating 2f82dd
# scripts use them.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, kernel-firmware >= %{rpmversion}-%{pkg_release}, grubby >= 7.0.4-1
Jesse Keating 2f82dd
%if %{with_dracut}
Jesse Keating 2f82dd
%define initrd_prereq  dracut >= 002 xorg-x11-drv-ati-firmware
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define initrd_prereq  mkinitrd >= 6.0.61-1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro does requires, provides, conflicts, obsoletes for a kernel package.
Jesse Keating 2f82dd
#	%%kernel_reqprovconf <subpackage>
Jesse Keating 2f82dd
# It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
Jesse Keating 2f82dd
# macros defined above.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_reqprovconf \
Jesse Keating 2f82dd
Provides: kernel = %{rpmversion}-%{pkg_release}\
Jesse Keating 2f82dd
Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\
Jesse Keating 2f82dd
Provides: kernel-drm = 4.3.0\
Jesse Keating 2f82dd
Provides: kernel-drm-nouveau = 15\
Jesse Keating 2f82dd
Provides: kernel-modeset = 1\
Jesse Keating 2f82dd
Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\
Jesse Keating 2f82dd
Requires(pre): %{kernel_prereq}\
Jesse Keating 2f82dd
Requires(pre): %{initrd_prereq}\
Jesse Keating 2f82dd
Requires(post): /sbin/new-kernel-pkg\
Jesse Keating 2f82dd
Requires(preun): /sbin/new-kernel-pkg\
Jesse Keating 2f82dd
Conflicts: %{kernel_dot_org_conflicts}\
Jesse Keating 2f82dd
Conflicts: %{package_conflicts}\
Jesse Keating 2f82dd
%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
Jesse Keating 2f82dd
%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
Jesse Keating 2f82dd
%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
Jesse Keating 2f82dd
# We can't let RPM do the dependencies automatic because it'll then pick up\
Jesse Keating 2f82dd
# a correct but undesirable perl dependency from the module headers which\
Jesse Keating 2f82dd
# isn't required for the kernel proper to function\
Jesse Keating 2f82dd
AutoReq: no\
Jesse Keating 2f82dd
AutoProv: yes\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Name: kernel%{?variant}
Jesse Keating 2f82dd
Group: System Environment/Kernel
Jesse Keating 2f82dd
License: GPLv2
Jesse Keating 2f82dd
URL: http://www.kernel.org/
Jesse Keating 2f82dd
Version: %{rpmversion}
Jesse Keating 2f82dd
Release: %{pkg_release}
Jesse Keating 2f82dd
# DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
Jesse Keating 2f82dd
# SET %%nobuildarches (ABOVE) INSTEAD
Jesse Keating 2f82dd
ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390x alpha alphaev56 %{arm}
Jesse Keating 2f82dd
ExclusiveOS: Linux
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%kernel_reqprovconf
Jesse Keating 2f82dd
%ifarch x86_64 sparc64
Jesse Keating 2f82dd
Obsoletes: kernel-smp
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# List the packages used during the kernel build
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
Jesse Keating 2f82dd
BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk
Jesse Keating 2f82dd
BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
Jesse Keating 2f82dd
BuildRequires: net-tools
Jesse Keating 2f82dd
BuildRequires: xmlto, asciidoc
Jesse Keating 2f82dd
%if %{with_sparse}
Jesse Keating 2f82dd
BuildRequires: sparse >= 0.4.1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%if %{with_perftool}
Jesse Keating 2f82dd
BuildRequires: elfutils-libelf-devel zlib-devel binutils-devel
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
BuildConflicts: rhbuildsys(DiskFree) < 500Mb
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define fancy_debuginfo 0
Jesse Keating 2f82dd
%if %{with_debuginfo}
Jesse Keating 2f82dd
%if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
Jesse Keating 2f82dd
%define fancy_debuginfo 1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{fancy_debuginfo}
Jesse Keating 2f82dd
# Fancy new debuginfo generation introduced in Fedora 8.
Jesse Keating 2f82dd
BuildRequires: rpm-build >= 4.4.2.1-4
Jesse Keating 2f82dd
%define debuginfo_args --strict-build-id
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source11: genkey
Jesse Keating 2f82dd
Source14: find-provides
Jesse Keating 2f82dd
Source15: merge.pl
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source20: Makefile.config
Jesse Keating 2f82dd
Source21: config-debug
Jesse Keating 2f82dd
Source22: config-nodebug
Jesse Keating 2f82dd
Source23: config-generic
Jesse Keating 2f82dd
Source24: config-rhel-generic
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source30: config-x86-generic
Jesse Keating 2f82dd
Source31: config-i686-PAE
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source40: config-x86_64-generic
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source50: config-powerpc-generic
Jesse Keating 2f82dd
Source51: config-powerpc32-generic
Jesse Keating 2f82dd
Source52: config-powerpc32-smp
Jesse Keating 2f82dd
Source53: config-powerpc64
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source60: config-ia64-generic
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source70: config-s390x
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source90: config-sparc64-generic
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source100: config-arm
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Source200: perf
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Here should be only the patches up to the upstream canonical Linus tree.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# For a stable release kernel
Jesse Keating 2f82dd
%if 0%{?stable_update}
Jesse Keating 2f82dd
%if 0%{?stable_base}
Jesse Keating 2f82dd
%define    stable_patch_00  patch-2.6.%{base_sublevel}.%{stable_base}.bz2
Jesse Keating 2f82dd
Patch00: %{stable_patch_00}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%if 0%{?stable_rc}
Jesse Keating 2f82dd
%define    stable_patch_01  patch-2.6.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.bz2
Jesse Keating 2f82dd
Patch01: %{stable_patch_01}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# non-released_kernel case
Jesse Keating 2f82dd
# These are automagically defined by the rcrev and gitrev values set up
Jesse Keating 2f82dd
# near the top of this spec file.
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%if 0%{?rcrev}
Jesse Keating 2f82dd
Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
Jesse Keating 2f82dd
%if 0%{?gitrev}
Jesse Keating 2f82dd
Patch01: patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
# pre-{base_sublevel+1}-rc1 case
Jesse Keating 2f82dd
%if 0%{?gitrev}
Jesse Keating 2f82dd
Patch00: patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{using_upstream_branch}
Jesse Keating 2f82dd
### BRANCH PATCH ###
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch02: git-linus.diff
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# we always need nonintconfig, even for -vanilla kernels
Jesse Keating 2f82dd
Patch03: linux-2.6-build-nonintconfig.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# we also need compile fixes for -vanilla
Jesse Keating 2f82dd
Patch04: linux-2.6-compile-fixes.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# build tweak for build ID magic, even for -vanilla
Jesse Keating 2f82dd
Patch05: linux-2.6-makefile-after_link.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if !%{nopatches}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# revert upstream patches we get via other methods
Jesse Keating 2f82dd
Patch09: linux-2.6-upstream-reverts.patch
Jesse Keating 2f82dd
# Git trees.
Jesse Keating 2f82dd
Patch10: git-cpufreq.patch
Jesse Keating 2f82dd
Patch11: git-bluetooth.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Standalone patches
Jesse Keating 2f82dd
Patch20: linux-2.6-hotfixes.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch21: linux-2.6-tracehook.patch
Jesse Keating 2f82dd
Patch22: linux-2.6-utrace.patch
Jesse Keating 2f82dd
Patch23: linux-2.6-utrace-ptrace.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch141: linux-2.6-ps3-storage-alias.patch
Jesse Keating 2f82dd
Patch143: linux-2.6-g5-therm-shutdown.patch
Jesse Keating 2f82dd
Patch144: linux-2.6-vio-modalias.patch
Jesse Keating 2f82dd
Patch147: linux-2.6-imac-transparent-bridge.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch150: linux-2.6.29-sparc-IOC_TYPECHECK.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch160: linux-2.6-execshield.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch250: linux-2.6-debug-sizeof-structs.patch
Jesse Keating 2f82dd
Patch260: linux-2.6-debug-nmi-timeout.patch
Jesse Keating 2f82dd
Patch270: linux-2.6-debug-taint-vm.patch
Jesse Keating 2f82dd
Patch300: linux-2.6-driver-level-usb-autosuspend.diff
Jesse Keating 2f82dd
Patch303: linux-2.6-enable-btusb-autosuspend.patch
Jesse Keating 2f82dd
Patch304: linux-2.6-usb-uvc-autosuspend.diff
Jesse Keating 2f82dd
Patch305: linux-2.6-usb-wwan-update.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch310: linux-2.6-autoload-wmi.patch
Jesse Keating 2f82dd
# wmi autoload fixes
Jesse Keating 2f82dd
Patch311: wmi-check-find_guid-return-value-to-prevent-oops.patch
Jesse Keating 2f82dd
Patch312: wmi-survive-bios-with-duplicate-guids.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch
Jesse Keating 2f82dd
Patch360: linux-2.6-debug-always-inline-kzalloc.patch
Jesse Keating 2f82dd
Patch380: linux-2.6-defaults-pci_no_msi.patch
Jesse Keating 2f82dd
Patch381: linux-2.6-pciehp-update.patch
Jesse Keating 2f82dd
Patch382: linux-2.6-defaults-pciehp.patch
Jesse Keating 2f82dd
Patch383: linux-2.6-defaults-aspm.patch
Jesse Keating 2f82dd
Patch384: pci-acpi-disable-aspm-if-no-osc.patch
Jesse Keating 2f82dd
Patch385: pci-aspm-dont-enable-too-early.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch390: linux-2.6-defaults-acpi-video.patch
Jesse Keating 2f82dd
Patch391: linux-2.6-acpi-video-dos.patch
Jesse Keating 2f82dd
Patch450: linux-2.6-input-kill-stupid-messages.patch
Jesse Keating 2f82dd
Patch451: linux-2.6-input-fix-toshiba-hotkeys.patch
Jesse Keating 2f82dd
Patch452: linux-2.6.30-no-pcspkr-modalias.patch
Jesse Keating 2f82dd
Patch454: linux-2.6-input-hid-quirk-egalax.patch
Jesse Keating 2f82dd
Patch455: thinkpad-acpi-add-x100e.patch
Jesse Keating 2f82dd
Patch456: thinkpad-acpi-fix-backlight.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch460: linux-2.6-serial-460800.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch470: die-floppy-die.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch510: linux-2.6-silence-noise.patch
Jesse Keating 2f82dd
Patch520: linux-2.6.30-hush-rom-warning.patch
Jesse Keating 2f82dd
Patch530: linux-2.6-silence-fbcon-logo.patch
Jesse Keating 2f82dd
Patch531: viafb-neuter-device-table.patch
Jesse Keating 2f82dd
Patch570: linux-2.6-selinux-mprotect-checks.patch
Jesse Keating 2f82dd
Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch600: linux-2.6-defaults-alsa-hda-beep-off.patch
Jesse Keating 2f82dd
Patch610: hda_intel-prealloc-4mb-dmabuffer.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch670: linux-2.6-ata-quirk.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch701: sky2-optima-add-register-definitions.patch
Jesse Keating 2f82dd
Patch702: sky2-optima-support.patch
Jesse Keating 2f82dd
Patch703: sky2-optima-fix-tcp-offload.patch
Jesse Keating 2f82dd
Patch704: sky2-optima-print-chip-name.patch
Jesse Keating 2f82dd
Patch705: sky2-optima-add-missing-write-bits.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch800: linux-2.6-crash-driver.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch900: linux-2.6-pci-cacheline-sizing.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch1515: lirc-2.6.32.patch
Jesse Keating 2f82dd
Patch1517: hdpvr-ir-enable.patch
Jesse Keating 2f82dd
Patch1520: crystalhd-2.6.34-staging.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# virt + ksm patches
Jesse Keating 2f82dd
Patch1551: linux-2.6-ksm-kvm.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# fbdev multi-card fix
Jesse Keating 2f82dd
Patch1700: linux-2.6-x86-64-fbdev-primary.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# nouveau + drm fixes
Jesse Keating 2f82dd
Patch1810: drm-upgrayedd.patch
Chuck Ebbert f2a8ac
Patch1811: drm-upgrayed-fixes.patch
Jesse Keating 2f82dd
Patch1813: drm-radeon-pm.patch
Jesse Keating 2f82dd
#Patch1814: drm-nouveau.patch
Jesse Keating 2f82dd
Patch1818: drm-i915-resume-force-mode.patch
Jesse Keating 2f82dd
Patch1819: drm-intel-big-hammer.patch
Jesse Keating 2f82dd
Patch1820: drm-intel-no-tv-hotplug.patch
Jesse Keating 2f82dd
Patch1823: drm-intel-945gm-stability-fixes.patch
Jesse Keating 2f82dd
# intel drm is all merged upstream
Jesse Keating 2f82dd
Patch1824: drm-intel-next.patch
Jesse Keating 2f82dd
Patch1825: drm-intel-acpi-populate-didl.patch
Jesse Keating 2f82dd
Patch1826: drm-intel-make-lvds-work.patch
Jesse Keating 2f82dd
#Patch1827: linux-2.6-intel-agp-clear-gtt.patch
Jesse Keating 2f82dd
Patch1828: drm-nouveau-g80-ctxprog.patch
Jesse Keating 2f82dd
Patch1831: drm-nouveau-tvout-disable.patch
Jesse Keating 2f82dd
Patch1832: drm-nouveau-safetile-getparam.patch
Jesse Keating 2f82dd
Patch1844: drm-nouveau-kconfig.patch
Jesse Keating 2f82dd
Patch1845: drm-nouveau-mutex.patch
Jesse Keating 2f82dd
Patch1846: drm-nouveau-update.patch
Jesse Keating 2f82dd
Patch1847: drm-nouveau-d620.patch
Chuck Ebbert c2055f
Patch1848: drm-nouveau-nva3-noaccel.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# kludge to make ich9 e1000 work
Jesse Keating 2f82dd
Patch2000: linux-2.6-e1000-ich9.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch2100: linux-2.6-phylib-autoload.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# linux1394 git patches
Jesse Keating 2f82dd
Patch2200: linux-2.6-firewire-git-update.patch
Jesse Keating 2f82dd
Patch2201: linux-2.6-firewire-git-pending.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Quiet boot fixes
Jesse Keating 2f82dd
# silence the ACPI blacklist code
Jesse Keating 2f82dd
Patch2802: linux-2.6-silence-acpi-blacklist.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch2899: linux-2.6-v4l-dvb-fixes.patch
Jesse Keating 2f82dd
Patch2900: linux-2.6-v4l-dvb-update.patch
Jesse Keating 2f82dd
Patch2901: linux-2.6-v4l-dvb-experimental.patch
Jesse Keating 2f82dd
Patch2903: linux-2.6-revert-dvb-net-kabi-change.patch
Jesse Keating 2f82dd
Patch2904: linux-2.6-v4l-dvb-rebase-gspca-to-latest.patch
Jesse Keating 2f82dd
Patch2905: linux-2.6-v4l-dvb-add-lgdt3304-support.patch
Jesse Keating 2f82dd
Patch2096: linux-2.6-v4l-dvb-add-kworld-a340-support.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# fs fixes
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# ext4/quota
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# NFSv4
Jesse Keating 2f82dd
Patch3050: linux-2.6-nfsd4-proots.patch
Jesse Keating 2f82dd
Patch3051: linux-2.6-nfs4-callback-hidden.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# btrfs
Jesse Keating 2f82dd
Patch3101: btrfs-prohibit-a-operation-of-changing-acls-mask-when-noacl-mount-option-is-used.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# XFS
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# VIA Nano / VX8xx updates
Jesse Keating 2f82dd
Patch11010: via-hwmon-temp-sensor.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# patches headed upstream
Jesse Keating 2f82dd
Patch12010: linux-2.6-dell-laptop-rfkill-fix.patch
Jesse Keating 2f82dd
Patch12011: linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
Jesse Keating 2f82dd
Patch12013: linux-2.6-rfkill-all.patch
Jesse Keating 2f82dd
Patch12020: linux-2.6-cantiga-iommu-gfx.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch12200: add-appleir-usb-driver.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Patches for -stable
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# ACPI EC bugfixes (not all upstream)
Jesse Keating 2f82dd
Patch12250: acpi-ec-add-delay-before-write.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch12311: fix-ima-null-ptr-deref.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch12315: fix-abrtd.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# rhbz#/566565
Jesse Keating 2f82dd
Patch12340: ice1712-fix-revo71-mixer-names.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# rhbz#572653
Jesse Keating 2f82dd
Patch12370: linux-2.6-b43_-Rewrite-DMA-Tx-status-handling-sanity-checks.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# backport iwlwifi fixes (thanks, sgruszka!) -- drop when stable catches-up
Jesse Keating 2f82dd
Patch12391: iwlwifi-reset-card-during-probe.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# patches from Intel to address intermittent firmware failures with iwlagn
Jesse Keating 2f82dd
Patch12404: iwlwifi_-add-function-to-reset_tune-radio-if-needed.patch
Jesse Keating 2f82dd
Patch12405: iwlwifi_-Logic-to-control-how-frequent-radio-should-be-reset-if-needed.patch
Jesse Keating 2f82dd
Patch12406: iwlwifi_-Tune-radio-to-prevent-unexpected-behavior.patch
Jesse Keating 2f82dd
Patch12407: iwlwifi_-multiple-force-reset-mode.patch
Jesse Keating 2f82dd
Patch12409: iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch
Jesse Keating 2f82dd
Patch12410: iwlwifi_-separated-time-check-for-different-type-of-force-reset.patch
Jesse Keating 2f82dd
Patch12411: iwlwifi_-add-internal-short-scan-support-for-3945.patch
Jesse Keating 2f82dd
Patch12412: iwlwifi_-Recover-TX-flow-stall-due-to-stuck-queue.patch
Jesse Keating 2f82dd
Patch12413: iwlwifi_-move-plcp-check-to-separated-function.patch
Jesse Keating 2f82dd
Patch12414: iwlwifi_-Recover-TX-flow-failure.patch
Jesse Keating 2f82dd
Patch12415: iwlwifi_-code-cleanup-for-connectivity-recovery.patch
Jesse Keating 2f82dd
Patch12416: iwlwifi_-iwl_good_ack_health-only-apply-to-AGN-device.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# iwlwifi: fix scan races
Jesse Keating 2f82dd
Patch12910: iwlwifi-fix-scan-races.patch
Jesse Keating 2f82dd
# iwlwifi: fix internal scan race
Jesse Keating 2f82dd
Patch12911: iwlwifi-fix-internal-scan-race.patch
Jesse Keating 2f82dd
# iwlwifi: recover_from_tx_stall
Jesse Keating 2f82dd
Patch12912: iwlwifi-recover_from_tx_stall.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch12921: iwlwifi-manage-QoS-by-mac-stack.patch
Jesse Keating 2f82dd
Patch12923: mac80211-explicitly-disable-enable-QoS.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# l2tp: fix oops in pppol2tp_xmit (#607054)
Jesse Keating 2f82dd
Patch13030: l2tp-fix-oops-in-pppol2tp_xmit.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch14020: inotify-fix-inotify-oneshot-support.patch
Jesse Keating 2f82dd
Patch14030: inotify-send-IN_UNMOUNT-events.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Patch14050: crypto-add-async-hash-testing.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Red Hat Bugzilla #610911
Jesse Keating 2f82dd
Patch14130: kvm-mmu-fix-conflict-access-permissions-in-direct-sp.patch
Jesse Keating 2f82dd
Chuck Ebbert 02278b
Patch14140: hid-01-usbhid-initialize-interface-pointers-early-enough.patch
Chuck Ebbert 02278b
Patch14141: hid-02-fix-suspend-crash-by-moving-initializations-earlier.patch
Chuck Ebbert 02278b
Chuck Ebbert b9204c
Patch14150: irda-correctly-clean-up-self-ias_obj-on-irda_bind-failure.patch
Chuck Ebbert b9204c
Kyle McMartin 14fe09
Patch14200: net-do-not-check-capable-if-kernel.patch
Kyle McMartin 14fe09
Jesse Keating 2f82dd
# ==============================================================================
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%description
Jesse Keating 2f82dd
The kernel package contains the Linux kernel (vmlinuz), the core of any
Jesse Keating 2f82dd
Linux operating system.  The kernel handles the basic functions
Jesse Keating 2f82dd
of the operating system: memory allocation, process allocation, device
Jesse Keating 2f82dd
input and output, etc.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%package doc
Jesse Keating 2f82dd
Summary: Various documentation bits found in the kernel source
Jesse Keating 2f82dd
Group: Documentation
Jesse Keating 2f82dd
%description doc
Jesse Keating 2f82dd
This package contains documentation files from the kernel
Jesse Keating 2f82dd
source. Various bits of information about the Linux kernel and the
Jesse Keating 2f82dd
device drivers shipped with it are documented in these files.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
You'll want to install this package if you need a reference to the
Jesse Keating 2f82dd
options that can be passed to Linux kernel modules at load time.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%package headers
Jesse Keating 2f82dd
Summary: Header files for the Linux kernel for use by glibc
Jesse Keating 2f82dd
Group: Development/System
Jesse Keating 2f82dd
Obsoletes: glibc-kernheaders
Jesse Keating 2f82dd
Provides: glibc-kernheaders = 3.0-46
Jesse Keating 2f82dd
%description headers
Jesse Keating 2f82dd
Kernel-headers includes the C header files that specify the interface
Jesse Keating 2f82dd
between the Linux kernel and userspace libraries and programs.  The
Jesse Keating 2f82dd
header files define structures and constants that are needed for
Jesse Keating 2f82dd
building most standard programs and are also needed for rebuilding the
Jesse Keating 2f82dd
glibc package.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%package firmware
Jesse Keating 2f82dd
Summary: Firmware files used by the Linux kernel
Jesse Keating 2f82dd
Group: Development/System
Jesse Keating 2f82dd
# This is... complicated.
Jesse Keating 2f82dd
# Look at the WHENCE file.
Jesse Keating 2f82dd
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
Jesse Keating 2f82dd
%if "x%{?variant}" != "x"
Jesse Keating 2f82dd
Provides: kernel-firmware = %{rpmversion}-%{pkg_release}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%description firmware
Jesse Keating 2f82dd
Kernel-firmware includes firmware files required for some devices to
Jesse Keating 2f82dd
operate.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%package bootwrapper
Jesse Keating 2f82dd
Summary: Boot wrapper files for generating combined kernel + initrd images
Jesse Keating 2f82dd
Group: Development/System
Jesse Keating 2f82dd
Requires: gzip
Jesse Keating 2f82dd
%description bootwrapper
Jesse Keating 2f82dd
Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
Jesse Keating 2f82dd
files combining both kernel and initial ramdisk.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%package debuginfo-common-%{_target_cpu}
Jesse Keating 2f82dd
Summary: Kernel source files used by %{name}-debuginfo packages
Jesse Keating 2f82dd
Group: Development/Debug
Jesse Keating 2f82dd
%description debuginfo-common-%{_target_cpu}
Jesse Keating 2f82dd
This package is required by %{name}-debuginfo subpackages.
Jesse Keating 2f82dd
It provides the kernel source files common to all builds.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%package -n perf
Jesse Keating 2f82dd
Summary: Performance monitoring for the Linux kernel
Jesse Keating 2f82dd
Group: Development/System
Jesse Keating 2f82dd
License: GPLv2
Jesse Keating 2f82dd
Requires: libdwarf
Jesse Keating 2f82dd
%description -n perf
Jesse Keating 2f82dd
This package provides the perf shell script, supporting documentation and
Jesse Keating 2f82dd
required libraries for the perf tool shipped in each kernel image subpackage.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro creates a kernel-<subpackage>-debuginfo package.
Jesse Keating 2f82dd
#	%%kernel_debuginfo_package <subpackage>
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_debuginfo_package() \
Jesse Keating 2f82dd
%package %{?1:%{1}-}debuginfo\
Jesse Keating 2f82dd
Summary: Debug information for package %{name}%{?1:-%{1}}\
Jesse Keating 2f82dd
Group: Development/Debug\
Jesse Keating 2f82dd
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
Jesse Keating 2f82dd
Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
Jesse Keating 2f82dd
AutoReqProv: no\
Jesse Keating 2f82dd
%description -n %{name}%{?1:-%{1}}-debuginfo\
Jesse Keating 2f82dd
This package provides debug information for package %{name}%{?1:-%{1}}.\
Jesse Keating 2f82dd
This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
Jesse Keating 2f82dd
%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro creates a kernel-<subpackage>-devel package.
Jesse Keating 2f82dd
#	%%kernel_devel_package <subpackage> <pretty-name>
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_devel_package() \
Jesse Keating 2f82dd
%package %{?1:%{1}-}devel\
Jesse Keating 2f82dd
Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
Jesse Keating 2f82dd
Group: System Environment/Kernel\
Jesse Keating 2f82dd
Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
Jesse Keating 2f82dd
Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\
Jesse Keating 2f82dd
Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\
Jesse Keating 2f82dd
Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\
Jesse Keating 2f82dd
AutoReqProv: no\
Jesse Keating 2f82dd
Requires(pre): /usr/bin/find\
Jesse Keating 2f82dd
%description -n kernel%{?variant}%{?1:-%{1}}-devel\
Jesse Keating 2f82dd
This package provides kernel headers and makefiles sufficient to build modules\
Jesse Keating 2f82dd
against the %{?2:%{2} }kernel package.\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
Jesse Keating 2f82dd
#	%%define variant_summary The Linux kernel compiled for <configuration>
Jesse Keating 2f82dd
#	%%kernel_variant_package [-n <pretty-name>] <subpackage>
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_variant_package(n:) \
Jesse Keating 2f82dd
%package %1\
Jesse Keating 2f82dd
Summary: %{variant_summary}\
Jesse Keating 2f82dd
Group: System Environment/Kernel\
Jesse Keating 2f82dd
%kernel_reqprovconf\
Jesse Keating 2f82dd
%{expand:%%kernel_devel_package %1 %{!?-n:%1}%{?-n:%{-n*}}}\
Jesse Keating 2f82dd
%{expand:%%kernel_debuginfo_package %1}\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# First the auxiliary packages of the main kernel package.
Jesse Keating 2f82dd
%kernel_devel_package
Jesse Keating 2f82dd
%kernel_debuginfo_package
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Now, each variant package.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define variant_summary The Linux kernel compiled for SMP machines
Jesse Keating 2f82dd
%kernel_variant_package -n SMP smp
Jesse Keating 2f82dd
%description smp
Jesse Keating 2f82dd
This package includes a SMP version of the Linux kernel. It is
Jesse Keating 2f82dd
required only on machines with two or more CPUs as well as machines with
Jesse Keating 2f82dd
hyperthreading technology.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Install the kernel-smp package if your machine uses two or more CPUs.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define variant_summary The Linux kernel compiled for PAE capable machines
Jesse Keating 2f82dd
%kernel_variant_package PAE
Jesse Keating 2f82dd
%description PAE
Jesse Keating 2f82dd
This package includes a version of the Linux kernel with support for up to
Jesse Keating 2f82dd
64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
Jesse Keating 2f82dd
The non-PAE kernel can only address up to 4GB of memory.
Jesse Keating 2f82dd
Install the kernel-PAE package if your machine has more than 4GB of memory.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines
Jesse Keating 2f82dd
%kernel_variant_package PAEdebug
Jesse Keating 2f82dd
Obsoletes: kernel-PAE-debug
Jesse Keating 2f82dd
%description PAEdebug
Jesse Keating 2f82dd
This package includes a version of the Linux kernel with support for up to
Jesse Keating 2f82dd
64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
Jesse Keating 2f82dd
The non-PAE kernel can only address up to 4GB of memory.
Jesse Keating 2f82dd
Install the kernel-PAE package if your machine has more than 4GB of memory.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
This variant of the kernel has numerous debugging options enabled.
Jesse Keating 2f82dd
It should only be installed when trying to gather additional information
Jesse Keating 2f82dd
on kernel bugs, as some of these options impact performance noticably.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define variant_summary The Linux kernel compiled with extra debugging enabled
Jesse Keating 2f82dd
%kernel_variant_package debug
Jesse Keating 2f82dd
%description debug
Jesse Keating 2f82dd
The kernel package contains the Linux kernel (vmlinuz), the core of any
Jesse Keating 2f82dd
Linux operating system.  The kernel handles the basic functions
Jesse Keating 2f82dd
of the operating system:  memory allocation, process allocation, device
Jesse Keating 2f82dd
input and output, etc.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
This variant of the kernel has numerous debugging options enabled.
Jesse Keating 2f82dd
It should only be installed when trying to gather additional information
Jesse Keating 2f82dd
on kernel bugs, as some of these options impact performance noticably.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%define variant_summary A minimal Linux kernel compiled for crash dumps
Jesse Keating 2f82dd
%kernel_variant_package kdump
Jesse Keating 2f82dd
%description kdump
Jesse Keating 2f82dd
This package includes a kdump version of the Linux kernel. It is
Jesse Keating 2f82dd
required only on machines which will use the kexec-based kernel crash dump
Jesse Keating 2f82dd
mechanism.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%prep
Jesse Keating 2f82dd
# do a few sanity-checks for --with *only builds
Jesse Keating 2f82dd
%if %{with_baseonly}
Jesse Keating 2f82dd
%if !%{with_up}%{with_pae}
Jesse Keating 2f82dd
echo "Cannot build --with baseonly, up build is disabled"
Jesse Keating 2f82dd
exit 1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_smponly}
Jesse Keating 2f82dd
%if !%{with_smp}
Jesse Keating 2f82dd
echo "Cannot build --with smponly, smp build is disabled"
Jesse Keating 2f82dd
exit 1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# more sanity checking; do it quietly
Jesse Keating 2f82dd
if [ "%{patches}" != "%%{patches}" ] ; then
Jesse Keating 2f82dd
  for patch in %{patches} ; do
Jesse Keating 2f82dd
    if [ ! -f $patch ] ; then
Jesse Keating 2f82dd
      echo "ERROR: Patch  ${patch##/*/}  listed in specfile but is missing"
Jesse Keating 2f82dd
      exit 1
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
  done
Jesse Keating 2f82dd
fi 2>/dev/null
Jesse Keating 2f82dd
Jesse Keating 2f82dd
patch_command='patch -p1 -F1 -s'
Jesse Keating 2f82dd
ApplyPatch()
Jesse Keating 2f82dd
{
Jesse Keating 2f82dd
  local patch=$1
Jesse Keating 2f82dd
  shift
Jesse Keating 2f82dd
  if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
Jesse Keating 2f82dd
    exit 1
Jesse Keating 2f82dd
  fi
Jesse Keating 2f82dd
%if !%{using_upstream_branch}
Jesse Keating 2f82dd
  if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then
Jesse Keating 2f82dd
    if [ "${patch:0:10}" != "patch-2.6." ] ; then
Jesse Keating 2f82dd
      echo "ERROR: Patch  $patch  not listed as a source patch in specfile"
Jesse Keating 2f82dd
      exit 1
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
  fi 2>/dev/null
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
  case "$patch" in
Jesse Keating 2f82dd
  *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
Jesse Keating 2f82dd
  *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
Jesse Keating 2f82dd
  *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;;
Jesse Keating 2f82dd
  esac
Jesse Keating 2f82dd
}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# don't apply patch if it's empty
Jesse Keating 2f82dd
ApplyOptionalPatch()
Jesse Keating 2f82dd
{
Jesse Keating 2f82dd
  local patch=$1
Jesse Keating 2f82dd
  shift
Jesse Keating 2f82dd
  if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
Jesse Keating 2f82dd
    exit 1
Jesse Keating 2f82dd
  fi
Jesse Keating 2f82dd
  local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
Jesse Keating 2f82dd
  if [ "$C" -gt 9 ]; then
Jesse Keating 2f82dd
    ApplyPatch $patch ${1+"$@"}
Jesse Keating 2f82dd
  fi
Jesse Keating 2f82dd
}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# we don't want a .config file when building firmware: it just confuses the build system
Jesse Keating 2f82dd
%define build_firmware \
Jesse Keating 2f82dd
   mv .config .config.firmware_save \
Jesse Keating 2f82dd
   make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install \
Jesse Keating 2f82dd
   mv .config.firmware_save .config
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# First we unpack the kernel tarball.
Jesse Keating 2f82dd
# If this isn't the first make prep, we use links to the existing clean tarball
Jesse Keating 2f82dd
# which speeds things up quite a bit.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Update to latest upstream.
Jesse Keating 2f82dd
%if 0%{?released_kernel}
Jesse Keating 2f82dd
%define vanillaversion 2.6.%{base_sublevel}
Jesse Keating 2f82dd
# non-released_kernel case
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%if 0%{?rcrev}
Jesse Keating 2f82dd
%define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}
Jesse Keating 2f82dd
%if 0%{?gitrev}
Jesse Keating 2f82dd
%define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
# pre-{base_sublevel+1}-rc1 case
Jesse Keating 2f82dd
%if 0%{?gitrev}
Jesse Keating 2f82dd
%define vanillaversion 2.6.%{base_sublevel}-git%{gitrev}
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%define vanillaversion 2.6.%{base_sublevel}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Chuck Ebbert 58fa2b
# %{vanillaversion} : the full version name, e.g. 2.6.35-rc6-git3
Chuck Ebbert 58fa2b
# %{kversion}       : the base version, e.g. 2.6.34
Jesse Keating 2f82dd
Chuck Ebbert 58fa2b
# Use kernel-%{kversion}%{?dist} as the top-level directory name
Chuck Ebbert 58fa2b
# so we can prep different trees within a single git directory.
Jesse Keating 2f82dd
Chuck Ebbert 58fa2b
# Build a list of the other top-level kernel tree directories.
Chuck Ebbert 58fa2b
# This will be used to hardlink identical vanilla subdirs.
Chuck Ebbert 58fa2b
sharedirs=$(find "$PWD" -maxdepth 1 -type d -name 'kernel-2.6.*' \
Chuck Ebbert 58fa2b
            | grep -x -v "$PWD"/kernel-%{kversion}%{?dist}) ||:
Jesse Keating 2f82dd
Chuck Ebbert 58fa2b
if [ ! -d kernel-%{kversion}%{?dist}/vanilla-%{vanillaversion} ]; then
Chuck Ebbert 58fa2b
Chuck Ebbert 58fa2b
  if [ -d kernel-%{kversion}%{?dist}/vanilla-%{kversion} ]; then
Chuck Ebbert 58fa2b
Chuck Ebbert 58fa2b
    # The base vanilla version already exists.
Chuck Ebbert 58fa2b
    cd kernel-%{kversion}%{?dist}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # Any vanilla-* directories other than the base one are stale.
Jesse Keating 2f82dd
    for dir in vanilla-*; do
Jesse Keating 2f82dd
      [ "$dir" = vanilla-%{kversion} ] || rm -rf $dir &
Jesse Keating 2f82dd
    done
Jesse Keating 2f82dd
Jesse Keating 2f82dd
  else
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    rm -f pax_global_header
Chuck Ebbert 58fa2b
    # Look for an identical base vanilla dir that can be hardlinked.
Jesse Keating 2f82dd
    for sharedir in $sharedirs ; do
Chuck Ebbert 58fa2b
      if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{kversion} ]] ; then
Jesse Keating 2f82dd
        break
Jesse Keating 2f82dd
      fi
Jesse Keating 2f82dd
    done
Chuck Ebbert 58fa2b
    if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{kversion} ]] ; then
Chuck Ebbert 58fa2b
%setup -q -n kernel-%{kversion}%{?dist} -c -T
Chuck Ebbert 58fa2b
      cp -rl $sharedir/vanilla-%{kversion} .
Jesse Keating 2f82dd
    else
Chuck Ebbert 58fa2b
%setup -q -n kernel-%{kversion}%{?dist} -c
Jesse Keating 2f82dd
      mv linux-%{kversion} vanilla-%{kversion}
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
  fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if "%{kversion}" != "%{vanillaversion}"
Jesse Keating 2f82dd
Jesse Keating 2f82dd
  for sharedir in $sharedirs ; do
Chuck Ebbert 58fa2b
    if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{vanillaversion} ]] ; then
Jesse Keating 2f82dd
      break
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
  done
Chuck Ebbert 58fa2b
  if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{vanillaversion} ]] ; then
Jesse Keating 2f82dd
Chuck Ebbert 58fa2b
    cp -rl $sharedir/vanilla-%{vanillaversion} .
Jesse Keating 2f82dd
Jesse Keating 2f82dd
  else
Jesse Keating 2f82dd
Chuck Ebbert 58fa2b
    # Need to apply patches to the base vanilla version.
Jesse Keating 2f82dd
    cp -rl vanilla-%{kversion} vanilla-%{vanillaversion}
Jesse Keating 2f82dd
    cd vanilla-%{vanillaversion}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Update vanilla to the latest upstream.
Jesse Keating 2f82dd
# (non-released_kernel case only)
Jesse Keating 2f82dd
%if 0%{?rcrev}
Jesse Keating 2f82dd
    ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
Jesse Keating 2f82dd
%if 0%{?gitrev}
Jesse Keating 2f82dd
    ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
# pre-{base_sublevel+1}-rc1 case
Jesse Keating 2f82dd
%if 0%{?gitrev}
Jesse Keating 2f82dd
    ApplyPatch patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    cd ..
Jesse Keating 2f82dd
Jesse Keating 2f82dd
  fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
else
Chuck Ebbert 58fa2b
Chuck Ebbert 58fa2b
  # We already have all vanilla dirs, just change to the top-level directory.
Chuck Ebbert 58fa2b
  cd kernel-%{kversion}%{?dist}
Chuck Ebbert 58fa2b
Jesse Keating 2f82dd
fi
Jesse Keating 2f82dd
Chuck Ebbert 58fa2b
# Now build the fedora kernel tree.
Jesse Keating 2f82dd
if [ -d linux-%{kversion}.%{_target_cpu} ]; then
Jesse Keating 2f82dd
  # Just in case we ctrl-c'd a prep already
Jesse Keating 2f82dd
  rm -rf deleteme.%{_target_cpu}
Jesse Keating 2f82dd
  # Move away the stale away, and delete in background.
Jesse Keating 2f82dd
  mv linux-%{kversion}.%{_target_cpu} deleteme.%{_target_cpu}
Jesse Keating 2f82dd
  rm -rf deleteme.%{_target_cpu} &
Jesse Keating 2f82dd
fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
cp -rl vanilla-%{vanillaversion} linux-%{kversion}.%{_target_cpu}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
cd linux-%{kversion}.%{_target_cpu}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# released_kernel with possible stable updates
Jesse Keating 2f82dd
%if 0%{?stable_base}
Jesse Keating 2f82dd
ApplyPatch %{stable_patch_00}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%if 0%{?stable_rc}
Jesse Keating 2f82dd
ApplyPatch %{stable_patch_01}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{using_upstream_branch}
Jesse Keating 2f82dd
### BRANCH APPLY ###
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Drop some necessary files from the source dir into the buildroot
Jesse Keating 2f82dd
cp $RPM_SOURCE_DIR/config-* .
Jesse Keating 2f82dd
cp %{SOURCE15} .
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Dynamically generate kernel .config files from config-* files
Jesse Keating 2f82dd
make -f %{SOURCE20} VERSION=%{version} configs
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#if a rhel kernel, apply the rhel config options
Jesse Keating 2f82dd
%if 0%{?rhel}
Jesse Keating 2f82dd
  for i in %{all_arch_configs}
Jesse Keating 2f82dd
  do
Jesse Keating 2f82dd
    mv $i $i.tmp
Jesse Keating 2f82dd
    ./merge.pl config-rhel-generic $i.tmp > $i
Jesse Keating 2f82dd
    rm $i.tmp
Jesse Keating 2f82dd
  done
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyOptionalPatch git-linus.diff
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# This patch adds a "make nonint_oldconfig" which is non-interactive and
Jesse Keating 2f82dd
# also gives a list of missing options at the end. Useful for automated
Jesse Keating 2f82dd
# builds (as used in the buildsystem).
Jesse Keating 2f82dd
ApplyPatch linux-2.6-build-nonintconfig.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch linux-2.6-makefile-after_link.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# misc small stuff to make things compile
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
ApplyOptionalPatch linux-2.6-compile-fixes.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if !%{nopatches}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# revert patches from upstream that conflict or that we get via other means
Jesse Keating 2f82dd
ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#ApplyPatch git-cpufreq.patch
Jesse Keating 2f82dd
#ApplyPatch git-bluetooth.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyOptionalPatch linux-2.6-hotfixes.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Roland's utrace ptrace replacement.
Jesse Keating 2f82dd
ApplyPatch linux-2.6-tracehook.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-utrace.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-utrace-ptrace.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Architecture patches
Jesse Keating 2f82dd
# x86(-64)
Jesse Keating 2f82dd
ApplyPatch via-hwmon-temp-sensor.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-dell-laptop-rfkill-fix.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# Intel IOMMU
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
ApplyPatch linux-2.6-cantiga-iommu-gfx.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# PowerPC
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
### NOT (YET) UPSTREAM:
Jesse Keating 2f82dd
# The storage alias patch is Fedora-local, and allows the old 'ps3_storage'
Jesse Keating 2f82dd
# module name to work on upgrades. Otherwise, I believe mkinitrd will fail
Jesse Keating 2f82dd
# to pull the module in,
Jesse Keating 2f82dd
ApplyPatch linux-2.6-ps3-storage-alias.patch
Jesse Keating 2f82dd
# Alleviate G5 thermal shutdown problems
Jesse Keating 2f82dd
ApplyPatch linux-2.6-g5-therm-shutdown.patch
Jesse Keating 2f82dd
# Provide modalias in sysfs for vio devices
Jesse Keating 2f82dd
ApplyPatch linux-2.6-vio-modalias.patch
Jesse Keating 2f82dd
# Work around PCIe bridge setup on iSight
Jesse Keating 2f82dd
ApplyPatch linux-2.6-imac-transparent-bridge.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# SPARC64
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
ApplyPatch linux-2.6.29-sparc-IOC_TYPECHECK.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# Exec shield
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
ApplyPatch linux-2.6-execshield.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# bugfixes to drivers and filesystems
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# ext4
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# xfs
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# btrfs
Jesse Keating 2f82dd
ApplyPatch btrfs-prohibit-a-operation-of-changing-acls-mask-when-noacl-mount-option-is-used.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# eCryptfs
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# NFSv4
Jesse Keating 2f82dd
ApplyPatch linux-2.6-nfsd4-proots.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-nfs4-callback-hidden.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# USB
Jesse Keating 2f82dd
ApplyPatch linux-2.6-driver-level-usb-autosuspend.diff
Jesse Keating 2f82dd
ApplyPatch linux-2.6-enable-btusb-autosuspend.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-usb-uvc-autosuspend.diff
Jesse Keating 2f82dd
ApplyPatch linux-2.6-usb-wwan-update.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# WMI
Jesse Keating 2f82dd
ApplyPatch linux-2.6-autoload-wmi.patch
Jesse Keating 2f82dd
# autoload fixes
Jesse Keating 2f82dd
ApplyPatch wmi-check-find_guid-return-value-to-prevent-oops.patch
Jesse Keating 2f82dd
ApplyPatch wmi-survive-bios-with-duplicate-guids.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# ACPI
Jesse Keating 2f82dd
ApplyPatch linux-2.6-defaults-acpi-video.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-acpi-video-dos.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch acpi-ec-add-delay-before-write.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Various low-impact patches to aid debugging.
Jesse Keating 2f82dd
ApplyPatch linux-2.6-debug-sizeof-structs.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-debug-nmi-timeout.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-debug-taint-vm.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# PCI
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# disable message signaled interrupts
Jesse Keating 2f82dd
ApplyPatch linux-2.6-defaults-pci_no_msi.patch
Jesse Keating 2f82dd
# update the pciehp driver
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-pciehp-update.patch
Jesse Keating 2f82dd
# default to enabling passively listening for hotplug events
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-defaults-pciehp.patch
Jesse Keating 2f82dd
# enable ASPM by default on hardware we expect to work
Jesse Keating 2f82dd
ApplyPatch linux-2.6-defaults-aspm.patch
Jesse Keating 2f82dd
# disable aspm if acpi doesn't provide an _OSC method
Jesse Keating 2f82dd
ApplyPatch pci-acpi-disable-aspm-if-no-osc.patch
Jesse Keating 2f82dd
# allow drivers to disable aspm at load time
Jesse Keating 2f82dd
ApplyPatch pci-aspm-dont-enable-too-early.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# SCSI Bits.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# ALSA
Jesse Keating 2f82dd
# squelch hda_beep by default
Jesse Keating 2f82dd
ApplyPatch linux-2.6-defaults-alsa-hda-beep-off.patch
Jesse Keating 2f82dd
ApplyPatch hda_intel-prealloc-4mb-dmabuffer.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Networking
Jesse Keating 2f82dd
ApplyPatch sky2-optima-add-register-definitions.patch
Jesse Keating 2f82dd
ApplyPatch sky2-optima-support.patch
Jesse Keating 2f82dd
ApplyPatch sky2-optima-fix-tcp-offload.patch
Jesse Keating 2f82dd
ApplyPatch sky2-optima-print-chip-name.patch
Jesse Keating 2f82dd
ApplyPatch sky2-optima-add-missing-write-bits.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Misc fixes
Jesse Keating 2f82dd
# The input layer spews crap no-one cares about.
Jesse Keating 2f82dd
ApplyPatch linux-2.6-input-kill-stupid-messages.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# stop floppy.ko from autoloading during udev...
Jesse Keating 2f82dd
ApplyPatch die-floppy-die.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Get away from having to poll Toshibas
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-input-fix-toshiba-hotkeys.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch linux-2.6.30-no-pcspkr-modalias.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch linux-2.6-input-hid-quirk-egalax.patch
Jesse Keating 2f82dd
ApplyPatch thinkpad-acpi-add-x100e.patch
Jesse Keating 2f82dd
ApplyPatch thinkpad-acpi-fix-backlight.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Allow to use 480600 baud on 16C950 UARTs
Jesse Keating 2f82dd
ApplyPatch linux-2.6-serial-460800.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Silence some useless messages that still get printed with 'quiet'
Jesse Keating 2f82dd
ApplyPatch linux-2.6-silence-noise.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6.30-hush-rom-warning.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Make fbcon not show the penguins with 'quiet'
Jesse Keating 2f82dd
ApplyPatch linux-2.6-silence-fbcon-logo.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# don't autoload viafb
Jesse Keating 2f82dd
ApplyPatch viafb-neuter-device-table.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Fix the SELinux mprotect checks on executable mappings
Jesse Keating 2f82dd
# ApplyPatch linux-2.6-selinux-mprotect-checks.patch
Jesse Keating 2f82dd
# Fix SELinux for sparc
Jesse Keating 2f82dd
ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Changes to upstream defaults.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# ia64 ata quirk
Jesse Keating 2f82dd
ApplyPatch linux-2.6-ata-quirk.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# /dev/crash driver.
Jesse Keating 2f82dd
ApplyPatch linux-2.6-crash-driver.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Determine cacheline sizes in a generic manner.
Jesse Keating 2f82dd
ApplyPatch linux-2.6-pci-cacheline-sizing.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# http://www.lirc.org/
Jesse Keating 2f82dd
ApplyPatch lirc-2.6.32.patch
Jesse Keating 2f82dd
# enable IR transceiver on Hauppauge HD PVR (v4l-dvb merge pending)
Jesse Keating 2f82dd
ApplyPatch hdpvr-ir-enable.patch
Jesse Keating 2f82dd
# Broadcom Crystal HD driver from 2.6.34 staging
Jesse Keating 2f82dd
ApplyPatch crystalhd-2.6.34-staging.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Add kernel KSM support
Jesse Keating 2f82dd
# Optimize KVM for KSM support
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-ksm-kvm.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Assorted Virt Fixes
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Fix block I/O errors in KVM
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch linux-2.6-e1000-ich9.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch linux-2.6-phylib-autoload.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch linux-2.6-x86-64-fbdev-primary.patch
Jesse Keating 2f82dd
# Nouveau DRM + drm fixes
Jesse Keating 2f82dd
ApplyPatch drm-upgrayedd.patch
Chuck Ebbert f2a8ac
ApplyPatch drm-upgrayed-fixes.patch
Jesse Keating 2f82dd
#ApplyPatch drm-intel-big-hammer.patch
Jesse Keating 2f82dd
#ApplyPatch drm-intel-no-tv-hotplug.patch
Jesse Keating 2f82dd
ApplyOptionalPatch drm-intel-next.patch
Jesse Keating 2f82dd
ApplyPatch drm-intel-acpi-populate-didl.patch
Jesse Keating 2f82dd
ApplyPatch drm-intel-make-lvds-work.patch
Jesse Keating 2f82dd
# gm45 stability fixes
Jesse Keating 2f82dd
ApplyPatch drm-intel-945gm-stability-fixes.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch drm-nouveau-g80-ctxprog.patch
Jesse Keating 2f82dd
ApplyPatch drm-nouveau-tvout-disable.patch
Jesse Keating 2f82dd
ApplyPatch drm-nouveau-safetile-getparam.patch
Jesse Keating 2f82dd
ApplyPatch drm-nouveau-kconfig.patch
Jesse Keating 2f82dd
ApplyPatch drm-nouveau-update.patch
Jesse Keating 2f82dd
ApplyPatch drm-nouveau-d620.patch
Chuck Ebbert c2055f
ApplyPatch drm-nouveau-nva3-noaccel.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# linux1394 git patches
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-firewire-git-update.patch
Jesse Keating 2f82dd
#ApplyOptionalPatch linux-2.6-firewire-git-pending.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# silence the ACPI blacklist code
Jesse Keating 2f82dd
ApplyPatch linux-2.6-silence-acpi-blacklist.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# V4L/DVB updates/fixes/experimental drivers
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-v4l-dvb-fixes.patch
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-v4l-dvb-update.patch
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-v4l-dvb-experimental.patch
Jesse Keating 2f82dd
#ApplyPatch linux-2.6-revert-dvb-net-kabi-change.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-v4l-dvb-rebase-gspca-to-latest.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-v4l-dvb-add-lgdt3304-support.patch
Jesse Keating 2f82dd
ApplyPatch linux-2.6-v4l-dvb-add-kworld-a340-support.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Patches headed upstream
Jesse Keating 2f82dd
ApplyPatch linux-2.6-rfkill-all.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch add-appleir-usb-driver.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Patches for -stable
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch fix-ima-null-ptr-deref.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch fix-abrtd.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# rhbz#566565
Jesse Keating 2f82dd
ApplyPatch ice1712-fix-revo71-mixer-names.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# rhbz#572653
Jesse Keating 2f82dd
ApplyPatch linux-2.6-b43_-Rewrite-DMA-Tx-status-handling-sanity-checks.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# backport iwlwifi fixes (thanks, sgruszka!) -- drop when stable catches-up
Jesse Keating 2f82dd
ApplyPatch iwlwifi-reset-card-during-probe.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# patches from Intel to address intermittent firmware failures with iwlagn
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-add-function-to-reset_tune-radio-if-needed.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-Logic-to-control-how-frequent-radio-should-be-reset-if-needed.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-Tune-radio-to-prevent-unexpected-behavior.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-multiple-force-reset-mode.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-separated-time-check-for-different-type-of-force-reset.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-add-internal-short-scan-support-for-3945.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-Recover-TX-flow-stall-due-to-stuck-queue.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-move-plcp-check-to-separated-function.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-Recover-TX-flow-failure.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-code-cleanup-for-connectivity-recovery.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi_-iwl_good_ack_health-only-apply-to-AGN-device.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# iwlwifi: fix scan races
Jesse Keating 2f82dd
ApplyPatch iwlwifi-fix-scan-races.patch
Jesse Keating 2f82dd
# iwlwifi: fix internal scan race
Jesse Keating 2f82dd
ApplyPatch iwlwifi-fix-internal-scan-race.patch
Jesse Keating 2f82dd
# iwlwifi: recover_from_tx_stall
Jesse Keating 2f82dd
ApplyPatch iwlwifi-recover_from_tx_stall.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# mac80211/iwlwifi fix connections to some APs (rhbz#558002)
Jesse Keating 2f82dd
ApplyPatch mac80211-explicitly-disable-enable-QoS.patch
Jesse Keating 2f82dd
ApplyPatch iwlwifi-manage-QoS-by-mac-stack.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# l2tp: fix oops in pppol2tp_xmit (#607054)
Jesse Keating 2f82dd
ApplyPatch l2tp-fix-oops-in-pppol2tp_xmit.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# fix broken oneshot support and missing umount events (F13#607327)
Jesse Keating 2f82dd
ApplyPatch inotify-fix-inotify-oneshot-support.patch
Jesse Keating 2f82dd
ApplyPatch inotify-send-IN_UNMOUNT-events.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# add tests for crypto async hashing (#571577)
Jesse Keating 2f82dd
ApplyPatch crypto-add-async-hash-testing.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
ApplyPatch kvm-mmu-fix-conflict-access-permissions-in-direct-sp.patch
Jesse Keating 2f82dd
Chuck Ebbert 02278b
# RHBZ #592785
Chuck Ebbert 02278b
ApplyPatch hid-01-usbhid-initialize-interface-pointers-early-enough.patch
Chuck Ebbert 02278b
ApplyPatch hid-02-fix-suspend-crash-by-moving-initializations-earlier.patch
Chuck Ebbert 02278b
Chuck Ebbert b9204c
# CVE-2010-2954
Chuck Ebbert b9204c
ApplyPatch irda-correctly-clean-up-self-ias_obj-on-irda_bind-failure.patch
Chuck Ebbert b9204c
Kyle McMartin 14fe09
# rhbz #598796
Kyle McMartin 14fe09
ApplyPatch net-do-not-check-capable-if-kernel.patch
Kyle McMartin 14fe09
Jesse Keating 2f82dd
# END OF PATCH APPLICATIONS ====================================================
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Any further pre-build tree manipulations happen here.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
chmod +x scripts/checkpatch.pl
Jesse Keating 2f82dd
Kyle McMartin 4e16dd
touch .scmversion
Kyle McMartin 4e16dd
Jesse Keating 2f82dd
# only deal with configs if we are going to build for the arch
Jesse Keating 2f82dd
%ifnarch %nobuildarches
Jesse Keating 2f82dd
Jesse Keating 2f82dd
mkdir configs
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Remove configs not for the buildarch
Jesse Keating 2f82dd
for cfg in kernel-%{version}-*.config; do
Jesse Keating 2f82dd
  if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
Jesse Keating 2f82dd
    rm -f $cfg
Jesse Keating 2f82dd
  fi
Jesse Keating 2f82dd
done
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if !%{debugbuildsenabled}
Jesse Keating 2f82dd
rm -f kernel-%{version}-*debug.config
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# now run oldconfig over all the config files
Jesse Keating 2f82dd
for i in *.config
Jesse Keating 2f82dd
do
Jesse Keating 2f82dd
  mv $i .config
Jesse Keating 2f82dd
  Arch=`head -1 .config | cut -b 3-`
Jesse Keating 2f82dd
  make ARCH=$Arch %{oldconfig_target} > /dev/null
Jesse Keating 2f82dd
  echo "# $Arch" > configs/$i
Jesse Keating 2f82dd
  cat .config >> configs/$i
Jesse Keating 2f82dd
done
Jesse Keating 2f82dd
# end of kernel config
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# get rid of unwanted files resulting from patch fuzz
Jesse Keating 2f82dd
find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
Jesse Keating 2f82dd
Jesse Keating 2f82dd
cd ..
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
### build
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
%build
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_sparse}
Jesse Keating 2f82dd
%define sparse_mflags	C=1
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{fancy_debuginfo}
Jesse Keating 2f82dd
# This override tweaks the kernel makefiles so that we run debugedit on an
Jesse Keating 2f82dd
# object before embedding it.  When we later run find-debuginfo.sh, it will
Jesse Keating 2f82dd
# run debugedit again.  The edits it does change the build ID bits embedded
Jesse Keating 2f82dd
# in the stripped object, but repeating debugedit is a no-op.  We do it
Jesse Keating 2f82dd
# beforehand to get the proper final build ID bits into the embedded image.
Jesse Keating 2f82dd
# This affects the vDSO images in vmlinux, and the vmlinux image in bzImage.
Jesse Keating 2f82dd
export AFTER_LINK=\
Jesse Keating 2f82dd
'sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug \
Jesse Keating 2f82dd
    				-i $@ > $@.id"'
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
cp_vmlinux()
Jesse Keating 2f82dd
{
Jesse Keating 2f82dd
  eu-strip --remove-comment -o "$2" "$1"
Jesse Keating 2f82dd
}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
BuildKernel() {
Jesse Keating 2f82dd
    MakeTarget=$1
Jesse Keating 2f82dd
    KernelImage=$2
Jesse Keating 2f82dd
    Flavour=$3
Jesse Keating 2f82dd
    InstallName=${4:-vmlinuz}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # Pick the right config file for the kernel we're building
Jesse Keating 2f82dd
    Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config
Jesse Keating 2f82dd
    DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # When the bootable image is just the ELF kernel, strip it.
Jesse Keating 2f82dd
    # We already copy the unstripped file into the debuginfo package.
Jesse Keating 2f82dd
    if [ "$KernelImage" = vmlinux ]; then
Jesse Keating 2f82dd
      CopyKernel=cp_vmlinux
Jesse Keating 2f82dd
    else
Jesse Keating 2f82dd
      CopyKernel=cp
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}
Jesse Keating 2f82dd
    echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # make sure EXTRAVERSION says what we want it to say
Jesse Keating 2f82dd
    perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
Jesse Keating 2f82dd
    %if !0%{?rcrev}
Jesse Keating 2f82dd
    %if 0%{?gitrev}
Jesse Keating 2f82dd
    perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
Jesse Keating 2f82dd
    %endif
Jesse Keating 2f82dd
    %endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # and now to start the build process
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    make -s mrproper
Jesse Keating 2f82dd
    cp configs/$Config .config
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    Arch=`head -1 .config | cut -b 3-`
Jesse Keating 2f82dd
    echo USING ARCH=$Arch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    make -s ARCH=$Arch %{oldconfig_target} > /dev/null
Jesse Keating 2f82dd
    make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
Jesse Keating 2f82dd
    make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_perftool}
Jesse Keating 2f82dd
    pushd tools/perf
Jesse Keating 2f82dd
# make sure the scripts are executable... won't be in tarball until 2.6.31 :/
Jesse Keating 2f82dd
    chmod +x util/generate-cmdlist.sh util/PERF-VERSION-GEN
Jesse Keating 2f82dd
    make -s V=1 %{?_smp_mflags} perf
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/usr/libexec/
Jesse Keating 2f82dd
    install -m 755 perf $RPM_BUILD_ROOT/usr/libexec/perf.$KernelVer
Jesse Keating 2f82dd
    popd
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # Start installing the results
Jesse Keating 2f82dd
%if %{with_debuginfo}
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/boot
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
Jesse Keating 2f82dd
    install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
Jesse Keating 2f82dd
    install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
Jesse Keating 2f82dd
%if %{with_dracut}
Jesse Keating 2f82dd
    # We estimate the size of the initramfs because rpm needs to take this size
Jesse Keating 2f82dd
    # into consideration when performing disk space calculations. (See bz #530778)
Jesse Keating 2f82dd
    dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
    dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initrd-$KernelVer.img bs=1M count=5
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
    if [ -f arch/$Arch/boot/zImage.stub ]; then
Jesse Keating 2f82dd
      cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
    $CopyKernel $KernelImage \
Jesse Keating 2f82dd
    		$RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
Jesse Keating 2f82dd
    chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
Jesse Keating 2f82dd
    # Override $(mod-fw) because we don't want it to install any firmware
Jesse Keating 2f82dd
    # We'll do that ourselves with 'make firmware_install'
Jesse Keating 2f82dd
    make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw=
Jesse Keating 2f82dd
%ifarch %{vdso_arches}
Jesse Keating 2f82dd
    make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
Jesse Keating 2f82dd
    if grep '^CONFIG_XEN=y$' .config >/dev/null; then
Jesse Keating 2f82dd
      echo > ldconfig-kernel.conf "\
Jesse Keating 2f82dd
# This directive teaches ldconfig to search in nosegneg subdirectories
Jesse Keating 2f82dd
# and cache the DSOs there with extra bit 0 set in their hwcap match
Jesse Keating 2f82dd
# fields.  In Xen guest kernels, the vDSO tells the dynamic linker to
Jesse Keating 2f82dd
# search in nosegneg subdirectories and to match this extra hwcap bit
Jesse Keating 2f82dd
# in the ld.so.cache file.
Jesse Keating 2f82dd
hwcap 0 nosegneg"
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
    if [ ! -s ldconfig-kernel.conf ]; then
Jesse Keating 2f82dd
      echo > ldconfig-kernel.conf "\
Jesse Keating 2f82dd
# Placeholder file, no vDSO hwcap entries used in this kernel."
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
    %{__install} -D -m 444 ldconfig-kernel.conf \
Jesse Keating 2f82dd
        $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # And save the headers/makefiles etc for building modules against
Jesse Keating 2f82dd
    #
Jesse Keating 2f82dd
    # This all looks scary, but the end result is supposed to be:
Jesse Keating 2f82dd
    # * all arch relevant include/ files
Jesse Keating 2f82dd
    # * all Makefile/Kconfig files
Jesse Keating 2f82dd
    # * all script/ files
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
Jesse Keating 2f82dd
    # dirs for additional modules per module-init-tools, kbuild/modules.txt
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
Jesse Keating 2f82dd
    # first copy everything
Jesse Keating 2f82dd
    cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    if [ -s Module.markers ]; then
Jesse Keating 2f82dd
      cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
    # then drop all but the needed Makefiles/Kconfig files
Jesse Keating 2f82dd
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
Jesse Keating 2f82dd
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
Jesse Keating 2f82dd
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Jesse Keating 2f82dd
    cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
    if [ -d arch/$Arch/scripts ]; then
Jesse Keating 2f82dd
      cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
    if [ -f arch/$Arch/*lds ]; then
Jesse Keating 2f82dd
      cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
Jesse Keating 2f82dd
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
Jesse Keating 2f82dd
%ifarch ppc
Jesse Keating 2f82dd
    cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
    if [ -d arch/%{asmarch}/include ]; then
Jesse Keating 2f82dd
      cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Jesse Keating 2f82dd
    cd include
Jesse Keating 2f82dd
    cp -a acpi config crypto keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound trace video drm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Jesse Keating 2f82dd
    asmdir=$(readlink asm)
Jesse Keating 2f82dd
    cp -a $asmdir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/
Jesse Keating 2f82dd
    pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Jesse Keating 2f82dd
    ln -s $asmdir asm
Jesse Keating 2f82dd
    popd
Jesse Keating 2f82dd
    # Make sure the Makefile and version.h have a matching timestamp so that
Jesse Keating 2f82dd
    # external modules can be built
Jesse Keating 2f82dd
    touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
Jesse Keating 2f82dd
    touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
Jesse Keating 2f82dd
    # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
Jesse Keating 2f82dd
    cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
Jesse Keating 2f82dd
    cd ..
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    if test -s vmlinux.id; then
Jesse Keating 2f82dd
      cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id
Jesse Keating 2f82dd
    else
Jesse Keating 2f82dd
      echo >&2 "*** WARNING *** no vmlinux build ID! ***"
Jesse Keating 2f82dd
    fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    #
Jesse Keating 2f82dd
    # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
Jesse Keating 2f82dd
    #
Jesse Keating 2f82dd
%if %{with_debuginfo}
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
Jesse Keating 2f82dd
    cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # mark modules executable so that strip-to-file can strip them
Jesse Keating 2f82dd
    xargs --no-run-if-empty chmod u+x < modnames
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # Generate a list of modules for block and networking.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
Jesse Keating 2f82dd
    sed -n 's,^.*/\([^/]*\.ko\):  *U \(.*\)$,\1 \2,p' > drivers.undef
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    collect_modules_list()
Jesse Keating 2f82dd
    {
Jesse Keating 2f82dd
      sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
Jesse Keating 2f82dd
      LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
Jesse Keating 2f82dd
    }
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    collect_modules_list networking \
Jesse Keating 2f82dd
    			 'register_netdev|ieee80211_register_hw|usbnet_probe'
Jesse Keating 2f82dd
    collect_modules_list block \
Jesse Keating 2f82dd
    			 'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler'
Jesse Keating 2f82dd
    collect_modules_list drm \
Jesse Keating 2f82dd
    			 'drm_open|drm_init'
Jesse Keating 2f82dd
    collect_modules_list modesetting \
Jesse Keating 2f82dd
    			 'drm_crtc_init'
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # detect missing or incorrect license tags
Jesse Keating 2f82dd
    rm -f modinfo
Jesse Keating 2f82dd
    while read i
Jesse Keating 2f82dd
    do
Jesse Keating 2f82dd
      echo -n "${i#$RPM_BUILD_ROOT/lib/modules/$KernelVer/} " >> modinfo
Jesse Keating 2f82dd
      /sbin/modinfo -l $i >> modinfo
Jesse Keating 2f82dd
    done < modnames
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    egrep -v \
Jesse Keating 2f82dd
    	  'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' \
Jesse Keating 2f82dd
	  modinfo && exit 1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    rm -f modinfo modnames
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # remove files that will be auto generated by depmod at rpm -i time
Jesse Keating 2f82dd
    for i in alias alias.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap
Jesse Keating 2f82dd
    do
Jesse Keating 2f82dd
      rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
Jesse Keating 2f82dd
    done
Jesse Keating 2f82dd
Jesse Keating 2f82dd
    # Move the devel headers out of the root file system
Jesse Keating 2f82dd
    mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
Jesse Keating 2f82dd
    mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
Jesse Keating 2f82dd
    ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 2f82dd
}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
# DO it...
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# prepare directories
Jesse Keating 2f82dd
rm -rf $RPM_BUILD_ROOT
Jesse Keating 2f82dd
mkdir -p $RPM_BUILD_ROOT/boot
Jesse Keating 2f82dd
Jesse Keating 2f82dd
cd linux-%{kversion}.%{_target_cpu}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_debug}
Jesse Keating 2f82dd
BuildKernel %make_target %kernel_image debug
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_pae_debug}
Jesse Keating 2f82dd
BuildKernel %make_target %kernel_image PAEdebug
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_pae}
Jesse Keating 2f82dd
BuildKernel %make_target %kernel_image PAE
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_up}
Jesse Keating 2f82dd
BuildKernel %make_target %kernel_image
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_smp}
Jesse Keating 2f82dd
BuildKernel %make_target %kernel_image smp
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_kdump}
Jesse Keating 2f82dd
BuildKernel vmlinux vmlinux kdump vmlinux
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_doc}
Jesse Keating 2f82dd
# Make the HTML and man pages.
Jesse Keating 2f82dd
#make %{?_smp_mflags} htmldocs mandocs || %{doc_build_fail}
Jesse Keating 2f82dd
make -j1 htmldocs mandocs || %{doc_build_fail}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# sometimes non-world-readable files sneak into the kernel source tree
Jesse Keating 2f82dd
chmod -R a=rX Documentation
Jesse Keating 2f82dd
find Documentation -type d | xargs chmod u+w
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_perf}
Jesse Keating 2f82dd
pushd tools/perf
Jesse Keating 2f82dd
make %{?_smp_mflags} man || %{doc_build_fail}
Jesse Keating 2f82dd
popd
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
### Special hacks for debuginfo subpackages.
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# This macro is used by %%install, so we must redefine it before that.
Jesse Keating 2f82dd
%define debug_package %{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{fancy_debuginfo}
Jesse Keating 2f82dd
%define __debug_install_post \
Jesse Keating 2f82dd
  /usr/lib/rpm/find-debuginfo.sh %{debuginfo_args} %{_builddir}/%{?buildsubdir}\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_debuginfo}
Jesse Keating 2f82dd
%ifnarch noarch
Jesse Keating 2f82dd
%global __debug_package 1
Jesse Keating 2f82dd
%files -f debugfiles.list debuginfo-common-%{_target_cpu}
Jesse Keating 2f82dd
%defattr(-,root,root)
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
### install
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%install
Jesse Keating 2f82dd
Jesse Keating 2f82dd
cd linux-%{kversion}.%{_target_cpu}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_doc}
Jesse Keating 2f82dd
docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}
Jesse Keating 2f82dd
man9dir=$RPM_BUILD_ROOT%{_datadir}/man/man9
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# copy the source over
Jesse Keating 2f82dd
mkdir -p $docdir
Jesse Keating 2f82dd
tar -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Install man pages for the kernel API.
Jesse Keating 2f82dd
mkdir -p $man9dir
Jesse Keating 2f82dd
find Documentation/DocBook/man -name '*.9.gz' -print0 |
Jesse Keating 2f82dd
xargs -0 --no-run-if-empty %{__install} -m 444 -t $man9dir $m
Jesse Keating 2f82dd
ls $man9dir | grep -q '' || > $man9dir/BROKEN
Jesse Keating 2f82dd
%endif # with_doc
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_perf}
Jesse Keating 2f82dd
# perf docs
Jesse Keating 2f82dd
mandir=$RPM_BUILD_ROOT%{_datadir}/man
Jesse Keating 2f82dd
man1dir=$mandir/man1
Jesse Keating 2f82dd
pushd tools/perf/Documentation
Jesse Keating 2f82dd
make install-man mandir=$mandir
Jesse Keating 2f82dd
popd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
pushd $man1dir
Jesse Keating 2f82dd
for d in *.1; do
Jesse Keating 2f82dd
 gzip $d;
Jesse Keating 2f82dd
done
Jesse Keating 2f82dd
popd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# perf shell wrapper and examples
Jesse Keating 2f82dd
mkdir -p $RPM_BUILD_ROOT/usr/sbin/
Jesse Keating 2f82dd
cp $RPM_SOURCE_DIR/perf $RPM_BUILD_ROOT/usr/sbin/perf
Jesse Keating 2f82dd
chmod 0755 $RPM_BUILD_ROOT/usr/sbin/perf
Jesse Keating 2f82dd
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/perf
Jesse Keating 2f82dd
cp tools/perf/Documentation/examples.txt $RPM_BUILD_ROOT%{_datadir}/doc/perf
Jesse Keating 2f82dd
%endif # with_perf
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_headers}
Jesse Keating 2f82dd
# Install kernel headers
Jesse Keating 2f82dd
make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# Do headers_check but don't die if it fails.
Jesse Keating 2f82dd
make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \
Jesse Keating 2f82dd
     > hdrwarnings.txt || :
Jesse Keating 2f82dd
if grep -q exist hdrwarnings.txt; then
Jesse Keating 2f82dd
   sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt
Jesse Keating 2f82dd
   # Temporarily cause a build failure if header inconsistencies.
Jesse Keating 2f82dd
   # exit 1
Jesse Keating 2f82dd
fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
find $RPM_BUILD_ROOT/usr/include \
Jesse Keating 2f82dd
     \( -name .install -o -name .check -o \
Jesse Keating 2f82dd
     	-name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# glibc provides scsi headers for itself, for now
Jesse Keating 2f82dd
rm -rf $RPM_BUILD_ROOT/usr/include/scsi
Jesse Keating 2f82dd
rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h
Jesse Keating 2f82dd
rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h
Jesse Keating 2f82dd
rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_firmware}
Jesse Keating 2f82dd
%{build_firmware}
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_bootwrapper}
Jesse Keating 2f82dd
make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
### clean
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%clean
Jesse Keating 2f82dd
rm -rf $RPM_BUILD_ROOT
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
### scripts
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro defines a %%post script for a kernel*-devel package.
Jesse Keating 2f82dd
#	%%kernel_devel_post [<subpackage>]
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_devel_post() \
Jesse Keating 2f82dd
%{expand:%%post %{?1:%{1}-}devel}\
Jesse Keating 2f82dd
if [ -f /etc/sysconfig/kernel ]\
Jesse Keating 2f82dd
then\
Jesse Keating 2f82dd
    . /etc/sysconfig/kernel || exit $?\
Jesse Keating 2f82dd
fi\
Jesse Keating 2f82dd
if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
Jesse Keating 2f82dd
then\
Jesse Keating 2f82dd
    (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\
Jesse Keating 2f82dd
     /usr/bin/find . -type f | while read f; do\
Jesse Keating 2f82dd
       hardlink -c /usr/src/kernels/*.fc*.*/$f $f\
Jesse Keating 2f82dd
     done)\
Jesse Keating 2f82dd
fi\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# This macro defines a %%posttrans script for a kernel package.
Jesse Keating 2f82dd
#	%%kernel_variant_posttrans [<subpackage>]
Jesse Keating 2f82dd
# More text can follow to go at the end of this variant's %%post.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_variant_posttrans() \
Jesse Keating 2f82dd
%{expand:%%posttrans %{?1}}\
Jesse Keating 2f82dd
/sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro defines a %%post script for a kernel package and its devel package.
Jesse Keating 2f82dd
#	%%kernel_variant_post [-v <subpackage>] [-r <replace>]
Jesse Keating 2f82dd
# More text can follow to go at the end of this variant's %%post.
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_variant_post(v:r:) \
Jesse Keating 2f82dd
%{expand:%%kernel_devel_post %{?-v*}}\
Jesse Keating 2f82dd
%{expand:%%kernel_variant_posttrans %{?-v*}}\
Jesse Keating 2f82dd
%{expand:%%post %{?-v*}}\
Jesse Keating 2f82dd
%{-r:\
Jesse Keating 2f82dd
if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
Jesse Keating 2f82dd
   [ -f /etc/sysconfig/kernel ]; then\
Jesse Keating 2f82dd
  /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
Jesse Keating 2f82dd
fi}\
Jesse Keating 2f82dd
%{expand:\
Jesse Keating 2f82dd
%if %{with_dracut}\
Jesse Keating 2f82dd
/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --dracut --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
Jesse Keating 2f82dd
%else\
Jesse Keating 2f82dd
/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
Jesse Keating 2f82dd
%endif}\
Jesse Keating 2f82dd
#if [ -x /sbin/weak-modules ]\
Jesse Keating 2f82dd
#then\
Jesse Keating 2f82dd
#    /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\
Jesse Keating 2f82dd
#fi\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro defines a %%preun script for a kernel package.
Jesse Keating 2f82dd
#	%%kernel_variant_preun <subpackage>
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_variant_preun() \
Jesse Keating 2f82dd
%{expand:%%preun %{?1}}\
Jesse Keating 2f82dd
/sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:.%{1}} || exit $?\
Jesse Keating 2f82dd
#if [ -x /sbin/weak-modules ]\
Jesse Keating 2f82dd
#then\
Jesse Keating 2f82dd
#    /sbin/weak-modules --remove-kernel %{KVERREL}%{?1} || exit $?\
Jesse Keating 2f82dd
#fi\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%kernel_variant_preun
Jesse Keating 2f82dd
%ifarch x86_64
Jesse Keating 2f82dd
%kernel_variant_post -r (kernel-smp|kernel-xen)
Jesse Keating 2f82dd
%else
Jesse Keating 2f82dd
%kernel_variant_post -r kernel-smp
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%kernel_variant_preun smp
Jesse Keating 2f82dd
%kernel_variant_post -v smp
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%kernel_variant_preun PAE
Jesse Keating 2f82dd
%kernel_variant_post -v PAE -r (kernel|kernel-smp|kernel-xen)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%kernel_variant_preun debug
Jesse Keating 2f82dd
%kernel_variant_post -v debug
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%kernel_variant_post -v PAEdebug -r (kernel|kernel-smp|kernel-xen)
Jesse Keating 2f82dd
%kernel_variant_preun PAEdebug
Jesse Keating 2f82dd
Jesse Keating 2f82dd
if [ -x /sbin/ldconfig ]
Jesse Keating 2f82dd
then
Jesse Keating 2f82dd
    /sbin/ldconfig -X || exit $?
Jesse Keating 2f82dd
fi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
### file lists
Jesse Keating 2f82dd
###
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_headers}
Jesse Keating 2f82dd
%files headers
Jesse Keating 2f82dd
%defattr(-,root,root)
Jesse Keating 2f82dd
/usr/include/*
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_firmware}
Jesse Keating 2f82dd
%files firmware
Jesse Keating 2f82dd
%defattr(-,root,root)
Jesse Keating 2f82dd
/lib/firmware/*
Jesse Keating 2f82dd
%doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_bootwrapper}
Jesse Keating 2f82dd
%files bootwrapper
Jesse Keating 2f82dd
%defattr(-,root,root)
Jesse Keating 2f82dd
/usr/sbin/*
Jesse Keating 2f82dd
%{_libdir}/kernel-wrapper
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# only some architecture builds need kernel-doc
Jesse Keating 2f82dd
%if %{with_doc}
Jesse Keating 2f82dd
%files doc
Jesse Keating 2f82dd
%defattr(-,root,root)
Jesse Keating 2f82dd
%{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/*
Jesse Keating 2f82dd
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation
Jesse Keating 2f82dd
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}
Jesse Keating 2f82dd
%{_datadir}/man/man9/*
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%if %{with_perf}
Jesse Keating 2f82dd
%files -n perf
Jesse Keating 2f82dd
%defattr(-,root,root)
Jesse Keating 2f82dd
%{_datadir}/doc/perf
Jesse Keating 2f82dd
/usr/sbin/perf
Jesse Keating 2f82dd
%{_datadir}/man/man1/*
Jesse Keating 2f82dd
%endif
Jesse Keating 2f82dd
Jesse Keating 2f82dd
# This is %{image_install_path} on an arch where that includes ELF files,
Jesse Keating 2f82dd
# or empty otherwise.
Jesse Keating 2f82dd
%define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
# This macro defines the %%files sections for a kernel package
Jesse Keating 2f82dd
# and its devel and debuginfo packages.
Jesse Keating 2f82dd
#	%%kernel_variant_files [-k vmlinux] <condition> <subpackage>
Jesse Keating 2f82dd
#
Jesse Keating 2f82dd
%define kernel_variant_files(k:) \
Jesse Keating 2f82dd
%if %{1}\
Jesse Keating 2f82dd
%{expand:%%files %{?2}}\
Jesse Keating 2f82dd
%defattr(-,root,root)\
Jesse Keating 2f82dd
/%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
/boot/System.map-%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
%if %{with_perftool}\
Jesse Keating 2f82dd
/usr/libexec/perf.%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
#/boot/symvers-%{KVERREL}%{?2:.%{2}}.gz\
Jesse Keating 2f82dd
/boot/config-%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
%dir /lib/modules/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/build\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/source\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/extra\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/updates\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/weak-updates\
Jesse Keating 2f82dd
%ifarch %{vdso_arches}\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\
Jesse Keating 2f82dd
/etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
/lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\
Jesse Keating 2f82dd
%if %{with_dracut}\
Jesse Keating 2f82dd
%ghost /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\
Jesse Keating 2f82dd
%else\
Jesse Keating 2f82dd
%ghost /boot/initrd-%{KVERREL}%{?2:.%{2}}.img\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
%{expand:%%files %{?2:%{2}-}devel}\
Jesse Keating 2f82dd
%defattr(-,root,root)\
Jesse Keating 2f82dd
%verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
%if %{with_debuginfo}\
Jesse Keating 2f82dd
%ifnarch noarch\
Jesse Keating 2f82dd
%if %{fancy_debuginfo}\
Jesse Keating 2f82dd
%{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\
Jesse Keating 2f82dd
%else\
Jesse Keating 2f82dd
%{expand:%%files %{?2:%{2}-}debuginfo}\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
%defattr(-,root,root)\
Jesse Keating 2f82dd
%if !%{fancy_debuginfo}\
Jesse Keating 2f82dd
%if "%{elf_image_install_path}" != ""\
Jesse Keating 2f82dd
%{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
%{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
%{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
%endif\
Jesse Keating 2f82dd
%{nil}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%kernel_variant_files %{with_up}
Jesse Keating 2f82dd
%kernel_variant_files %{with_smp} smp
Jesse Keating 2f82dd
%kernel_variant_files %{with_debug} debug
Jesse Keating 2f82dd
%kernel_variant_files %{with_pae} PAE
Jesse Keating 2f82dd
%kernel_variant_files %{with_pae_debug} PAEdebug
Jesse Keating 2f82dd
%kernel_variant_files -k vmlinux %{with_kdump} kdump
Jesse Keating 2f82dd
Jesse Keating 2f82dd
%changelog
Kyle McMartin 14fe09
* Mon Sep 06 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 14fe09
- Backport two fixes from Eric Paris to resolve #598796 which avoids a
Kyle McMartin 14fe09
  capability check if the request comes from the kernel.
Kyle McMartin 14fe09
Chuck Ebbert b9204c
* Thu Sep 02 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.21-167
Chuck Ebbert b9204c
- irda-correctly-clean-up-self-ias_obj-on-irda_bind-failure.patch (CVE-2010-2954)
Chuck Ebbert b9204c
Chuck Ebbert 8ac8e9
* Fri Aug 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.21-166
Chuck Ebbert 8ac8e9
- Linux 2.6.32.21
Chuck Ebbert 8ac8e9
Chuck Ebbert 4db245
* Wed Aug 25 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.21-165.rc1
Chuck Ebbert 4db245
- Linux 2.6.32.21-rc1
Chuck Ebbert 4db245
- Drop merged patches:
Chuck Ebbert 4db245
    drm-i915-add-reclaimable-to-page-allocations.patch
Chuck Ebbert 4db245
    drm-i915-fix-hibernate-memory-corruption.patch
Chuck Ebbert 4db245
- Fix up execshield and DRM upgrade patches to apply after 2.6.32.21
Chuck Ebbert 4db245
Chuck Ebbert 35bc23
* Sat Aug 21 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.20-164
Chuck Ebbert 35bc23
- Linux 2.6.32.20
Chuck Ebbert 35bc23
- Drop merged patches:
Chuck Ebbert 35bc23
   mm-fix-page-table-unmap-for-stack-guard-page-properly.patch
Chuck Ebbert 35bc23
   mm-fix-up-some-user-visible-effects-of-the-stack-guard-page.patch
Chuck Ebbert 35bc23
Chuck Ebbert 3bc8ea
* Wed Aug 18 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.19-163
Chuck Ebbert 3bc8ea
- Bump version.
Chuck Ebbert 3bc8ea
Kyle McMartin 4e16dd
* Tue Aug 17 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 4e16dd
- Touch .scmversion in the kernel top level to prevent scripts/setlocalversion
Kyle McMartin 4e16dd
  from recursing into our fedpkg git tree and trying to decide whether the
Kyle McMartin 4e16dd
  kernel git is modified (obviously not, since it's a tarball.) Fixes make
Kyle McMartin 4e16dd
  local.
Kyle McMartin 4e16dd
Chuck Ebbert 89ad8e
* Tue Aug 17 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.19-162
Chuck Ebbert 89ad8e
- Fix fallout from the stack guard page fixes.
Chuck Ebbert 89ad8e
  (mm-fix-page-table-unmap-for-stack-guard-page-properly.patch,
Chuck Ebbert 89ad8e
   mm-fix-up-some-user-visible-effects-of-the-stack-guard-page.patch)
Chuck Ebbert 89ad8e
Chuck Ebbert 592f96
* Sat Aug 14 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.19-161
Chuck Ebbert 592f96
- Linux 2.6.32.19
Chuck Ebbert 592f96
Chuck Ebbert 8d3a94
* Fri Aug 13 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.19-160.rc1
Chuck Ebbert 8d3a94
- Linux 2.6.32.19-rc1
Chuck Ebbert 8d3a94
- Comment out patches merged upstream:
Chuck Ebbert 8d3a94
    linux-2.6-btrfs-fix-acl.patch
Chuck Ebbert 8d3a94
    crypto-testmgr-add-null-test-for-aesni.patch
Chuck Ebbert 8d3a94
    ext4-make-sure-the-move_ext-ioctl-can-t-overwrite-append-only-files.patch
Chuck Ebbert 8d3a94
    ext4-fix-freeze-deadlock-under-io.patch
Chuck Ebbert 8d3a94
- Fix linux-2.6-usb-wwan-update.patch to apply after 2.6.32.19
Chuck Ebbert 8d3a94
Chuck Ebbert be1655
* Tue Aug 10 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.18-159
Chuck Ebbert be1655
- Linux 2.6.32.18
Chuck Ebbert c2055f
- Backport nouveau noaccel fix for nva3+ cards from f13.
Chuck Ebbert be1655
- ext4-fix-freeze-deadlock-under-io.patch:
Chuck Ebbert be1655
  Fix deadlock caused by patch in 2.6.32.17
Chuck Ebbert be1655
  (0036-ext4-don-t-return-to-userspace-after-freezing-the-fs.patch)
Chuck Ebbert c2055f
Chuck Ebbert c2055f
* Tue Aug 10 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.18-158.rc1
Chuck Ebbert f2a8ac
- Bring back drm-upgrayed-fixes.patch, dropped in the
Chuck Ebbert f2a8ac
  2.6.32.16 update. (#620955)
Chuck Ebbert f2a8ac
- Revert upstream DRM stable fix we already have:
Chuck Ebbert f2a8ac
    drm-i915-give-up-on-8xx-lid-status.patch
Chuck Ebbert f2a8ac
Chuck Ebbert 264f34
* Sat Aug 07 2010 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 264f34
- Linux 2.6.32.18-rc1
Chuck Ebbert 264f34
- Revert DRM patches from -stable we already have:
Chuck Ebbert 264f34
    drm-i915-Fix-LVDS-presence-check
Chuck Ebbert 264f34
    drm-i915-parse-child-device-from-vbt.patch
Chuck Ebbert 264f34
- Comment out patches merged in -stable:
Chuck Ebbert 264f34
    xfs-prevent-swapext-from-operating-on-write-only-files.patch
Chuck Ebbert 264f34
    cifs-fix-dns-resolver.patch
Chuck Ebbert 264f34
Chuck Ebbert 264f34
* Fri Aug 06 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.17-157
Chuck Ebbert 02278b
- Fix USB HID initialization (#592785)
Chuck Ebbert 02278b
Chuck Ebbert 01d107
* Mon Aug 02 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.17-156
Chuck Ebbert 01d107
- Linux 2.6.32.17
Chuck Ebbert 01d107
- Drop the patches commented out for -rc1 except ssb_check_for_sprom.patch
Chuck Ebbert 01d107
Chuck Ebbert 3b624e
* Mon Aug 02 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.17-155.rc1
Chuck Ebbert 3b624e
- Linux 2.6.32.17-rc1
Chuck Ebbert 3b624e
- Comment out patches merged upstream:
Chuck Ebbert 3b624e
    linux-2.6-ext4-quota-metadata-reservation.patch
Chuck Ebbert 3b624e
    ext4-issue-discard-operation-before-releasing-blocks.patch
Chuck Ebbert 3b624e
    mac80211-do-not-wipe-out-old-supported-rates.patch
Chuck Ebbert 3b624e
    mac80211-fix-supported-rates-IE-if-AP-doesnt-give-us-its-rates.patch
Chuck Ebbert 3b624e
    iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch
Chuck Ebbert 3b624e
    sched-fix-over-scheduling-bug.patch
Chuck Ebbert 3b624e
    ethtool-fix-buffer-overflow.patch
Chuck Ebbert 3b624e
    cifs-fix-malicious-redirect-problem-in-the-dns-lookup-code.patch
Chuck Ebbert 3b624e
    usb-obey-the-sysfs-power-wakeup-setting.patch
Chuck Ebbert 3b624e
- Revert -stable patches we already have:
Chuck Ebbert 3b624e
    drm-i915-enable-low-power-render-writes-on-gen3-hardware.patch
Chuck Ebbert 3b624e
    drm-i915-define-mi_arb_state-bits.patch
Chuck Ebbert 3b624e
- Comment out due to conflicts with -stable:
Chuck Ebbert 3b624e
    ssb_check_for_sprom.patch
Chuck Ebbert 3b624e
Jesse Keating 2f82dd
* Tue Jul 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-154
Jesse Keating 2f82dd
- xfs-prevent-swapext-from-operating-on-write-only-files.patch:
Jesse Keating 2f82dd
  CVE-2010-2266
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jul 27 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.16-153
Jesse Keating 2f82dd
- kvm-mmu-fix-conflict-access-permissions-in-direct-sp.patch:
Jesse Keating 2f82dd
  Fix crash in guest Python programs (#610911)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jul 26 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-152
Jesse Keating 2f82dd
- usb-obey-the-sysfs-power-wakeup-setting.patch:
Jesse Keating 2f82dd
  Restore ability of USB devices to wake the machine (F13#617559)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jul 26 2010 Eric Sandeen <sandeen@redhat.com> 2.6.32.16-151
Jesse Keating 2f82dd
- Fix ext4 metadata vs. quota reservation bug (#608770)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Jul 23 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-150
Jesse Keating 2f82dd
- drm-intel-945gm-stability-fixes.patch
Jesse Keating 2f82dd
- Make doc build single-threaded to prevent build failures.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Jul 23 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-149
Jesse Keating 2f82dd
- drm-i915-fix-hibernate-memory-corruption.patch,
Jesse Keating 2f82dd
  drm-i915-add-reclaimable-to-page-allocations.patch:
Jesse Keating 2f82dd
  Fixes for hibernation memory corruption bugs introduced in 2.6.32.8
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Jul 23 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-148
Jesse Keating 2f82dd
- ext4-make-sure-the-move_ext-ioctl-can-t-overwrite-append-only-files.patch
Jesse Keating 2f82dd
  (CVE-2010-2066)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jul 22 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-147
Jesse Keating 2f82dd
- cifs-fix-malicious-redirect-problem-in-the-dns-lookup-code.patch:
Jesse Keating 2f82dd
  Fix a malicious redirect problem in the DNS lookup code (CVE-2010-2524)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jul 21 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-146
Jesse Keating 2f82dd
- pci-acpi-disable-aspm-if-no-osc.patch, pci-aspm-dont-enable-too-early.patch
Jesse Keating 2f82dd
  PCI layer fixes for problems with hardware that doesn't support ASPM.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jul 21 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-145
Jesse Keating 2f82dd
- crypto-add-async-hash-testing.patch: fix the rest of the errors
Jesse Keating 2f82dd
  reported during crypto testing (#571577)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jul 21 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-144
Jesse Keating 2f82dd
- Fix inotify-oneshot-support patch so it builds.
Jesse Keating 2f82dd
- crypto-testmgr-add-null-test-for-aesni.patch:
Jesse Keating 2f82dd
  Add tests for aesni crypto module (#571577)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Jul 16 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-143
Jesse Keating 2f82dd
- inotify-fix-inotify-oneshot-support.patch,
Jesse Keating 2f82dd
  inotify-send-IN_UNMOUNT-events.patch:
Jesse Keating 2f82dd
  Fix broken oneshot support and missing umount events. (F13#607327)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jul 14 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.32.16-142
Jesse Keating 2f82dd
- Drop Intel Moorestown support.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jul 07 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.16-141
Jesse Keating 2f82dd
- Really make hdpvr i2c IR part register this time, so something can
Jesse Keating 2f82dd
  actually be bound to it (like, say, lirc_zilog)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jul 06 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.32.16-140
Jesse Keating 2f82dd
- ethtool-fix-buffer-overflow.patch: ethtool buffer overflow (CVE-2010-2478)
Jesse Keating 2f82dd
- sched-fix-over-scheduling-bug.patch: fix scheduler bug with CGROUPS
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jul 06 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-139
Jesse Keating 2f82dd
- Linux 2.6.32.16
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Jul 02 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.16-138.rc1
Jesse Keating 2f82dd
- Linux 2.6.32.16-rc1
Jesse Keating 2f82dd
- Drop patches merged upstream:
Jesse Keating 2f82dd
    btrfs-should-add-permission-check-for-setfacl.patch
Jesse Keating 2f82dd
    linux-2.6-wireless_-report-reasonable-bitrate-for-MCS-rates-through-wext.patch
Jesse Keating 2f82dd
    drm-upgrayed-fixes.patch
Jesse Keating 2f82dd
    iwlwifi_-check-for-aggregation-frame-and-queue.patch
Jesse Keating 2f82dd
    iwlwifi-recalculate-average-tpt-if-not-current.patch
Jesse Keating 2f82dd
    iwlwifi-update-supported-PCI_ID-list-for-5xx0-series.patch
Jesse Keating 2f82dd
    keys-find-keyring-by-name-can-gain-access-to-the-freed-keyring.patch
Jesse Keating 2f82dd
- Fix up wireless patches and usb-wwan-update.patch to apply on 2.6.32.16
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jul 01 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.15-137
Jesse Keating 2f82dd
- Linux 2.6.32.15
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jun 28 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.14-136
Jesse Keating 2f82dd
- Drop unused ro-nx patches.
Jesse Keating 2f82dd
- Add support for sky2 Optima chip.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jun 23 2010 Kyle McMartin <kyle@redhat.com>  2.6.32.14-135
Jesse Keating 2f82dd
- l2tp: fix oops in pppol2tp_xmit (rhbz#607054)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jun 15 2010 Kyle McMartin <kyle@redhat.com>  2.6.32.14-134
Jesse Keating 2f82dd
- Fix btrfs ACL fixes... commit 431547b3c4533b8c7fd150ab36980b9a3147797b
Jesse Keating 2f82dd
  changed them to take a struct dentry instead of struct inode after
Jesse Keating 2f82dd
  2.6.32.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jun 15 2010 John W. Linville <linville@redhat.com> 2.6.32.14-133
Jesse Keating 2f82dd
- iwlwifi: cancel scan watchdog in iwl_bg_abort_scan (#604264)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jun 14 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.14-132
Jesse Keating 2f82dd
- Add in ACL fixes to btrfs from CVE-2010-2071.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Jun 13 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.14-131
Jesse Keating 2f82dd
- mac80211/iwlwifi fix connections to some APs (rhbz#558002)
Jesse Keating 2f82dd
  patches from sgruszka@.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jun  2 2010 John W. Linville <linville@redhat.com>
Jesse Keating 2f82dd
- iwlwifi: update supported PCI_ID list for 5xx0 series (#599153)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu May 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.14-127
Jesse Keating 2f82dd
- CVE-2010-1437: keyrings: find_keyring_by_name() can gain the freed keyring
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed May 26 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.14-126
Jesse Keating 2f82dd
- Linux 2.6.32.14
Jesse Keating 2f82dd
- Drop merged patches:
Jesse Keating 2f82dd
    btrfs-check-for-read-permission-on-src-file-in-clone-ioctl.patch
Jesse Keating 2f82dd
    iwlwifi_-clear-all-the-stop_queue-flag-after-load-firmware.patch
Jesse Keating 2f82dd
    revert-ath9k_-fix-lockdep-warning-when-unloading-module.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon May 24 2010 John W. Linville <linville@redhat.com>
Jesse Keating 2f82dd
- iwlwifi: recalculate average tpt if not current (#588021)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon May 24 2010 John W. Linville <linville@redhat.com>
Jesse Keating 2f82dd
- iwlwifi: recover_from_tx_stall (#589777)
Jesse Keating 2f82dd
- iwlwifi: fix scan races (#592011)
Jesse Keating 2f82dd
- iwlwifi: fix internal scan race (#592011)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue May 18 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- btrfs: check for read permission on src file in the clone ioctl
Jesse Keating 2f82dd
  (rhbz#593226)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon May 17 2010 Matthew Garrett <mjg@redhat.com>
Jesse Keating 2f82dd
- thinkpad-acpi-fix-backlight.patch: Fix backlight control on some recent
Jesse Keating 2f82dd
   Thinkpads
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri May 14 2010 Jarod Wilson <jarod@redhat.com>
Jesse Keating 2f82dd
- Update previous kworld patch w/the one that actually works
Jesse Keating 2f82dd
  correctly w/o constant rf tracking filter recalibration
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu May 13 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.13-120
Jesse Keating 2f82dd
- Restore patch to enable hauppauge hdpvr ir part
Jesse Keating 2f82dd
- Enable support for kworld ub435-q and 340u usb atsc tuners
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed May 12 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Completely drop patches merged in 2.6.32.13
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed May 12 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.13-118
Jesse Keating 2f82dd
- Linux 2.6.32.13
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed May 12 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.13-117.rc1
Jesse Keating 2f82dd
- Linux 2.6.32.13-rc1
Jesse Keating 2f82dd
- Drop patches:
Jesse Keating 2f82dd
   libata-fix-accesses-at-LBA28-boundary.patch
Jesse Keating 2f82dd
   hugetlb-fix-infinite-loop-in-get-futex-key.patch
Jesse Keating 2f82dd
   reiserfs-fix-permissions-on-reiserfs-priv.patch
Jesse Keating 2f82dd
   libiscsi-regression-fix-header-digest-errors.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed May 12 2010 Roland McGrath <roland@redhat.com> 2.6.32.12-116
Jesse Keating 2f82dd
- utrace update (#590954)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Apr 30 2010 John W. Linville <linville@redhat.com> 2.6.32.12-115
Jesse Keating 2f82dd
- Revert "ath9k: fix lockdep warning when unloading module"
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Apr 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.12-114
Jesse Keating 2f82dd
- libiscsi-regression-fix-header-digest-errors.patch:
Jesse Keating 2f82dd
  fix iscsi header authentication broken in .32 (#583581)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Apr 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.12-113
Jesse Keating 2f82dd
- Fix possible data corruption with ext4 mounted with -o discard
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Apr 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.12-112
Jesse Keating 2f82dd
- hugetlb-fix-infinite-loop-in-get-futex-key.patch (#552257)
Jesse Keating 2f82dd
- reiserfs-fix-permissions-on-reiserfs-priv.patch (CVE-2010-1146)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Apr 26 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.12-111
Jesse Keating 2f82dd
- Linux 2.6.32.12
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Apr 23 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.12-110.rc2
Jesse Keating 2f82dd
- Linux 2.6.32.12-rc2
Jesse Keating 2f82dd
- Drop -rc1 workarounds
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Apr 22 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.12-109.rc1
Jesse Keating 2f82dd
- Linux 2.6.32.12-rc1
Jesse Keating 2f82dd
- Drop patches merged upstream:
Jesse Keating 2f82dd
  xfs_swap_extents-needs-to-handle-dynamic-fork-offsets.patch
Jesse Keating 2f82dd
  acpi-ec-allow-multibyte-access-to-ec.patch
Jesse Keating 2f82dd
  acpi-ec-limit-burst-to-64-bit.patch
Jesse Keating 2f82dd
  vgaarb-fix-userspace-ptr-deref.patch
Jesse Keating 2f82dd
  linux-2.6-net-r8169-improved-rx-length-check-errors.patch
Jesse Keating 2f82dd
  tcp-fix-icmp-rto-war.patch
Jesse Keating 2f82dd
  iwlwifi-fix-nfreed--.patch
Jesse Keating 2f82dd
  mac80211_-tear-down-all-agg-queues-when-restart_reconfig-hw.patch
Jesse Keating 2f82dd
  iwlwifi_-clear-all-tx-queues-when-firmware-ready.patch
Jesse Keating 2f82dd
  iwlwifi_-fix-scan-race.patch
Jesse Keating 2f82dd
  b43_-Optimize-PIO-scratchbuffer-usage.patch
Jesse Keating 2f82dd
  b43_-Remove-reset-after-fatal-DMA-error.patch
Jesse Keating 2f82dd
  b43_-Allow-PIO-mode-to-be-selected-at-module-load.patch
Jesse Keating 2f82dd
  b43_-fall-back-gracefully-to-PIO-mode-after-fatal-DMA-errors.patch
Jesse Keating 2f82dd
  mac80211_-fix-deferred-hardware-scan-requests.patch
Jesse Keating 2f82dd
- Revert -rc1 patch: md-raid5-allow-for-more-than-2-31-chunks.patch
Jesse Keating 2f82dd
  ( ERROR: "__umoddi3" [drivers/md/raid456.ko] undefined! )
Jesse Keating 2f82dd
- Hotfix -rc1 lockdep patch with fix from LKML
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Apr 21 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.11-108
Jesse Keating 2f82dd
- ACPI embedded controller fixes from Fedora 13 (#532161)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Apr 21 2010 Matthew Garrett <mjg@redhat.com>
Jesse Keating 2f82dd
- thinkpad-acpi-add-x100e.patch: Add EC path for Thinkpad X100
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Apr 21 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.11-106
Jesse Keating 2f82dd
- libata-fix-accesses-at-LBA28-boundary.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Apr 20 2010 John W. Linville <linville@redhat.com> 2.6.32.11-105
Jesse Keating 2f82dd
- mac80211: fix deferred hardware scan requests
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Apr 16 2010 John W. Linville <linville@redhat.com> 2.6.32.11-104
Jesse Keating 2f82dd
- b43: Optimize PIO scratchbuffer usage
Jesse Keating 2f82dd
- b43: Remove reset after fatal DMA error
Jesse Keating 2f82dd
- b43: Allow PIO mode to be selected at module load
Jesse Keating 2f82dd
- b43: fall back gracefully to PIO mode after fatal DMA errors
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Apr 14 2010 David Woodhouse <david.woodhouse@intel.com>
Jesse Keating 2f82dd
- Fix autoloading of phy modules (#525966)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Apr 12 2010 John W. Linville <linville@redhat.com> 2.6.32.11-102
Jesse Keating 2f82dd
- patches from Intel to address intermittent firmware failures with iwlagn
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Apr 07 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Disable async RAID4/5/6 processing (#575402)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Apr 06 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Build eeepc-laptop driver for x86_64 (F13#565582)
Jesse Keating 2f82dd
- Build all of the DVB frontend drivers (F13#578755)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Apr 05 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.11-99
Jesse Keating 2f82dd
- Fix oops in lirc_it87 driver (#579270)
Jesse Keating 2f82dd
- Support more imon 0xffdc key combinations
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Apr 03 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.11-98
Jesse Keating 2f82dd
- Linux 2.6.32.11
Jesse Keating 2f82dd
- Reverted: we already have in our DRM:
Jesse Keating 2f82dd
    drm-edid-unify-detailed-block-parsing-between-base-and-extension-blocks.patch
Jesse Keating 2f82dd
    drm-i915-fix-gpio-register-detection-logic-for-bios-without-vbt.patch
Jesse Keating 2f82dd
- Reverted: already in linux-2.6-usb-wwan-update.patch:
Jesse Keating 2f82dd
    usb-qcserial-add-new-device-ids.patch
Jesse Keating 2f82dd
- Dropped patches merged upstream:
Jesse Keating 2f82dd
    linux-2.6-delalloc-quota-fixes.patch
Jesse Keating 2f82dd
    linux-2.6-efi-handover.fix
Jesse Keating 2f82dd
    coredump-uid-pipe-check.patch
Jesse Keating 2f82dd
    tg3-05-assign-flags-to-fixes-in-start_xmit_dma_bug.patch
Jesse Keating 2f82dd
    tg3-06-fix-5906-transmit-hangs.patch
Jesse Keating 2f82dd
    linux-2.6-tg3-netpoll.patch
Jesse Keating 2f82dd
    iwlwifi-silence-tfds-in-queue-message.patch
Jesse Keating 2f82dd
    iwlwifi-use-dma_alloc_coherent.patch
Jesse Keating 2f82dd
- Fixups:
Jesse Keating 2f82dd
    drm-upgrayedd.patch: lib/lcm.o was added
Jesse Keating 2f82dd
    fix-abrtd.patch: coredump-uid-pipe-check went upstream
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Apr 01 2010 Eric Sandeen <sandeen@redhat.com>
Jesse Keating 2f82dd
- Fix quota WARN_ON for ext4 (#521914)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Apr 01 2010 Matthew Garrett <mjg@redhat.com>
Jesse Keating 2f82dd
- drm-intel-acpi-populate-didl.patch: Fix backlight hotkeys on some hardware
Jesse Keating 2f82dd
- drm-intel-make-lvds-work.patch: Fix screen not turning back on on lid open
Jesse Keating 2f82dd
- linux-2.6-usb-wwan-update.patch: Update wwan code and fix qcserial
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Mar 30 2010 John W. Linville <linville@redhat.com> 2.6.32.10-94
Jesse Keating 2f82dd
- Avoid null pointer dereference introduced by 'ssb: check for sprom' (#577463)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 29 2010 John W. Linville <linville@redhat.com> 2.6.32.10-93
Jesse Keating 2f82dd
- iwlwifi: fix nfreed--
Jesse Keating 2f82dd
- iwlwifi: reset card during probe (#557084)
Jesse Keating 2f82dd
- iwlwifi: use dma_alloc_coherent (#574146)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 29 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.10-91
Jesse Keating 2f82dd
- nouveau: fix display issues on Dell D620 laptops
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 22 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.10-90
Jesse Keating 2f82dd
- A few more imon driver button additions
Jesse Keating 2f82dd
- Fix minor init issue w/topseed 0x0008 mceusb transceivers
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 22 2010 Neil Horman <nhorman@redhat.com>
Jesse Keating 2f82dd
- Fix tg3 poll controller to not oops (bz 574969)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Mar 19 2010 John W. Linville <linville@redhat.com> 2.6.32.10-88
Jesse Keating 2f82dd
- Revise "ssb: check for sprom" (#533746)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Mar 19 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.10-86
Jesse Keating 2f82dd
- Improve mouse button and pad handling on 0xffdc imon devices
Jesse Keating 2f82dd
- Add xmit support to topseed 0x0008 lirc_mceusb transceiver
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Mar 19 2010 John W. Linville <linville@redhat.com> 2.6.32.10-85
Jesse Keating 2f82dd
- ssb: check for sprom (#533746)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Mar 18 2010 Neil Horman <nhorman@redhat.com>
Jesse Keating 2f82dd
- Remove TIPC from config (bz 574800)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Mar 17 2010 John W. Linville <linville@redhat.com> 2.6.32.10-83
Jesse Keating 2f82dd
- b43: Rewrite DMA Tx status handling sanity checks
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Mar 16 2010 Jarod Wilson <jarod@redhat.com>
Jesse Keating 2f82dd
- Catch imon panel/knob events from older 0xffdc devices
Jesse Keating 2f82dd
- Add two more variants of imon mce mode star and pound keys
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Mar 16 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- iwlwifi-silence-tfds-in-queue-message.patch:
Jesse Keating 2f82dd
  don't spam the log when the problem keeps happening
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Mar 16 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.10-78
Jesse Keating 2f82dd
- Fix null ptr deref in lirc_imon (#545599)
Jesse Keating 2f82dd
- Fix lirc_zilog not loading on cx2341x devices
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 15 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Linux 2.6.32.10
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 15 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.10-76.rc1
Jesse Keating 2f82dd
- Rebase lirc drivers to latest git tree
Jesse Keating 2f82dd
- Copious amounts of imon driver update
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 15 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.10-75.rc1
Jesse Keating 2f82dd
- Make the perf package require libdwarf; fix up description (#568309)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Mar 14 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Fix regression in tg3 driver (#571638)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Mar 13 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Linux 2.6.32.10-rc1
Jesse Keating 2f82dd
- Manually fix up drm-upgrayedd.patch to apply after this stable patch:
Jesse Keating 2f82dd
  drm-i915-use-a-dmi-quirk-to-skip-a-broken-sdvo-tv-output.patch
Jesse Keating 2f82dd
- Added stable patches to upstream-reverts; we have these in our backports:
Jesse Keating 2f82dd
  drm-ttm-handle-oom-in-ttm_tt_swapout.patch
Jesse Keating 2f82dd
  v4l-dvb-13991-gspca_mr973010a-fix-cif-type-1-cameras-not-streaming-on-uhci-controllers.patch
Jesse Keating 2f82dd
  drm-i915-disable-tv-hotplug-status-check.patch
Jesse Keating 2f82dd
  drm-i915-fix-get_core_clock_speed-for-g33-class-desktop-chips.patch
Jesse Keating 2f82dd
  drm-radeon-r6xx-r7xx-possible-security-issue-system-ram-access.patch
Jesse Keating 2f82dd
  drm-radeon-kms-r600-r700-don-t-test-ib-if-ib-initialization-fails.patch
Jesse Keating 2f82dd
  drm-radeon-kms-forbid-creation-of-framebuffer-with-no-valid-gem-object.patch
Jesse Keating 2f82dd
  acpi-i915-blacklist-clevo-m5x0n-bad_lid-state.patch
Jesse Keating 2f82dd
- Dropped merged upstream patches:
Jesse Keating 2f82dd
  fix-LOOKUP_FOLLOW-on-automount-symlinks.patch
Jesse Keating 2f82dd
  fs-exec.c-fix-initial-stack-reservation.patch
Jesse Keating 2f82dd
  kms-offb-handoff.patch
Jesse Keating 2f82dd
  linux-2.6-input-hid-quirk-hp-touchsmart.patch
Jesse Keating 2f82dd
  sparc-align-clone-and-signal-stacks-to-16-bytes.patch
Jesse Keating 2f82dd
  sparc-additional-pci-id-xvr-500.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Mar 11 2010 Dennis Gilmore <dennis@ausil.us>
Jesse Keating 2f82dd
- add add aditional pci-id for  xvr-500
Jesse Keating 2f82dd
- sparc stack alignment fix
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Mar 10 2010 Tom "spot" Callaway <tcallawa@redhat.com>
Jesse Keating 2f82dd
- cleanup and re-enable sparc selinux mprotect fix
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Mar 03 2010 Dave Airlie <airlied@redhat.com> 2.6.32.9-70
Jesse Keating 2f82dd
- drm-upgrayed-fixes: backport a bunch of fixes from upstream
Jesse Keating 2f82dd
- should fix AGP slowdowns + rv740 hw.
Jesse Keating 2f82dd
- linux-2.6-efi-handover.patch - fix efifb handover from upstream
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Mar 02 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Include examples.txt in the perf package (#569506)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Mar 01 2010 Dave Jones <davej@redhat.com>
Jesse Keating 2f82dd
- Don't own /usr/src/kernels any more, it's now owned by filesystem. (#569438)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Feb 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.9-67
Jesse Keating 2f82dd
- Fix lookup of automount symlinks (#567813)
Jesse Keating 2f82dd
- Fix stack expansion rlimit check broken by a patch in 2.6.32.9
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Feb 25 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.9-66
Jesse Keating 2f82dd
- TCP: fix broken RTO calculation causing high CPU load (#567530)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Feb 25 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.9-65
Jesse Keating 2f82dd
- nouveau: DP fix for cards with version 0x20 DP tables
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Feb 23 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.9-64
Jesse Keating 2f82dd
- Linux 2.6.32.9
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Feb 23 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.9-63.rc1
Jesse Keating 2f82dd
- nouveau: fix pre-nv17 output detection regression, support for GF8 IGPs
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Feb 22 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- coredump-uid-pipe-check.patch: ditto from F-13/
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Feb 22 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.9-61.rc1
Jesse Keating 2f82dd
- Drop the PCI device table in the viafb driver -- it was added in
Jesse Keating 2f82dd
  2.6.32 and we don't want the driver to autoload.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Feb 22 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.9-60.rc1
Jesse Keating 2f82dd
- Linux 2.6.32.9-rc1
Jesse Keating 2f82dd
- Revert the 14 DRM patches from 2.6.32.9: we already have them
Jesse Keating 2f82dd
- Drop other patches merged upstream:
Jesse Keating 2f82dd
  wmi-check-wmi-get-event-data-return-value.patch
Jesse Keating 2f82dd
  wmi-free-the-allocated-acpi-objects.patch
Jesse Keating 2f82dd
  fix-conntrack-bug-with-namespaces.patch
Jesse Keating 2f82dd
  prevent-runtime-conntrack-changes.patch
Jesse Keating 2f82dd
  fix-crash-with-sys_move_pages.patch
Jesse Keating 2f82dd
  futex-handle-futex-value-corruption-gracefully.patch
Jesse Keating 2f82dd
  futex-handle-user-space-corruption-gracefully.patch
Jesse Keating 2f82dd
  futex_lock_pi-key-refcnt-fix.patch
Jesse Keating 2f82dd
  fix-race-in-tty_fasync-properly.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Feb 18 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.8-59
Jesse Keating 2f82dd
- ice1712-fix-revo71-mixer-names.patch: fix mixer names for
Jesse Keating 2f82dd
  monty. (rhbz#566565)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 17 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.8-58
Jesse Keating 2f82dd
- fix-race-in-tty_fasync-properly.patch: fix for deadlock caused
Jesse Keating 2f82dd
  by original patch in 2.6.32.6
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 17 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.8-57
Jesse Keating 2f82dd
- CVE-2010-0623 kernel: local DoS via futex_lock_pi
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 17 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- CVE-2009-4537 kernel: r8169 issue reported at 26c3
Jesse Keating 2f82dd
  (fix taken from Red Hat/CentOS 5.4)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 17 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.8.55
Jesse Keating 2f82dd
- drm-nouveau-mutex.patch: add fix that didn't quite make it to linus yet
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 17 2010 Ben Skeggs <bskeggs@redhat.com>
Jesse Keating 2f82dd
- nouveau: rebase fedora patchset
Jesse Keating 2f82dd
- drm-nouveau-shared-fb.patch: drop
Jesse Keating 2f82dd
- drm-nouveau-update.patch: drop, included in previous drm update
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 17 2010 Dave Airlie <airlied@redhat.com>
Jesse Keating 2f82dd
- drm-upgrayedd.patch - update - needs nouveau patch rebase
Jesse Keating 2f82dd
- drop reverted upstream commits since rc8 - also drop other merged patches
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Feb 16 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.8-51
Jesse Keating 2f82dd
- vgaarb-fix-userspace-ptr-deref.patch: fix a userspace ptr deref.
Jesse Keating 2f82dd
  (rhbz#564246) [and correct upstream diff]
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Feb 16 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.8-50
Jesse Keating 2f82dd
- fix-abrtd.patch: backport of nhorman's call_usermode_helper changes
Jesse Keating 2f82dd
  from devel/ & linux-next.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Feb 09 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.8-49
Jesse Keating 2f82dd
- Linux 2.6.32.8
Jesse Keating 2f82dd
- futex-handle-user-space-corruption-gracefully.patch: Fix oops in
Jesse Keating 2f82dd
  the PI futex code. (rhbz#563091)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Feb 07 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.8-48.rc2
Jesse Keating 2f82dd
- xfs: xfs_swap_extents needs to handle dynamic fork offsets (rhbz#510823)
Jesse Keating 2f82dd
  from sandeen.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Feb 07 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.8-47.rc2
Jesse Keating 2f82dd
- fix-ima-null-ptr-deref.patch: fix null ptr deref in IMA introduced
Jesse Keating 2f82dd
  in 2.6.32-rc5.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Feb 06 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.8-46.rc2
Jesse Keating 2f82dd
- fix-crash-with-sys_move_pages.patch: sys_move_pages doesn't bounds
Jesse Keating 2f82dd
  check the node properly.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Feb 05 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.8-45.rc2
Jesse Keating 2f82dd
- Linux 2.6.32.8-rc2
Jesse Keating 2f82dd
- Drop fix-net-restore-ip-source-validation.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Feb 05 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.8-44.rc1
Jesse Keating 2f82dd
- Fix networking bug in 2.6.32.8-rc1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Feb 04 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.8-43.rc1
Jesse Keating 2f82dd
- Linux 2.6.32.8-rc1
Jesse Keating 2f82dd
- Revert three DRM patches from 2.6.32.8:
Jesse Keating 2f82dd
  drm-i915-only-enable-hotplug-for-detected-outputs.patch : already in
Jesse Keating 2f82dd
  drm-i915-reload-hangcheck-timer-too-for-ironlake.patch : conflicts
Jesse Keating 2f82dd
  drm-i915-selectively-enable-self-reclaim.patch : already in
Jesse Keating 2f82dd
- Drop patches merged in -stable:
Jesse Keating 2f82dd
  linux-2.6-userspace_kvmclock_offset.patch
Jesse Keating 2f82dd
  block-fix-bugs-in-bio-integrity-mempool-usage.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 03 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- Fix another conntrack issue pointed out by jcm.
Jesse Keating 2f82dd
- Fix utrace header. (rhbz#561536)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Feb 03 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- fix-conntrack-bug-with-namespaces.patch: Fix for issue identified by jcm,
Jesse Keating 2f82dd
  http://lkml.org/lkml/2010/2/3/112
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Feb 02 2010 David Woodhouse <david.woodhouse@intel.com> 2.6.32.7-40
Jesse Keating 2f82dd
- Disable graphics DMAR unit on Cantiga (#538163)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Feb 01 2010 Dave Airlie <airlied@redhat.com> 2.6.32.7-39
Jesse Keating 2f82dd
- Add two input quirks for HP and eGalax touchscreens.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Jan 30 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.7-38
Jesse Keating 2f82dd
- Fix possible oops in bio-integrity code.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jan 28 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.7-37
Jesse Keating 2f82dd
- Linux 2.6.32.7
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 25 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.6-36
Jesse Keating 2f82dd
- fix gspca mismerge.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 25 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.6-35
Jesse Keating 2f82dd
- stable update 2.6.32.6
Jesse Keating 2f82dd
- rebase gspca crud.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 25 2010 Dave Jones <davej@redhat.com> 2.6.32.5-34
Jesse Keating 2f82dd
- Disable CONFIG_X86_CPU_DEBUG
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Jan 24 2010 Hans de Goede <hdegoede@redhat.com> 2.6.32.5-33
Jesse Keating 2f82dd
- Rebase gspca usb webcam driver + sub drivers to latest upstream, this
Jesse Keating 2f82dd
  adds support for the following webcam bridge chipsets:
Jesse Keating 2f82dd
  benq, cpia1, ovfx2, sn9c2028, w996xCF, stv0680;
Jesse Keating 2f82dd
  and also includes many many bugfixes (hopefully also fixes 531234)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Jan 23 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.32.5-32
Jesse Keating 2f82dd
- Linux 2.6.32.5
Jesse Keating 2f82dd
- Revert commit c7c85101afd0cb8ce497456d12ee1cad4aad152f from
Jesse Keating 2f82dd
  upstream .32.5 because it conflicts with our DRM update.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Jan 23 2010 Dave Airlie <airlied@redhat.com> 2.6.32.4-31
Jesse Keating 2f82dd
- fix dracut depends
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jan 21 2010 John W. Linville <linville@redhat.com> 2.6.32.4-30
Jesse Keating 2f82dd
- Report meaningful values for MCS rates through wireless extensions
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 20 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.4-29
Jesse Keating 2f82dd
- add appleir usb driver
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 18 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.4-28
Jesse Keating 2f82dd
- Linux stable 2.6.32.4
Jesse Keating 2f82dd
- drm-upgrayedd: rebase for related changes in intel_display.c, i915_drv.h
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 18 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.3-27
Jesse Keating 2f82dd
- various nouveau fixes from upstream
Jesse Keating 2f82dd
- dropped drm-nouveau-bios-paranoia.patch, it's upstream now
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jan 14 2010 Adam Jackson <ajax@redhat.com> 2.6.32.3-26
Jesse Keating 2f82dd
- Don't generate i915 TV hotplug interrupts ever ever ever.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jan 14 2010 Josef Bacik <josef@toxicpanda.com> 2.6.32.3-25
Jesse Keating 2f82dd
- fix null pointer dereference in btrfs acl code
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 2.6.32.3-24
Jesse Keating 2f82dd
- drm fixes from upstream - mostly printk stupids + integrate radeon s/r fix
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 2.6.32.3-23
Jesse Keating 2f82dd
- crystalhd fix build on powerpc
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 2.6.32.3-22
Jesse Keating 2f82dd
- bring back offb handoff patch - fixes G5 + nouveau
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 2.6.32.3-21
Jesse Keating 2f82dd
- fix regression in radeon s/r - hangs on suspend
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 2.6.32.3-20
Jesse Keating 2f82dd
- force depend ati firmware, better safe than sorry. I don't
Jesse Keating 2f82dd
  think dracut and dracut kernel are what I wanted to do.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 2.6.32.3-19
Jesse Keating 2f82dd
- update dracut requires to make sure we get -ati firmware
Jesse Keating 2f82dd
- add fbdev multi-card console fix patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jan 12 2010 Jarod Wilson <jarod@redhat.com> 2.6.32.3-18
Jesse Keating 2f82dd
- Add Broadcom Crystal HD driver from staging
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jan 12 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.3-17
Jesse Keating 2f82dd
- add nouveau to staging Kconfig
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jan 12 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.3-16
Jesse Keating 2f82dd
- nouveau: fix nvac noaccel patch, not sure what happened there!
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jan 12 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.32.3-15
Jesse Keating 2f82dd
- nouveau: patches and firmware from F12 that aren't in upstream kernel
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 11 2010 Dave Airlie <airlied@redhat.com> 2.6.32.3-14
Jesse Keating 2f82dd
- drm-upgrayedd.patch: rebase to present 2.6.33 (drm-linus)
Jesse Keating 2f82dd
- nouveau TODO - comment out no-tv-hp for now, leave patch
Jesse Keating 2f82dd
- we can readd if all the upstream goodness didn't fix it
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 11 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.3-13
Jesse Keating 2f82dd
- drm-intel-no-tv-hotplug.patch: re-add lost patch from F-12
Jesse Keating 2f82dd
  2.6.31 (#522611, #544671)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 11 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.3-12
Jesse Keating 2f82dd
- Re-enable ATM_HE (#545289)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Jan 08 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.3-11
Jesse Keating 2f82dd
- Add another symbol to look for when generating modules.block
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jan 07 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.3-10
Jesse Keating 2f82dd
- Turn off default powersave mode for AC97 and HDA audio devices
Jesse Keating 2f82dd
  due to continuing bug reports (can still be enabled in sysfs.)
Jesse Keating 2f82dd
- Remove some patches that are upstream:
Jesse Keating 2f82dd
  v4l-dvb-fix-cx25840-firmware-loading.patch
Jesse Keating 2f82dd
  fix-9p-fscache.patch
Jesse Keating 2f82dd
  ext4-fix-insufficient-checks-in-EXT4_IOC_MOVE_EXT.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Jan 07 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.3-9
Jesse Keating 2f82dd
- Change configs to build the acerhdf driver again, requires
Jesse Keating 2f82dd
  setting CONFIG_HWMON=y
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 06 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.3-8
Jesse Keating 2f82dd
- Linux 2.6.32.3
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 06 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.3-7.rc2
Jesse Keating 2f82dd
- Remove obsolete config options (generated .config files are
Jesse Keating 2f82dd
  unchanged.)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Jan 06 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.3-6.rc2
Jesse Keating 2f82dd
- Linux 2.6.32.3-rc2
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jan 05 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.3-5.rc1
Jesse Keating 2f82dd
- Linux 2.6.32.3-rc1
Jesse Keating 2f82dd
- Drop merged patches:
Jesse Keating 2f82dd
  linux-2.6-fix-btusb-autosuspend.patch
Jesse Keating 2f82dd
  drm-radeon-fix-crtc-vbl-update-for-r600.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jan 05 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.2-4
Jesse Keating 2f82dd
- Fix WMI driver oopses and a memory leak.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Jan 05 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.32.2-3
Jesse Keating 2f82dd
- Run 'make release', fix up tracing options to match what shipped
Jesse Keating 2f82dd
  in F-12, fix CPU count on x86-64.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Jan 04 2010 Dave Jones <davej@redhat.com>
Jesse Keating 2f82dd
- Drop some of the spinlock/vm taint patches. dump_stack() already does same.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Jan  1 2010 Kyle McMartin <kyle@redhat.com> 2.6.32.2-1
Jesse Keating 2f82dd
- Rebased F-12 to 2.6.32, still needs forward porting of patches.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Dec 24 2009 Kyle McMartin <kyle@redhat.com> 2.6.32.2-15
Jesse Keating 2f82dd
- Add patch from dri-devel to fix vblanks on r600.
Jesse Keating 2f82dd
  [http://marc.info/?l=dri-devel&m=126137027403059&w=2]
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Dec 18 2009 Kyle McMartin <kyle@redhat.com> 2.6.32.2-14
Jesse Keating 2f82dd
- Linux 2.6.32.2
Jesse Keating 2f82dd
- dropped upstream patches.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Dec 18 2009 Roland McGrath <roland@redhat.com> - 2.6.32.1-13
Jesse Keating 2f82dd
- minor utrace update
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Dec 17 2009 Matthew Garrett <mjg@redhat.com> 2.6.32.1-12
Jesse Keating 2f82dd
- linux-2.6-driver-level-usb-autosuspend.diff: fix so it works properly...
Jesse Keating 2f82dd
- linux-2.6-fix-btusb-autosuspend.patch: avoid bluetooth connection drops
Jesse Keating 2f82dd
- linux-2.6-enable-btusb-autosuspend.patch: and default it to on
Jesse Keating 2f82dd
- linux-2.6-autoload-wmi.patch: autoload WMI drivers
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Dec 17 2009 Jarod Wilson <jarod@redhat.com> 2.6.32.1-11
Jesse Keating 2f82dd
- Split off onboard decode imon devices into pure input driver,
Jesse Keating 2f82dd
  leaving lirc_imon for the ancient imon devices only
Jesse Keating 2f82dd
- Fix NULL ptr deref in lirc_serial (#543886)
Jesse Keating 2f82dd
- Assorted lirc_mceusb fixups suggested by Mauro
Jesse Keating 2f82dd
- Dropped compat ioctls from lirc_dev, main ioctls should now be
Jesse Keating 2f82dd
  compatible between 32-bit and 64-bit (also at Mauro's suggestion)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Dec 16 2009 Roland McGrath <roland@redhat.com> 2.6.32.1-10
Jesse Keating 2f82dd
- utrace update, now testing the utrace-based ptrace!
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Dec 14 2009 Kyle McMartin <kyle@redhat.com> 2.6.32.1-9
Jesse Keating 2f82dd
- 2.6.32.1
Jesse Keating 2f82dd
- ext4 patches and more...
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Dec 09 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-8
Jesse Keating 2f82dd
- Add a patch off lkml from krh to fix perf when DEBUG_PERF_USE_VMALLOC
Jesse Keating 2f82dd
  (rhbz#542791)
Jesse Keating 2f82dd
- Re-enable CONFIG_DEBUG_PERF_USE_VMALLOC on debug kernels.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Dec 09 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-7
Jesse Keating 2f82dd
- ext4-fix-insufficient-checks-in-EXT4_IOC_MOVE_EXT.patch: CVE-2009-4131
Jesse Keating 2f82dd
  fix insufficient permission checking which could result in arbitrary
Jesse Keating 2f82dd
  data corruption by a local unprivileged user.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Dec 08 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.32-6
Jesse Keating 2f82dd
- Copy fix for #540580 from F-12.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Dec 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-5
Jesse Keating 2f82dd
- new rpm changes:
Jesse Keating 2f82dd
 - %{PACKAGE_VERSION} -> %{version}
Jesse Keating 2f82dd
 - %{PACKAGE_RELEASE} -> %{release}
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Dec 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-4
Jesse Keating 2f82dd
- Disable CONFIG_DEBUG_PERF_USE_VMALLOC for now, causes issues
Jesse Keating 2f82dd
  on x86_64. (rhbz#542791)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Dec  7 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.32-3
Jesse Keating 2f82dd
- Allow userspace to adjust kvmclock offset (#530389)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Dec  7 2009 Steve Dickson <steved@redhat.com> 2.6.32-2
Jesse Keating 2f82dd
- Updated the NFS4 pseudo root code to the latest release.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Dec 03 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-1
Jesse Keating 2f82dd
- Linux 2.6.32
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Dec 02 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.65.rc8.git5
Jesse Keating 2f82dd
- 2.6.32-rc8-git5
Jesse Keating 2f82dd
- nuke 9p cachefiles fix, upstream.
Jesse Keating 2f82dd
- SLOW_WORK_PROC was renamed to SLOW_WORK_DEBUG, debugfs instead of procfs.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Dec 02 2009 John W. Linville <linville@redhat.com> 2.6.32-0.64.rc8.git2
Jesse Keating 2f82dd
- ath9k: add fixes suggested by upstream maintainer
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Dec 02 2009 David Woodhouse <david.woodhouse@intel.com> 2.6.32-0.63.rc8.git2
Jesse Keating 2f82dd
- forward port IOMMU fixes from F-12 for HP BIOS brokenness
Jesse Keating 2f82dd
- Fix oops with intel_iommu=igfx_off
Jesse Keating 2f82dd
- agp/intel: Clear full GTT at startup
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Dec 02 2009 Dave Airlie <airlied@redhat.com> 2.6.32-0.62.rc8.git2
Jesse Keating 2f82dd
- forward port radeon fixes from F-12 + add radeon display port support
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Nov 30 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.61.rc8.git2
Jesse Keating 2f82dd
- fix-9p-fscache.patch: fix build.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Nov 30 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.60.rc8.git2
Jesse Keating 2f82dd
- 2.6.32-rc8-git2 daily snapshot
Jesse Keating 2f82dd
- nuke include/generated nuke-age since the patch was reverted upstream
Jesse Keating 2f82dd
- config changes:
Jesse Keating 2f82dd
 - generic:
Jesse Keating 2f82dd
  +CONFIG_FSCACHE_OBJECT_LIST=y
Jesse Keating 2f82dd
  +CONFIG_SLOW_WORK_PROC=y
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Nov 30 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- drm-i915-fix-sync-to-vbl-when-vga-is-off.patch: add, (rhbz#541670)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Nov 29 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- linux-2.6-sysrq-c.patch: drop, was made consistent upstream.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Nov 28 2009 Jarod Wilson <jarod@redhat.com> 2.6.32-0.55.rc8.git1
Jesse Keating 2f82dd
- add device name to lirc_zilog, fixes issues w/multiple target devices
Jesse Keating 2f82dd
- add lirc_imon pure input mode support for onboard decode devices
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Nov 27 2009 Dave Airlie <airlied@redhat.com> 2.6.32-0.54.rc8.git1
Jesse Keating 2f82dd
- attempt to put nouveau back - same patch as F-12 should work
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Nov 23 2009 Roland McGrath <roland@redhat.com>
Jesse Keating 2f82dd
- Install vmlinux.id file in kernel-devel rpm.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Nov 20 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.32-0.52.rc8.git1
Jesse Keating 2f82dd
- 2.6.32-rc8-git1
Jesse Keating 2f82dd
- Enable CONFIG_MEMORY_HOTPLUG (and HOTREMOVE) on x86_64
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Nov 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.51.rc7.git2
Jesse Keating 2f82dd
- Oops, re-enable debug builds for rawhide... didn't mean to commit that.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Nov 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.50.rc7.git2
Jesse Keating 2f82dd
- Disable FUNCTION_TRACER and DYNAMIC_FTRACE in non-debug builds for
Jesse Keating 2f82dd
  Fedora 13. Some pondering required to see if it's actually worth doing
Jesse Keating 2f82dd
  though. Anecdotal evidence worth half as much as benchmarks.
Jesse Keating 2f82dd
  STACK_TRACER selects FUNCTION_TRACER, so it has to go off too, sadly,
Jesse Keating 2f82dd
  since it hooks every mcount to log the stack depth for the task.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Nov 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.49.rc7.git2
Jesse Keating 2f82dd
- 2.6.32-rc7-git2
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Nov 16 2009 Dave Airlie <airlied@redhat.com> 2.6.32-0.48.rc7.git1
Jesse Keating 2f82dd
- backout gpg change now that koji is fixed
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Nov 15 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.32-0.47.rc7.git1
Jesse Keating 2f82dd
- Buildrequire gpg
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Nov 15 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Fix oops in VIA Padlock driver.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Nov 15 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Linux 2.6.32-rc7-git1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Nov 13 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Linux 2.6.32-rc7
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Nov 05 2009 Jarod Wilson <jarod@redhat.com>
Jesse Keating 2f82dd
- Add --with dbgonly rpmbuild option to build only debug kernels
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- Make JBD2_DEBUG a toggleable config option.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.39.rc6.git0
Jesse Keating 2f82dd
- 2.6.32-rc6, fix for NULL ptr deref in cfg80211.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Nov 02 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.39.rc5.git6
Jesse Keating 2f82dd
- 2.6.32-rc5-git6 (with sandeen's reversion of "ext4: Remove journal_checksum
Jesse Keating 2f82dd
  mount option and enable it by default")
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Nov 02 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc5-git5
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Oct 27 2009 John W. Linville <linville@redhat.com>
Jesse Keating 2f82dd
- Disable build of prism54 module
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
Jesse Keating 2f82dd
- Get dd command line args correct.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Oct 26 2009 Dave Jones <davej@redhat.com>
Jesse Keating 2f82dd
- Make a 20MB initramfs file so rpm gets its diskspace calculations right. (#530778)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Oct 23 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc5-git3
Jesse Keating 2f82dd
- Drop merged patch:
Jesse Keating 2f82dd
  linux-2.6-virtio_blk-revert-QUEUE_FLAG_VIRT-addition.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sat Oct 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.32-0.33.rc5.git1
Jesse Keating 2f82dd
- 2.6.32-rc5-git1
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Oct 16 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc5
Jesse Keating 2f82dd
- New config option: CONFIG_VMXNET3=m
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Oct 14 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc4-git4
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Oct 14 2009 Steve Dickson <steved@redhat.com>
Jesse Keating 2f82dd
- Updated the NFS v4 pseudo root patch so it will apply
Jesse Keating 2f82dd
- Fixed hang during NFS installs (bz 528537)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Oct 14 2009 Peter Jones <pjones@redhat.com>
Jesse Keating 2f82dd
- Add scsi_register_device_handler to modules.block's symbol list so
Jesse Keating 2f82dd
  we'll have scsi device handlers in installer images.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Oct 13 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- Always build perf docs, regardless of whether we build kernel-doc.
Jesse Keating 2f82dd
  Seems rather unfair to not ship the manpages half the time.
Jesse Keating 2f82dd
  Also, drop BuildRequires %if when not with_doc, the rules about %if
Jesse Keating 2f82dd
  there are f*!&^ing complicated.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Oct 13 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- Build perf manpages properly.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Oct 13 2009 Dave Airlie <airlied@redhat.com>
Jesse Keating 2f82dd
- cleanup some of drm vga arb bits that are upstream
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Oct 12 2009 Jarod Wilson <jarod@redhat.com>
Jesse Keating 2f82dd
- Merge lirc compile fixes into lirc patch
Jesse Keating 2f82dd
- Refresh lirc patch with additional irq handling fixage
Jesse Keating 2f82dd
- Fix IR transmit on port 1 of 1st-gen mceusb transceiver
Jesse Keating 2f82dd
- Support another mouse button variant on imon devices
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.32-0.24.rc4.git0
Jesse Keating 2f82dd
- Last-minute USB fix from upstream.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Oct 11 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Fix lirc build after header changes.
Jesse Keating 2f82dd
- Fix bug in lirc interrupt processing.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Oct 11 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Fix up multiple definition of debug options
Jesse Keating 2f82dd
  (EXT4_DEBUG, DEBUG_FORCE_WEAK_PER_CPU)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Oct 11 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc4
Jesse Keating 2f82dd
- New config options:
Jesse Keating 2f82dd
  CONFIG_BE2ISCSI=m
Jesse Keating 2f82dd
  CONFIG_SCSI_BFA_FC=m
Jesse Keating 2f82dd
  CONFIG_USB_MUSB_HDRC is not set
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Oct 11 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc3-git3
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com>
Jesse Keating 2f82dd
- ppc: compile nvidiafb as a module only, nvidiafb+nouveau = bang! (rh#491308)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Oct 07 2009 Dave Jones <davej@redhat.com>
Jesse Keating 2f82dd
- Enable FUNCTION_GRAPH_TRACER on x86-64.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Oct 07 2009 Dave Jones <davej@redhat.com>
Jesse Keating 2f82dd
- Disable CONFIG_IRQSOFF_TRACER on srostedt's recommendation.
Jesse Keating 2f82dd
  (Adds unwanted overhead when not in use).
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Oct 04 2009 Kyle McMartin <kyle@redhat.com> 2.6.32-0.17.rc3.git0
Jesse Keating 2f82dd
- 2.6.32-rc3 (bah, rebase script didn't catch it.)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Oct 04 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc1-git7
Jesse Keating 2f82dd
- [x86,x86_64] ACPI_PROCESSOR_AGGREGATOR=m
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Sep 28 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- 2.6.32-rc1
Jesse Keating 2f82dd
- rebased crash-driver patchset, ia64_ksyms.c conflicts. move x86 crash.h
Jesse Keating 2f82dd
  file to the right place.
Jesse Keating 2f82dd
- full changelog forthcoming & to fedora-kernel-list.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Sep 28 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- sick of rejects.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Sep 28 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Fix up some items missing in make debug vs. make release,
Jesse Keating 2f82dd
  rearrange so the options are in the same order.
Jesse Keating 2f82dd
- Add new debug options:
Jesse Keating 2f82dd
  CONFIG_EXT4_DEBUG
Jesse Keating 2f82dd
  CONFIG_DEBUG_FORCE_WEAK_PER_CPU
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Sep 27 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- Must now make mrproper after each config pass, due to Kbuild
Jesse Keating 2f82dd
  stashing away the $ARCH variable.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Sun Sep 27 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- 2.6.31-git18
Jesse Keating 2f82dd
- rebased:
Jesse Keating 2f82dd
 - hdpvr-ir-enable.patch
Jesse Keating 2f82dd
 - linux-2.6-build-nonintconfig.patch
Jesse Keating 2f82dd
 - linux-2.6-debug-sizeof-structs.patch
Jesse Keating 2f82dd
 - linux-2.6-debug-vm-would-have-oomkilled.patch
Jesse Keating 2f82dd
 - linux-2.6-execshield.patch
Jesse Keating 2f82dd
 - linux-2.6-makefile-after_link.patch
Jesse Keating 2f82dd
 - linux-2.6-serial-460800.patch
Jesse Keating 2f82dd
 - linux-2.6-utrace.patch
Jesse Keating 2f82dd
 - via-hwmon-temp-sensor.patch
Jesse Keating 2f82dd
- merged:
Jesse Keating 2f82dd
 - linux-2.6-tracehook.patch
Jesse Keating 2f82dd
 - linux-2.6-die-closed-source-bios-muppets-die.patch
Jesse Keating 2f82dd
 - linux-2.6-intel-iommu-updates.patch
Jesse Keating 2f82dd
 - linux-2.6-ksm.patch
Jesse Keating 2f82dd
 - linux-2.6-ksm-updates.patch
Jesse Keating 2f82dd
 - linux-2.6-ksm-fix-munlock.patch
Jesse Keating 2f82dd
 - linux-2.6-vga-arb.patch
Jesse Keating 2f82dd
 - v4l-dvb-fix-cx25840-firmware-loading.patch
Jesse Keating 2f82dd
 - linux-2.6-rtc-show-hctosys.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Sep 18 2009 Dave Jones <davej@redhat.com>
Jesse Keating 2f82dd
- %ghost the dracut initramfs file.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Sep 17 2009 Hans de Goede <hdegoede@redhat.com>
Jesse Keating 2f82dd
- Now that we have %%post generation of dracut images we do not need to
Jesse Keating 2f82dd
  Require dracut-kernel anymore
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Thu Sep 17 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- Disable drm-nouveau too -- it won't build without other
Jesse Keating 2f82dd
  drm updates.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Wed Sep 16 2009 Roland McGrath <roland@redhat.com>
Jesse Keating 2f82dd
- Remove workaround for gcc bug #521991, now fixed.
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Tue Sep 15 2009 Kyle McMartin <kyle@redhat.com>
Jesse Keating 2f82dd
- 2.6.31-git4
Jesse Keating 2f82dd
- rebased:
Jesse Keating 2f82dd
 - linux-2.6-execshield.patch: split paravirt_types.h
Jesse Keating 2f82dd
 - linux-2.6-buildnonintconfig.patch
Jesse Keating 2f82dd
- disabled:
Jesse Keating 2f82dd
 - ksm, drm.
Jesse Keating 2f82dd
- merged:
Jesse Keating 2f82dd
 - linux-2.6-kvm-pvmmu-do-not-batch-pte-updates-from-interrupt-context.patch
Jesse Keating 2f82dd
 - linux-2.6-kvm-vmx-check-cpl-before-emulating-debug-register-access.patch
Jesse Keating 2f82dd
 - linux-2.6-use-__pa_symbol-to-calculate-address-of-C-symbol.patch
Jesse Keating 2f82dd
 - linux-2.6-xen-stack-protector-fix.patch
Jesse Keating 2f82dd
 - linux-2.6-bluetooth-autosuspend.diff
Jesse Keating 2f82dd
 - hid-ignore-all-recent-imon-devices.patch
Jesse Keating 2f82dd
- config changes:
Jesse Keating 2f82dd
 - arm:
Jesse Keating 2f82dd
  - CONFIG_HIGHPTE off, seems safer this way.
Jesse Keating 2f82dd
 - generic:
Jesse Keating 2f82dd
  - RDS_RDMA/RDS_TCP=m
Jesse Keating 2f82dd
  - SCSI_PMCRAID=m
Jesse Keating 2f82dd
  - WLAN=y, CFG80211_DEFAULT_PS=y, NL80211_TESTMODE off.
Jesse Keating 2f82dd
  - WL12XX=m
Jesse Keating 2f82dd
  - B43_PHY_LP=y
Jesse Keating 2f82dd
  - BT_MRVL=m
Jesse Keating 2f82dd
  - new MISDN stuff modular.
Jesse Keating 2f82dd
 - sparc:
Jesse Keating 2f82dd
  - enable PERF_COUNTERS & EVENT_PROFILE
Jesse Keating 2f82dd
 - ppc:
Jesse Keating 2f82dd
  - XILINX_EMACSLITE=m
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Sep 14 2009 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 2f82dd
- 2.6.31-git2
Jesse Keating 2f82dd
- Drop merged patches:
Jesse Keating 2f82dd
  sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
Jesse Keating 2f82dd
  linux-2.6-nfs4-ver4opt.patch
Jesse Keating 2f82dd
  linux-2.6-alsa-improve-hda-powerdown.patch
Jesse Keating 2f82dd
  alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch
Jesse Keating 2f82dd
  linux-2.6-ahci-export-capabilities.patch
Jesse Keating 2f82dd
- New s390 config option:
Jesse Keating 2f82dd
   CONFIG_SCLP_ASYNC=m
Jesse Keating 2f82dd
- New generic config options:
Jesse Keating 2f82dd
   CONFIG_ATA_VERBOSE_ERROR=y
Jesse Keating 2f82dd
   CONFIG_PATA_RDC=m
Jesse Keating 2f82dd
   CONFIG_SOUND_OSS_CORE_PRECLAIM=y
Jesse Keating 2f82dd
   CONFIG_SND_HDA_PATCH_LOADER=y
Jesse Keating 2f82dd
   CONFIG_SND_HDA_CODEC_CIRRUS=y
Jesse Keating 2f82dd
   CONFIG_OPROFILE_EVENT_MULTIPLEX=y
Jesse Keating 2f82dd
   CONFIG_CRYPTO_VMAC=m
Jesse Keating 2f82dd
   CONFIG_CRYPTO_GHASH=m
Jesse Keating 2f82dd
- New debug option:
Jesse Keating 2f82dd
   CONFIG_DEBUG_CREDENTIALS=y in debug kernels
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Mon Sep 14 2009 Steve Dickson <steved@redhat.com>
Jesse Keating 2f82dd
- Added support for -o v4 mount parsing
Jesse Keating 2f82dd
Jesse Keating 2f82dd
* Fri Sep 11 2009 Dave Jones <davej@redhat.com>
Jesse Keating 2f82dd
- Apply NX/RO to modules
Jesse Keating 2f82dd
Jesse Keating 2f82dd