Parent Directory
|
Revision Log
* Wed Mar 11 2009 Oliver Falk <oliver@linux-kernel.at> 2.6.28.2-7
- Modify kernel spec to build on alpha again
- Remove all alphaev* from spec, as we only build for 'alpha'
- Patches for alpha:
- linux-2.6.28-alpha-exec_range.patch
- add execshield dummy functions for alpha
- linux-2.6-alpha-pci_get_bus_and_slot.patch
- Do not limit bus/slot search to PCI domain 0 on alpha
- linux-2.6-alpha-eepro100-cleanup.patch
- cleanup extraneous "freeing mc frame" messages from driver
- linux-2.6.28-alpha-pci.h.patch, linux-2.6-alpha-pci.c.patch
- Platform support for /proc/bus/pci/X/Y mmap()s
| 1 | Summary: The Linux kernel |
| 2 | |
| 3 | # For a stable, released kernel, released_kernel should be 1. For rawhide |
| 4 | # and/or a kernel built from an rc or git snapshot, released_kernel should |
| 5 | # be 0. |
| 6 | %define released_kernel 1 |
| 7 | |
| 8 | # Versions of various parts |
| 9 | |
| 10 | # Polite request for people who spin their own kernel rpms: |
| 11 | # please modify the "buildid" define in a way that identifies |
| 12 | # that the kernel isn't the stock distribution kernel, for example, |
| 13 | # by setting the define to ".local" or ".bz123456" |
| 14 | # |
| 15 | #% define buildid .local |
| 16 | |
| 17 | # fedora_build defines which build revision of this kernel version we're |
| 18 | # building. Rather than incrementing forever, as with the prior versioning |
| 19 | # setup, we set fedora_cvs_origin to the current cvs revision s/1.// of the |
| 20 | # kernel spec when the kernel is rebased, so fedora_build automatically |
| 21 | # works out to the offset from the rebase, so it doesn't get too ginormous. |
| 22 | # |
| 23 | %define fedora_cvs_origin 892 |
| 24 | %define fedora_build_string %(R="$Revision: 1.899 $"; R="${R%% \$}"; R="${R#: 1.}"; echo $R) |
| 25 | %define fedora_build_origin %(R=%{fedora_build_string}; R="${R%%%%.*}"; echo $R) |
| 26 | %define fedora_build_prefix %(expr %{fedora_build_origin} - %{fedora_cvs_origin}) |
| 27 | %define fedora_build_suffix %(R=%{fedora_build_string}; R="${R#%{fedora_build_origin}}"; echo $R) |
| 28 | %define fedora_build %{fedora_build_prefix}%{?fedora_build_suffix} |
| 29 | |
| 30 | # base_sublevel is the kernel version we're starting with and patching |
| 31 | # on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base, |
| 32 | # which yields a base_sublevel of 21. |
| 33 | %define base_sublevel 28 |
| 34 | |
| 35 | ## If this is a released kernel ## |
| 36 | %if 0%{?released_kernel} |
| 37 | |
| 38 | # Do we have a -stable update to apply? |
| 39 | %define stable_update 2 |
| 40 | # Is it a -stable RC? |
| 41 | %define stable_rc 0 |
| 42 | # Set rpm version accordingly |
| 43 | %if 0%{?stable_update} |
| 44 | %define stablerev .%{stable_update} |
| 45 | %define stable_base %{stable_update} |
| 46 | %if 0%{?stable_rc} |
| 47 | # stable RCs are incremental patches, so we need the previous stable patch |
| 48 | %define stable_base %(expr %{stable_update} - 1) |
| 49 | %endif |
| 50 | %endif |
| 51 | %define rpmversion 2.6.%{base_sublevel}%{?stablerev} |
| 52 | |
| 53 | ## The not-released-kernel case ## |
| 54 | %else |
| 55 | # The next upstream release sublevel (base_sublevel+1) |
| 56 | %define upstream_sublevel %(expr %{base_sublevel} + 1) |
| 57 | # The rc snapshot level |
| 58 | %define rcrev 0 |
| 59 | # The git snapshot level |
| 60 | %define gitrev 0 |
| 61 | # Set rpm version accordingly |
| 62 | %define rpmversion 2.6.%{upstream_sublevel} |
| 63 | %endif |
| 64 | # Nb: The above rcrev and gitrev values automagically define Patch00 and Patch01 below. |
| 65 | |
| 66 | # What parts do we want to build? We must build at least one kernel. |
| 67 | # These are the kernels that are built IF the architecture allows it. |
| 68 | # All should default to 1 (enabled) and be flipped to 0 (disabled) |
| 69 | # by later arch-specific checks. |
| 70 | |
| 71 | # The following build options are enabled by default. |
| 72 | # Use either --without <opt> in your rpmbuild command or force values |
| 73 | # to 0 in here to disable them. |
| 74 | # |
| 75 | # standard kernel |
| 76 | %define with_up %{?_without_up: 0} %{?!_without_up: 1} |
| 77 | # kernel-smp (only valid for ppc 32-bit, sparc64 and alpha) |
| 78 | %define with_smp %{?_without_smp: 0} %{?!_without_smp: 1} |
| 79 | # kernel-PAE (only valid for i686) |
| 80 | %define with_pae %{?_without_pae: 0} %{?!_without_pae: 1} |
| 81 | # kernel-kdump |
| 82 | %define with_kdump %{?_without_kdump: 0} %{?!_without_kdump: 1} |
| 83 | # kernel-debug |
| 84 | %define with_debug %{?_without_debug: 0} %{?!_without_debug: 1} |
| 85 | # kernel-doc |
| 86 | %define with_doc %{?_without_doc: 0} %{?!_without_doc: 1} |
| 87 | # kernel-headers |
| 88 | %define with_headers %{?_without_headers: 0} %{?!_without_headers: 1} |
| 89 | # kernel-firmware |
| 90 | %define with_firmware %{?_with_firmware: 1} %{?!_with_firmware: 0} |
| 91 | # kernel-debuginfo |
| 92 | %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1} |
| 93 | # kernel-bootwrapper (for creating zImages from kernel + initrd) |
| 94 | %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1} |
| 95 | # Want to build a the vsdo directories installed |
| 96 | %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1} |
| 97 | |
| 98 | # Build the kernel-doc package, but don't fail the build if it botches. |
| 99 | # Here "true" means "continue" and "false" means "fail the build". |
| 100 | #% define with_doc 0 |
| 101 | %if 0%{?released_kernel} |
| 102 | %define doc_build_fail false |
| 103 | %else |
| 104 | %define doc_build_fail true |
| 105 | %endif |
| 106 | |
| 107 | # Additional options for user-friendly one-off kernel building: |
| 108 | # |
| 109 | # Only build the base kernel (--with baseonly): |
| 110 | %define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0} |
| 111 | # Only build the smp kernel (--with smponly): |
| 112 | %define with_smponly %{?_with_smponly: 1} %{?!_with_smponly: 0} |
| 113 | # Only build the pae kernel (--with paeonly): |
| 114 | %define with_paeonly %{?_with_paeonly: 1} %{?!_with_paeonly: 0} |
| 115 | |
| 116 | # should we do C=1 builds with sparse |
| 117 | %define with_sparse %{?_with_sparse: 1} %{?!_with_sparse: 0} |
| 118 | |
| 119 | # Set debugbuildsenabled to 1 for production (build separate debug kernels) |
| 120 | # and 0 for rawhide (all kernels are debug kernels). |
| 121 | # See also 'make debug' and 'make release'. |
| 122 | %define debugbuildsenabled 0 |
| 123 | |
| 124 | # Want to build a vanilla kernel build without any non-upstream patches? |
| 125 | # (well, almost none, we need nonintconfig for build purposes). Default to 0 (off). |
| 126 | %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0} |
| 127 | |
| 128 | # pkg_release is what we'll fill in for the rpm Release: field |
| 129 | %if 0%{?released_kernel} |
| 130 | |
| 131 | %if 0%{?stable_rc} |
| 132 | %define stable_rctag .rc%{stable_rc} |
| 133 | %endif |
| 134 | %define pkg_release %{fedora_build}%{?stable_rctag}%{?buildid}%{?dist} |
| 135 | |
| 136 | %else |
| 137 | |
| 138 | # non-released_kernel |
| 139 | %if 0%{?rcrev} |
| 140 | %define rctag .rc%rcrev |
| 141 | %endif |
| 142 | %if 0%{?gitrev} |
| 143 | %define gittag .git%gitrev |
| 144 | %if !0%{?rcrev} |
| 145 | %define rctag .rc0 |
| 146 | %endif |
| 147 | %endif |
| 148 | %define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist} |
| 149 | |
| 150 | %endif |
| 151 | |
| 152 | # The kernel tarball/base version |
| 153 | %define kversion 2.6.%{base_sublevel} |
| 154 | |
| 155 | %define make_target bzImage |
| 156 | |
| 157 | %define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}.%{_target_cpu} |
| 158 | %define hdrarch %_target_cpu |
| 159 | %define asmarch %_target_cpu |
| 160 | |
| 161 | %if 0%{!?nopatches:1} |
| 162 | %define nopatches 0 |
| 163 | %endif |
| 164 | |
| 165 | %if %{with_vanilla} |
| 166 | %define nopatches 1 |
| 167 | %endif |
| 168 | |
| 169 | %if %{nopatches} |
| 170 | %define with_bootwrapper 0 |
| 171 | %define variant -vanilla |
| 172 | %else |
| 173 | %define variant_fedora -fedora |
| 174 | %endif |
| 175 | |
| 176 | %define using_upstream_branch 0 |
| 177 | %if 0%{?upstream_branch:1} |
| 178 | %define stable_update 0 |
| 179 | %define using_upstream_branch 1 |
| 180 | %define variant -%{upstream_branch}%{?variant_fedora} |
| 181 | %define pkg_release 0.%{fedora_build}%{upstream_branch_tag}%{?buildid}%{?dist} |
| 182 | %endif |
| 183 | |
| 184 | %if !%{debugbuildsenabled} |
| 185 | %define with_debug 0 |
| 186 | %endif |
| 187 | |
| 188 | %if !%{with_debuginfo} |
| 189 | %define _enable_debug_packages 0 |
| 190 | %endif |
| 191 | %define debuginfodir /usr/lib/debug |
| 192 | |
| 193 | # if requested, only build base kernel |
| 194 | %if %{with_baseonly} |
| 195 | %define with_smp 0 |
| 196 | %define with_pae 0 |
| 197 | %define with_kdump 0 |
| 198 | %define with_debug 0 |
| 199 | %endif |
| 200 | |
| 201 | # if requested, only build smp kernel |
| 202 | %if %{with_smponly} |
| 203 | %define with_up 0 |
| 204 | %define with_pae 0 |
| 205 | %define with_kdump 0 |
| 206 | %define with_debug 0 |
| 207 | %endif |
| 208 | |
| 209 | # if requested, only build pae kernel |
| 210 | %if %{with_paeonly} |
| 211 | %define with_up 0 |
| 212 | %define with_smp 0 |
| 213 | %define with_kdump 0 |
| 214 | %define with_debug 0 |
| 215 | %endif |
| 216 | |
| 217 | %define all_x86 i386 i586 i686 |
| 218 | |
| 219 | %if %{with_vdso_install} |
| 220 | # These arches install vdso/ directories. |
| 221 | %define vdso_arches %{all_x86} x86_64 ppc ppc64 |
| 222 | %endif |
| 223 | |
| 224 | # Overrides for generic default options |
| 225 | |
| 226 | # only ppc, sparc64, alpha need separate smp kernels |
| 227 | %ifnarch ppc sparc64 alpha |
| 228 | %define with_smp 0 |
| 229 | %endif |
| 230 | |
| 231 | # pae is only valid on i686 |
| 232 | %ifnarch i686 |
| 233 | %define with_pae 0 |
| 234 | %endif |
| 235 | |
| 236 | # only build kernel-kdump on ppc64 |
| 237 | # (no relocatable kernel support upstream yet) |
| 238 | #FIXME: Temporarily disabled to speed up builds. |
| 239 | #ifnarch ppc64 |
| 240 | %define with_kdump 0 |
| 241 | #endif |
| 242 | |
| 243 | # don't do debug builds on anything but i686 and x86_64 |
| 244 | %ifnarch i686 x86_64 |
| 245 | %define with_debug 0 |
| 246 | %endif |
| 247 | |
| 248 | # only package docs noarch |
| 249 | %ifnarch noarch |
| 250 | %define with_doc 0 |
| 251 | %endif |
| 252 | |
| 253 | # no need to build headers again for these arches, |
| 254 | # they can just use i386 and ppc64 headers |
| 255 | %ifarch i586 i686 ppc64iseries |
| 256 | %define with_headers 0 |
| 257 | %endif |
| 258 | |
| 259 | # don't build noarch kernels or headers (duh) |
| 260 | %ifarch noarch |
| 261 | %define with_up 0 |
| 262 | %define with_headers 0 |
| 263 | %define all_arch_configs kernel-%{version}-*.config |
| 264 | %define with_firmware %{?_without_firmware: 0} %{?!_without_firmware: 1} |
| 265 | %endif |
| 266 | |
| 267 | # bootwrapper is only on ppc |
| 268 | %ifnarch ppc ppc64 |
| 269 | %define with_bootwrapper 0 |
| 270 | %endif |
| 271 | |
| 272 | # sparse blows up on ppc64 alpha and sparc64 |
| 273 | %ifarch ppc64 ppc alpha sparc64 |
| 274 | %define with_sparse 0 |
| 275 | %endif |
| 276 | |
| 277 | # Per-arch tweaks |
| 278 | |
| 279 | %ifarch %{all_x86} |
| 280 | %define asmarch x86 |
| 281 | %define hdrarch i386 |
| 282 | %define all_arch_configs kernel-%{version}-i?86*.config |
| 283 | %define image_install_path boot |
| 284 | %define kernel_image arch/x86/boot/bzImage |
| 285 | %endif |
| 286 | |
| 287 | %ifarch x86_64 |
| 288 | %define asmarch x86 |
| 289 | %define all_arch_configs kernel-%{version}-x86_64*.config |
| 290 | %define image_install_path boot |
| 291 | %define kernel_image arch/x86/boot/bzImage |
| 292 | %endif |
| 293 | |
| 294 | %ifarch ppc64 |
| 295 | %define asmarch powerpc |
| 296 | %define hdrarch powerpc |
| 297 | %define all_arch_configs kernel-%{version}-ppc64*.config |
| 298 | %define image_install_path boot |
| 299 | %define make_target vmlinux |
| 300 | %define kernel_image vmlinux |
| 301 | %define kernel_image_elf 1 |
| 302 | %endif |
| 303 | |
| 304 | %ifarch s390x |
| 305 | %define asmarch s390 |
| 306 | %define hdrarch s390 |
| 307 | %define all_arch_configs kernel-%{version}-s390x.config |
| 308 | %define image_install_path boot |
| 309 | %define make_target image |
| 310 | %define kernel_image arch/s390/boot/image |
| 311 | %endif |
| 312 | |
| 313 | %ifarch sparc |
| 314 | # We only build sparc headers since we dont support sparc32 hardware |
| 315 | %endif |
| 316 | |
| 317 | %ifarch sparc64 |
| 318 | %define asmarch sparc |
| 319 | %define all_arch_configs kernel-%{version}-sparc64*.config |
| 320 | %define make_target image |
| 321 | %define kernel_image arch/sparc64/boot/image |
| 322 | %define image_install_path boot |
| 323 | %endif |
| 324 | |
| 325 | %ifarch ppc |
| 326 | %define asmarch powerpc |
| 327 | %define hdrarch powerpc |
| 328 | %define all_arch_configs kernel-%{version}-ppc{-,.}*config |
| 329 | %define image_install_path boot |
| 330 | %define make_target vmlinux |
| 331 | %define kernel_image vmlinux |
| 332 | %define kernel_image_elf 1 |
| 333 | %endif |
| 334 | |
| 335 | %ifarch ia64 |
| 336 | %define all_arch_configs kernel-%{version}-ia64*.config |
| 337 | %define image_install_path boot/efi/EFI/redhat |
| 338 | %define make_target compressed |
| 339 | %define kernel_image vmlinux.gz |
| 340 | %endif |
| 341 | |
| 342 | %ifarch alpha |
| 343 | %define all_arch_configs kernel-%{version}-alpha*.config |
| 344 | %define image_install_path boot |
| 345 | %define kernel_image vmlinux |
| 346 | %define make_target boot |
| 347 | %define kernel_image arch/alpha/boot/vmlinux.gz |
| 348 | %define kernel_image_elf 1 |
| 349 | %endif |
| 350 | |
| 351 | %if %{nopatches} |
| 352 | # XXX temporary until last vdso patches are upstream |
| 353 | %define vdso_arches ppc ppc64 |
| 354 | %endif |
| 355 | |
| 356 | %if %{nopatches}%{using_upstream_branch} |
| 357 | # Ignore unknown options in our config-* files. |
| 358 | # Some options go with patches we're not applying. |
| 359 | %define oldconfig_target loose_nonint_oldconfig |
| 360 | %else |
| 361 | %define oldconfig_target nonint_oldconfig |
| 362 | %endif |
| 363 | |
| 364 | # To temporarily exclude an architecture from being built, add it to |
| 365 | # %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we |
| 366 | # don't build kernel-headers then the new build system will no longer let |
| 367 | # us use the previous build of that package -- it'll just be completely AWOL. |
| 368 | # Which is a BadThing(tm). |
| 369 | |
| 370 | # We don't build a kernel on i386; we only do kernel-headers there, |
| 371 | # and we no longer build for 31bit S390. Same for 32bit sparc. |
| 372 | %define nobuildarches i386 s390 sparc |
| 373 | |
| 374 | %ifarch %nobuildarches |
| 375 | %define with_up 0 |
| 376 | %define with_smp 0 |
| 377 | %define with_pae 0 |
| 378 | %define with_kdump 0 |
| 379 | %define with_debuginfo 0 |
| 380 | %define _enable_debug_packages 0 |
| 381 | %endif |
| 382 | |
| 383 | %define with_pae_debug 0 |
| 384 | %if %with_pae |
| 385 | %define with_pae_debug %{with_debug} |
| 386 | %endif |
| 387 | |
| 388 | # |
| 389 | # Three sets of minimum package version requirements in the form of Conflicts: |
| 390 | # to versions below the minimum |
| 391 | # |
| 392 | |
| 393 | # |
| 394 | # First the general kernel 2.6 required versions as per |
| 395 | # Documentation/Changes |
| 396 | # |
| 397 | %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 |
| 398 | |
| 399 | # |
| 400 | # Then a series of requirements that are distribution specific, either |
| 401 | # because we add patches for something, or the older versions have |
| 402 | # problems with the newer kernel or lack certain things that make |
| 403 | # integration in the distro harder than needed. |
| 404 | # |
| 405 | %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 |
| 406 | |
| 407 | # |
| 408 | # The ld.so.conf.d file we install uses syntax older ldconfig's don't grok. |
| 409 | # |
| 410 | %define kernel_xen_conflicts glibc < 2.3.5-1, xen < 3.0.1 |
| 411 | |
| 412 | # upto and including kernel 2.4.9 rpms, the 4Gb+ kernel was called kernel-enterprise |
| 413 | # now that the smp kernel offers this capability, obsolete the old kernel |
| 414 | %define kernel_smp_obsoletes kernel-enterprise < 2.4.10 |
| 415 | %define kernel_PAE_obsoletes kernel-smp < 2.6.17, kernel-xen <= 2.6.27-0.2.rc0.git6.fc10 |
| 416 | %define kernel_PAE_provides kernel-xen = %{rpmversion}-%{pkg_release} |
| 417 | |
| 418 | %ifarch x86_64 |
| 419 | %define kernel_obsoletes kernel-xen <= 2.6.27-0.2.rc0.git6.fc10 |
| 420 | %define kernel_provides kernel-xen = %{rpmversion}-%{pkg_release} |
| 421 | %endif |
| 422 | |
| 423 | # We moved the drm include files into kernel-headers, make sure there's |
| 424 | # a recent enough libdrm-devel on the system that doesn't have those. |
| 425 | %define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15 |
| 426 | |
| 427 | # |
| 428 | # Packages that need to be installed before the kernel is, because the %post |
| 429 | # scripts use them. |
| 430 | # |
| 431 | %define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, mkinitrd >= 6.0.61-1, kernel-firmware >= %{rpmversion}-%{pkg_release}, /sbin/new-kernel-pkg |
| 432 | |
| 433 | # |
| 434 | # This macro does requires, provides, conflicts, obsoletes for a kernel package. |
| 435 | # %%kernel_reqprovconf <subpackage> |
| 436 | # It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes |
| 437 | # macros defined above. |
| 438 | # |
| 439 | %define kernel_reqprovconf \ |
| 440 | Provides: kernel = %{rpmversion}-%{pkg_release}\ |
| 441 | Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\ |
| 442 | Provides: kernel-drm = 4.3.0\ |
| 443 | Provides: kernel-drm-nouveau = 11\ |
| 444 | Provides: kernel-modeset = 1\ |
| 445 | Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\ |
| 446 | Requires(pre): %{kernel_prereq}\ |
| 447 | Conflicts: %{kernel_dot_org_conflicts}\ |
| 448 | Conflicts: %{package_conflicts}\ |
| 449 | %{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\ |
| 450 | %{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\ |
| 451 | %{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\ |
| 452 | # We can't let RPM do the dependencies automatic because it'll then pick up\ |
| 453 | # a correct but undesirable perl dependency from the module headers which\ |
| 454 | # isn't required for the kernel proper to function\ |
| 455 | AutoReq: no\ |
| 456 | AutoProv: yes\ |
| 457 | %{nil} |
| 458 | |
| 459 | Name: kernel%{?variant} |
| 460 | Group: System Environment/Kernel |
| 461 | License: GPLv2 |
| 462 | URL: http://www.kernel.org/ |
| 463 | Version: %{rpmversion} |
| 464 | Release: %{pkg_release} |
| 465 | # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD. |
| 466 | # SET %%nobuildarches (ABOVE) INSTEAD |
| 467 | ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390x alpha |
| 468 | ExclusiveOS: Linux |
| 469 | |
| 470 | %kernel_reqprovconf |
| 471 | %ifarch x86_64 |
| 472 | Obsoletes: kernel-smp |
| 473 | %endif |
| 474 | |
| 475 | |
| 476 | # |
| 477 | # List the packages used during the kernel build |
| 478 | # |
| 479 | BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar |
| 480 | BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk |
| 481 | BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config |
| 482 | BuildRequires: net-tools |
| 483 | %if %{with_doc} |
| 484 | BuildRequires: xmlto |
| 485 | %endif |
| 486 | %if %{with_sparse} |
| 487 | BuildRequires: sparse >= 0.4.1 |
| 488 | %endif |
| 489 | BuildConflicts: rhbuildsys(DiskFree) < 500Mb |
| 490 | |
| 491 | %define fancy_debuginfo 0 |
| 492 | %if %{with_debuginfo} |
| 493 | %if 0%{?fedora} >= 8 |
| 494 | %define fancy_debuginfo 1 |
| 495 | %endif |
| 496 | %endif |
| 497 | |
| 498 | %if %{fancy_debuginfo} |
| 499 | # Fancy new debuginfo generation introduced in Fedora 8. |
| 500 | BuildRequires: rpm-build >= 4.4.2.1-4 |
| 501 | %define debuginfo_args --strict-build-id |
| 502 | %endif |
| 503 | |
| 504 | Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2 |
| 505 | |
| 506 | Source11: genkey |
| 507 | Source14: find-provides |
| 508 | Source15: merge.pl |
| 509 | |
| 510 | Source20: Makefile.config |
| 511 | Source21: config-debug |
| 512 | Source22: config-nodebug |
| 513 | Source23: config-generic |
| 514 | Source24: config-rhel-generic |
| 515 | |
| 516 | Source30: config-x86-generic |
| 517 | Source31: config-i586 |
| 518 | Source32: config-i686 |
| 519 | Source33: config-i686-PAE |
| 520 | |
| 521 | Source40: config-x86_64-generic |
| 522 | |
| 523 | Source50: config-powerpc-generic |
| 524 | Source51: config-powerpc32-generic |
| 525 | Source52: config-powerpc32-smp |
| 526 | Source53: config-powerpc64 |
| 527 | Source54: config-powerpc64-kdump |
| 528 | |
| 529 | Source60: config-ia64-generic |
| 530 | |
| 531 | Source70: config-s390x |
| 532 | |
| 533 | Source90: config-sparc64-generic |
| 534 | Source91: config-sparc64-smp |
| 535 | |
| 536 | Source100: config-alpha-generic |
| 537 | Source101: config-alpha-smp |
| 538 | |
| 539 | # Here should be only the patches up to the upstream canonical Linus tree. |
| 540 | |
| 541 | # For a stable release kernel |
| 542 | %if 0%{?stable_update} |
| 543 | %if 0%{?stable_base} |
| 544 | %define stable_patch_00 patch-2.6.%{base_sublevel}.%{stable_base}.bz2 |
| 545 | Patch00: %{stable_patch_00} |
| 546 | %endif |
| 547 | %if 0%{?stable_rc} |
| 548 | %define stable_patch_01 patch-2.6.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.bz2 |
| 549 | Patch01: %{stable_patch_01} |
| 550 | %endif |
| 551 | |
| 552 | # non-released_kernel case |
| 553 | # These are automagically defined by the rcrev and gitrev values set up |
| 554 | # near the top of this spec file. |
| 555 | %else |
| 556 | %if 0%{?rcrev} |
| 557 | Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2 |
| 558 | %if 0%{?gitrev} |
| 559 | Patch01: patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2 |
| 560 | %endif |
| 561 | %else |
| 562 | # pre-{base_sublevel+1}-rc1 case |
| 563 | %if 0%{?gitrev} |
| 564 | Patch00: patch-2.6.%{base_sublevel}-git%{gitrev}.bz2 |
| 565 | %endif |
| 566 | %endif |
| 567 | %endif |
| 568 | |
| 569 | %if %{using_upstream_branch} |
| 570 | ### BRANCH PATCH ### |
| 571 | %endif |
| 572 | |
| 573 | Patch02: git-linus.diff |
| 574 | |
| 575 | # we always need nonintconfig, even for -vanilla kernels |
| 576 | Patch03: linux-2.6-build-nonintconfig.patch |
| 577 | |
| 578 | # we also need compile fixes for -vanilla |
| 579 | Patch04: linux-2.6-compile-fixes.patch |
| 580 | |
| 581 | # build tweak for build ID magic, even for -vanilla |
| 582 | Patch05: linux-2.6-makefile-after_link.patch |
| 583 | |
| 584 | %if !%{nopatches} |
| 585 | |
| 586 | # revert upstream patches we get via other methods |
| 587 | Patch09: linux-2.6-upstream-reverts.patch |
| 588 | # Git trees. |
| 589 | Patch10: git-cpufreq.patch |
| 590 | |
| 591 | # Standalone patches |
| 592 | Patch20: linux-2.6-hotfixes.patch |
| 593 | |
| 594 | Patch21: linux-2.6-utrace.patch |
| 595 | |
| 596 | Patch30: linux-2.6-x86-mtrr-kill-bogus-warning.patch |
| 597 | |
| 598 | Patch41: linux-2.6-sysrq-c.patch |
| 599 | |
| 600 | Patch140: linux-2.6-ps3-ehci-iso.patch |
| 601 | Patch141: linux-2.6-ps3-storage-alias.patch |
| 602 | Patch142: linux-2.6-ps3-legacy-bootloader-hack.patch |
| 603 | Patch143: linux-2.6-g5-therm-shutdown.patch |
| 604 | Patch144: linux-2.6-vio-modalias.patch |
| 605 | Patch147: linux-2.6-imac-transparent-bridge.patch |
| 606 | Patch149: linux-2.6-efika-not-chrp.patch |
| 607 | |
| 608 | Patch160: linux-2.6-execshield.patch |
| 609 | Patch250: linux-2.6-debug-sizeof-structs.patch |
| 610 | Patch260: linux-2.6-debug-nmi-timeout.patch |
| 611 | Patch270: linux-2.6-debug-taint-vm.patch |
| 612 | Patch280: linux-2.6-debug-spinlock-taint.patch |
| 613 | Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch |
| 614 | Patch360: linux-2.6-debug-always-inline-kzalloc.patch |
| 615 | Patch370: linux-2.6-crash-driver.patch |
| 616 | Patch380: linux-2.6-defaults-pci_no_msi.patch |
| 617 | Patch381: linux-2.6-pciehp-update.patch |
| 618 | Patch382: linux-2.6-defaults-pciehp.patch |
| 619 | Patch390: linux-2.6-defaults-acpi-video.patch |
| 620 | Patch391: linux-2.6-acpi-video-dos.patch |
| 621 | Patch400: linux-2.6-scsi-cpqarray-set-master.patch |
| 622 | Patch420: linux-2.6-squashfs.patch |
| 623 | Patch430: linux-2.6-net-silence-noisy-printks.patch |
| 624 | Patch450: linux-2.6-input-kill-stupid-messages.patch |
| 625 | Patch460: linux-2.6-serial-460800.patch |
| 626 | Patch510: linux-2.6-silence-noise.patch |
| 627 | Patch530: linux-2.6-silence-fbcon-logo.patch |
| 628 | Patch570: linux-2.6-selinux-mprotect-checks.patch |
| 629 | Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch |
| 630 | Patch590: linux-2.6-selinux-move-open-perms-check.patch |
| 631 | |
| 632 | Patch600: linux-2.6-defaults-alsa-hda-beep-off.patch |
| 633 | |
| 634 | Patch670: linux-2.6-ata-quirk.patch |
| 635 | |
| 636 | Patch690: linux-2.6-at76.patch |
| 637 | |
| 638 | # webcam fixes |
| 639 | Patch900: linux-2.6-gspca-git.patch |
| 640 | Patch901: linux-2.6-gspca-stv06xx-git.patch |
| 641 | |
| 642 | Patch1515: linux-2.6.27-lirc.patch |
| 643 | Patch1520: linux-2.6-hdpvr.patch |
| 644 | |
| 645 | # Fix the return code CD accesses when the CDROM drive door is closed |
| 646 | # but the drive isn't yet ready. |
| 647 | Patch1550: linux-2.6-cdrom-door-status.patch |
| 648 | |
| 649 | # nouveau + drm fixes |
| 650 | Patch1811: drm-next.patch |
| 651 | Patch1812: drm-modesetting-radeon.patch |
| 652 | Patch1814: drm-nouveau.patch |
| 653 | |
| 654 | # kludge to make ich9 e1000 work |
| 655 | Patch2000: linux-2.6-e1000-ich9.patch |
| 656 | |
| 657 | # atl2 network driver |
| 658 | Patch2020: linux-2.6-netdev-atl2.patch |
| 659 | |
| 660 | # Fix DEBUG_SHIRQ problem in tulip driver. (454575) |
| 661 | Patch2030: linux-2.6-net-tulip-interrupt.patch |
| 662 | |
| 663 | # olpc fixes |
| 664 | Patch2040: linux-2.6-olpc-speaker-out.patch |
| 665 | |
| 666 | # Fix serial header so things can compile (#476327) |
| 667 | Patch2050: linux-2.6-serial.patch |
| 668 | |
| 669 | # linux1394 git patches |
| 670 | Patch2200: linux-2.6-firewire-git-update.patch |
| 671 | Patch2201: linux-2.6-firewire-git-pending.patch |
| 672 | |
| 673 | # Quiet boot fixes |
| 674 | # silence piix3 in quiet boot (ie, qemu) |
| 675 | Patch2800: linux-2.6-piix3-silence-quirk.patch |
| 676 | # silence the ACPI blacklist code |
| 677 | Patch2802: linux-2.6-silence-acpi-blacklist.patch |
| 678 | # hush pci bar allocation failures |
| 679 | Patch2804: linux-2.6.27-pci-hush-allocation-failures.patch |
| 680 | |
| 681 | # Provide P4 clock modulation in-kernel for thermal reasons, but don't expose |
| 682 | # ui |
| 683 | Patch3130: disable-p4-cpufreq-ui.patch |
| 684 | |
| 685 | Patch9000: skip-sanity-check-of-busy-resources.patch |
| 686 | |
| 687 | # Alpha-specific patches |
| 688 | Patch10000: linux-2.6.28-alpha-exec_range.patch |
| 689 | Patch10001: linux-2.6-alpha-pci_get_bus_and_slot.patch |
| 690 | Patch10002: linux-2.6-alpha-eepro100-cleanup.patch |
| 691 | Patch10003: linux-2.6.28-alpha-pci.h.patch |
| 692 | Patch10004: linux-2.6-alpha-pci.c.patch |
| 693 | |
| 694 | %endif |
| 695 | |
| 696 | BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root |
| 697 | |
| 698 | %description |
| 699 | The kernel package contains the Linux kernel (vmlinuz), the core of any |
| 700 | Linux operating system. The kernel handles the basic functions |
| 701 | of the operating system: memory allocation, process allocation, device |
| 702 | input and output, etc. |
| 703 | |
| 704 | |
| 705 | %package doc |
| 706 | Summary: Various documentation bits found in the kernel source |
| 707 | Group: Documentation |
| 708 | %description doc |
| 709 | This package contains documentation files from the kernel |
| 710 | source. Various bits of information about the Linux kernel and the |
| 711 | device drivers shipped with it are documented in these files. |
| 712 | |
| 713 | You'll want to install this package if you need a reference to the |
| 714 | options that can be passed to Linux kernel modules at load time. |
| 715 | |
| 716 | |
| 717 | %package headers |
| 718 | Summary: Header files for the Linux kernel for use by glibc |
| 719 | Group: Development/System |
| 720 | Obsoletes: glibc-kernheaders |
| 721 | Provides: glibc-kernheaders = 3.0-46 |
| 722 | %description headers |
| 723 | Kernel-headers includes the C header files that specify the interface |
| 724 | between the Linux kernel and userspace libraries and programs. The |
| 725 | header files define structures and constants that are needed for |
| 726 | building most standard programs and are also needed for rebuilding the |
| 727 | glibc package. |
| 728 | |
| 729 | %package firmware |
| 730 | Summary: Firmware files used by the Linux kernel |
| 731 | Group: Development/System |
| 732 | # This is... complicated. |
| 733 | # Look at the WHENCE file. |
| 734 | License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted |
| 735 | %if "x%{?variant}" != "x" |
| 736 | Provides: kernel-firmware = %{rpmversion}-%{pkg_release} |
| 737 | %endif |
| 738 | %description firmware |
| 739 | Kernel-firmware includes firmware files required for some devices to |
| 740 | operate. |
| 741 | |
| 742 | %package bootwrapper |
| 743 | Summary: Boot wrapper files for generating combined kernel + initrd images |
| 744 | Group: Development/System |
| 745 | Requires: gzip |
| 746 | %description bootwrapper |
| 747 | Kernel-bootwrapper contains the wrapper code which makes bootable "zImage" |
| 748 | files combining both kernel and initial ramdisk. |
| 749 | |
| 750 | %package debuginfo-common |
| 751 | Summary: Kernel source files used by %{name}-debuginfo packages |
| 752 | Group: Development/Debug |
| 753 | Provides: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release} |
| 754 | %description debuginfo-common |
| 755 | This package is required by %{name}-debuginfo subpackages. |
| 756 | It provides the kernel source files common to all builds. |
| 757 | |
| 758 | |
| 759 | # |
| 760 | # This macro creates a kernel-<subpackage>-debuginfo package. |
| 761 | # %%kernel_debuginfo_package <subpackage> |
| 762 | # |
| 763 | %define kernel_debuginfo_package() \ |
| 764 | %package %{?1:%{1}-}debuginfo\ |
| 765 | Summary: Debug information for package %{name}%{?1:-%{1}}\ |
| 766 | Group: Development/Debug\ |
| 767 | Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\ |
| 768 | Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\ |
| 769 | AutoReqProv: no\ |
| 770 | %description -n %{name}%{?1:-%{1}}-debuginfo\ |
| 771 | This package provides debug information for package %{name}%{?1:-%{1}}.\ |
| 772 | This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\ |
| 773 | %{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\ |
| 774 | %{nil} |
| 775 | |
| 776 | # |
| 777 | # This macro creates a kernel-<subpackage>-devel package. |
| 778 | # %%kernel_devel_package <subpackage> <pretty-name> |
| 779 | # |
| 780 | %define kernel_devel_package() \ |
| 781 | %package %{?1:%{1}-}devel\ |
| 782 | Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\ |
| 783 | Group: System Environment/Kernel\ |
| 784 | Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\ |
| 785 | Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\ |
| 786 | Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\ |
| 787 | Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\ |
| 788 | AutoReqProv: no\ |
| 789 | Requires(pre): /usr/bin/find\ |
| 790 | %description -n kernel%{?variant}%{?1:-%{1}}-devel\ |
| 791 | This package provides kernel headers and makefiles sufficient to build modules\ |
| 792 | against the %{?2:%{2} }kernel package.\ |
| 793 | %{nil} |
| 794 | |
| 795 | # |
| 796 | # This macro creates a kernel-<subpackage> and its -devel and -debuginfo too. |
| 797 | # %%define variant_summary The Linux kernel compiled for <configuration> |
| 798 | # %%kernel_variant_package [-n <pretty-name>] <subpackage> |
| 799 | # |
| 800 | %define kernel_variant_package(n:) \ |
| 801 | %package %1\ |
| 802 | Summary: %{variant_summary}\ |
| 803 | Group: System Environment/Kernel\ |
| 804 | %kernel_reqprovconf\ |
| 805 | %{expand:%%kernel_devel_package %1 %{!?-n:%1}%{?-n:%{-n*}}}\ |
| 806 | %{expand:%%kernel_debuginfo_package %1}\ |
| 807 | %{nil} |
| 808 | |
| 809 | |
| 810 | # First the auxiliary packages of the main kernel package. |
| 811 | %kernel_devel_package |
| 812 | %kernel_debuginfo_package |
| 813 | |
| 814 | |
| 815 | # Now, each variant package. |
| 816 | |
| 817 | %define variant_summary The Linux kernel compiled for SMP machines |
| 818 | %kernel_variant_package -n SMP smp |
| 819 | %description smp |
| 820 | This package includes a SMP version of the Linux kernel. It is |
| 821 | required only on machines with two or more CPUs as well as machines with |
| 822 | hyperthreading technology. |
| 823 | |
| 824 | Install the kernel-smp package if your machine uses two or more CPUs. |
| 825 | |
| 826 | |
| 827 | %define variant_summary The Linux kernel compiled for PAE capable machines |
| 828 | %kernel_variant_package PAE |
| 829 | %description PAE |
| 830 | This package includes a version of the Linux kernel with support for up to |
| 831 | 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE). |
| 832 | The non-PAE kernel can only address up to 4GB of memory. |
| 833 | Install the kernel-PAE package if your machine has more than 4GB of memory. |
| 834 | |
| 835 | |
| 836 | %define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines |
| 837 | %kernel_variant_package PAEdebug |
| 838 | Obsoletes: kernel-PAE-debug |
| 839 | %description PAEdebug |
| 840 | This package includes a version of the Linux kernel with support for up to |
| 841 | 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE). |
| 842 | The non-PAE kernel can only address up to 4GB of memory. |
| 843 | Install the kernel-PAE package if your machine has more than 4GB of memory. |
| 844 | |
| 845 | This variant of the kernel has numerous debugging options enabled. |
| 846 | It should only be installed when trying to gather additional information |
| 847 | on kernel bugs, as some of these options impact performance noticably. |
| 848 | |
| 849 | |
| 850 | %define variant_summary The Linux kernel compiled with extra debugging enabled |
| 851 | %kernel_variant_package debug |
| 852 | %description debug |
| 853 | The kernel package contains the Linux kernel (vmlinuz), the core of any |
| 854 | Linux operating system. The kernel handles the basic functions |
| 855 | of the operating system: memory allocation, process allocation, device |
| 856 | input and output, etc. |
| 857 | |
| 858 | This variant of the kernel has numerous debugging options enabled. |
| 859 | It should only be installed when trying to gather additional information |
| 860 | on kernel bugs, as some of these options impact performance noticably. |
| 861 | |
| 862 | |
| 863 | %define variant_summary A minimal Linux kernel compiled for crash dumps |
| 864 | %kernel_variant_package kdump |
| 865 | %description kdump |
| 866 | This package includes a kdump version of the Linux kernel. It is |
| 867 | required only on machines which will use the kexec-based kernel crash dump |
| 868 | mechanism. |
| 869 | |
| 870 | |
| 871 | %prep |
| 872 | # do a few sanity-checks for --with *only builds |
| 873 | %if %{with_baseonly} |
| 874 | %if !%{with_up} |
| 875 | echo "Cannot build --with baseonly, up build is disabled" |
| 876 | exit 1 |
| 877 | %endif |
| 878 | %endif |
| 879 | |
| 880 | %if %{with_smponly} |
| 881 | %if !%{with_smp} |
| 882 | echo "Cannot build --with smponly, smp build is disabled" |
| 883 | exit 1 |
| 884 | %endif |
| 885 | %endif |
| 886 | |
| 887 | %if %{with_paeonly} |
| 888 | %if !%{with_pae} |
| 889 | echo "Cannot build --with paeonly, pae build is disabled" |
| 890 | exit 1 |
| 891 | %endif |
| 892 | %endif |
| 893 | |
| 894 | patch_command='patch -p1 -F1 -s' |
| 895 | ApplyPatch() |
| 896 | { |
| 897 | local patch=$1 |
| 898 | shift |
| 899 | if [ ! -f $RPM_SOURCE_DIR/$patch ]; then |
| 900 | exit 1; |
| 901 | fi |
| 902 | case "$patch" in |
| 903 | *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; |
| 904 | *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; |
| 905 | *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;; |
| 906 | esac |
| 907 | } |
| 908 | |
| 909 | # First we unpack the kernel tarball. |
| 910 | # If this isn't the first make prep, we use links to the existing clean tarball |
| 911 | # which speeds things up quite a bit. |
| 912 | |
| 913 | # Update to latest upstream. |
| 914 | %if 0%{?released_kernel} |
| 915 | %define vanillaversion 2.6.%{base_sublevel} |
| 916 | # non-released_kernel case |
| 917 | %else |
| 918 | %if 0%{?rcrev} |
| 919 | %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev} |
| 920 | %if 0%{?gitrev} |
| 921 | %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev} |
| 922 | %endif |
| 923 | %else |
| 924 | # pre-{base_sublevel+1}-rc1 case |
| 925 | %if 0%{?gitrev} |
| 926 | %define vanillaversion 2.6.%{base_sublevel}-git%{gitrev} |
| 927 | %endif |
| 928 | %endif |
| 929 | %endif |
| 930 | |
| 931 | if [ ! -d kernel-%{kversion}/vanilla-%{vanillaversion} ]; then |
| 932 | |
| 933 | if [ -d kernel-%{kversion}/vanilla-%{kversion} ]; then |
| 934 | |
| 935 | cd kernel-%{kversion} |
| 936 | |
| 937 | # Any vanilla-* directories other than the base one are stale. |
| 938 | for dir in vanilla-*; do |
| 939 | [ "$dir" = vanilla-%{kversion} ] || rm -rf $dir & |
| 940 | done |
| 941 | |
| 942 | else |
| 943 | |
| 944 | # Ok, first time we do a make prep. |
| 945 | rm -f pax_global_header |
| 946 | %setup -q -n kernel-%{kversion} -c |
| 947 | mv linux-%{kversion} vanilla-%{kversion} |
| 948 | |
| 949 | fi |
| 950 | |
| 951 | %if "%{kversion}" != "%{vanillaversion}" |
| 952 | cp -rl vanilla-%{kversion} vanilla-%{vanillaversion} |
| 953 | %endif |
| 954 | cd vanilla-%{vanillaversion} |
| 955 | |
| 956 | # Update vanilla to the latest upstream. |
| 957 | # (non-released_kernel case only) |
| 958 | %if 0%{?rcrev} |
| 959 | ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2 |
| 960 | %if 0%{?gitrev} |
| 961 | ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2 |
| 962 | %endif |
| 963 | %else |
| 964 | # pre-{base_sublevel+1}-rc1 case |
| 965 | %if 0%{?gitrev} |
| 966 | ApplyPatch patch-2.6.%{base_sublevel}-git%{gitrev}.bz2 |
| 967 | %endif |
| 968 | %endif |
| 969 | |
| 970 | cd .. |
| 971 | |
| 972 | else |
| 973 | # We already have a vanilla dir. |
| 974 | cd kernel-%{kversion} |
| 975 | fi |
| 976 | |
| 977 | if [ -d linux-%{kversion}.%{_target_cpu} ]; then |
| 978 | # Just in case we ctrl-c'd a prep already |
| 979 | rm -rf deleteme.%{_target_cpu} |
| 980 | # Move away the stale away, and delete in background. |
| 981 | mv linux-%{kversion}.%{_target_cpu} deleteme.%{_target_cpu} |
| 982 | rm -rf deleteme.%{_target_cpu} & |
| 983 | fi |
| 984 | |
| 985 | cp -rl vanilla-%{vanillaversion} linux-%{kversion}.%{_target_cpu} |
| 986 | |
| 987 | cd linux-%{kversion}.%{_target_cpu} |
| 988 | |
| 989 | # released_kernel with possible stable updates |
| 990 | %if 0%{?stable_base} |
| 991 | ApplyPatch %{stable_patch_00} |
| 992 | %endif |
| 993 | %if 0%{?stable_rc} |
| 994 | ApplyPatch %{stable_patch_01} |
| 995 | %endif |
| 996 | |
| 997 | %if %{using_upstream_branch} |
| 998 | ### BRANCH APPLY ### |
| 999 | %endif |
| 1000 | |
| 1001 | # Drop some necessary files from the source dir into the buildroot |
| 1002 | cp $RPM_SOURCE_DIR/config-* . |
| 1003 | cp %{SOURCE15} . |
| 1004 | |
| 1005 | # Dynamically generate kernel .config files from config-* files |
| 1006 | make -f %{SOURCE20} VERSION=%{version} configs |
| 1007 | |
| 1008 | #if a rhel kernel, apply the rhel config options |
| 1009 | %if 0%{?rhel} |
| 1010 | for i in %{all_arch_configs} |
| 1011 | do |
| 1012 | mv $i $i.tmp |
| 1013 | ./merge.pl config-rhel-generic $i.tmp > $i |
| 1014 | rm $i.tmp |
| 1015 | done |
| 1016 | %endif |
| 1017 | |
| 1018 | #ApplyPatch git-linus.diff |
| 1019 | |
| 1020 | # This patch adds a "make nonint_oldconfig" which is non-interactive and |
| 1021 | # also gives a list of missing options at the end. Useful for automated |
| 1022 | # builds (as used in the buildsystem). |
| 1023 | ApplyPatch linux-2.6-build-nonintconfig.patch |
| 1024 | |
| 1025 | ApplyPatch linux-2.6-makefile-after_link.patch |
| 1026 | |
| 1027 | # |
| 1028 | # misc small stuff to make things compile |
| 1029 | # |
| 1030 | C=$(wc -l $RPM_SOURCE_DIR/linux-2.6-compile-fixes.patch | awk '{print $1}') |
| 1031 | if [ "$C" -gt 10 ]; then |
| 1032 | ApplyPatch linux-2.6-compile-fixes.patch |
| 1033 | fi |
| 1034 | |
| 1035 | %if !%{nopatches} |
| 1036 | |
| 1037 | # revert patches from upstream that conflict or that we get via other means |
| 1038 | C=$(wc -l $RPM_SOURCE_DIR/linux-2.6-upstream-reverts.patch | awk '{print $1}') |
| 1039 | if [ "$C" -gt 10 ]; then |
| 1040 | ApplyPatch linux-2.6-upstream-reverts.patch -R |
| 1041 | fi |
| 1042 | |
| 1043 | #ApplyPatch git-cpufreq.patch |
| 1044 | |
| 1045 | ApplyPatch linux-2.6-hotfixes.patch |
| 1046 | |
| 1047 | # Roland's utrace ptrace replacement. |
| 1048 | ApplyPatch linux-2.6-utrace.patch |
| 1049 | |
| 1050 | # enable sysrq-c on all kernels, not only kexec |
| 1051 | ApplyPatch linux-2.6-sysrq-c.patch |
| 1052 | |
| 1053 | # Architecture patches |
| 1054 | # x86(-64) |
| 1055 | ApplyPatch linux-2.6-x86-mtrr-kill-bogus-warning.patch |
| 1056 | |
| 1057 | # |
| 1058 | # PowerPC |
| 1059 | # |
| 1060 | ### NOT (YET) UPSTREAM: |
| 1061 | # The EHCI ISO patch isn't yet upstream but is needed to fix reboot |
| 1062 | #ApplyPatch linux-2.6-ps3-ehci-iso.patch |
| 1063 | # The storage alias patch is Fedora-local, and allows the old 'ps3_storage' |
| 1064 | # module name to work on upgrades. Otherwise, I believe mkinitrd will fail |
| 1065 | # to pull the module in, |
| 1066 | ApplyPatch linux-2.6-ps3-storage-alias.patch |
| 1067 | # Support booting from Sony's original released 2.6.16-based kboot |
| 1068 | #ApplyPatch linux-2.6-ps3-legacy-bootloader-hack.patch |
| 1069 | # Alleviate G5 thermal shutdown problems |
| 1070 | ApplyPatch linux-2.6-g5-therm-shutdown.patch |
| 1071 | # Provide modalias in sysfs for vio devices |
| 1072 | ApplyPatch linux-2.6-vio-modalias.patch |
| 1073 | # Work around PCIe bridge setup on iSight |
| 1074 | ApplyPatch linux-2.6-imac-transparent-bridge.patch |
| 1075 | # Don't show 'CHRP' in /proc/cpuinfo on Efika |
| 1076 | #ApplyPatch linux-2.6-efika-not-chrp.patch |
| 1077 | |
| 1078 | # |
| 1079 | # SPARC64 |
| 1080 | # |
| 1081 | |
| 1082 | # |
| 1083 | # Exec shield |
| 1084 | # |
| 1085 | ApplyPatch linux-2.6-execshield.patch |
| 1086 | |
| 1087 | # |
| 1088 | # bugfixes to drivers and filesystems |
| 1089 | # |
| 1090 | |
| 1091 | # Squashfs |
| 1092 | ApplyPatch linux-2.6-squashfs.patch |
| 1093 | |
| 1094 | # ext4 |
| 1095 | |
| 1096 | # xfs |
| 1097 | |
| 1098 | # USB |
| 1099 | |
| 1100 | # ACPI |
| 1101 | ApplyPatch linux-2.6-defaults-acpi-video.patch |
| 1102 | ApplyPatch linux-2.6-acpi-video-dos.patch |
| 1103 | |
| 1104 | # Various low-impact patches to aid debugging. |
| 1105 | ApplyPatch linux-2.6-debug-sizeof-structs.patch |
| 1106 | ApplyPatch linux-2.6-debug-nmi-timeout.patch |
| 1107 | ApplyPatch linux-2.6-debug-taint-vm.patch |
| 1108 | ApplyPatch linux-2.6-debug-spinlock-taint.patch |
| 1109 | ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch |
| 1110 | ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch |
| 1111 | |
| 1112 | # /dev/crash driver for the crashdump analysis tool |
| 1113 | ApplyPatch linux-2.6-crash-driver.patch |
| 1114 | |
| 1115 | # |
| 1116 | # PCI |
| 1117 | # |
| 1118 | # disable message signaled interrupts |
| 1119 | ApplyPatch linux-2.6-defaults-pci_no_msi.patch |
| 1120 | # update the pciehp driver |
| 1121 | ApplyPatch linux-2.6-pciehp-update.patch |
| 1122 | # default to enabling passively listening for hotplug events |
| 1123 | ApplyPatch linux-2.6-defaults-pciehp.patch |
| 1124 | |
| 1125 | # |
| 1126 | # SCSI Bits. |
| 1127 | # |
| 1128 | # fix cpqarray pci enable |
| 1129 | ApplyPatch linux-2.6-scsi-cpqarray-set-master.patch |
| 1130 | |
| 1131 | # ALSA |
| 1132 | |
| 1133 | # Networking |
| 1134 | # Disable easy to trigger printk's. |
| 1135 | ApplyPatch linux-2.6-net-silence-noisy-printks.patch |
| 1136 | |
| 1137 | # Misc fixes |
| 1138 | # The input layer spews crap no-one cares about. |
| 1139 | ApplyPatch linux-2.6-input-kill-stupid-messages.patch |
| 1140 | |
| 1141 | # Allow to use 480600 baud on 16C950 UARTs |
| 1142 | ApplyPatch linux-2.6-serial-460800.patch |
| 1143 | # Silence some useless messages that still get printed with 'quiet' |
| 1144 | ApplyPatch linux-2.6-silence-noise.patch |
| 1145 | |
| 1146 | # Make fbcon not show the penguins with 'quiet' |
| 1147 | ApplyPatch linux-2.6-silence-fbcon-logo.patch |
| 1148 | |
| 1149 | # Fix the SELinux mprotect checks on executable mappings |
| 1150 | ApplyPatch linux-2.6-selinux-mprotect-checks.patch |
| 1151 | # Fix SELinux for sparc |
| 1152 | ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch |
| 1153 | # SELinux: check open perms in dentry_open not inode_permission |
| 1154 | ApplyPatch linux-2.6-selinux-move-open-perms-check.patch |
| 1155 | |
| 1156 | # Changes to upstream defaults. |
| 1157 | |
| 1158 | # squelch hda_beep by default |
| 1159 | ApplyPatch linux-2.6-defaults-alsa-hda-beep-off.patch |
| 1160 | |
| 1161 | # ia64 ata quirk |
| 1162 | ApplyPatch linux-2.6-ata-quirk.patch |
| 1163 | |
| 1164 | # Add misc wireless bits from upstream wireless tree |
| 1165 | ApplyPatch linux-2.6-at76.patch |
| 1166 | |
| 1167 | # Webcam patches |
| 1168 | ApplyPatch linux-2.6-gspca-git.patch |
| 1169 | ApplyPatch linux-2.6-gspca-stv06xx-git.patch |
| 1170 | |
| 1171 | # http://www.lirc.org/ |
| 1172 | ApplyPatch linux-2.6.27-lirc.patch |
| 1173 | # http://hg.jannau.net/hdpvr/ |
| 1174 | ApplyPatch linux-2.6-hdpvr.patch |
| 1175 | |
| 1176 | # Fix the return code CD accesses when the CDROM drive door is closed |
| 1177 | # but the drive isn't yet ready. |
| 1178 | ApplyPatch linux-2.6-cdrom-door-status.patch |
| 1179 | |
| 1180 | ApplyPatch linux-2.6-e1000-ich9.patch |
| 1181 | |
| 1182 | # atl2 network driver |
| 1183 | ApplyPatch linux-2.6-netdev-atl2.patch |
| 1184 | |
| 1185 | ApplyPatch linux-2.6-net-tulip-interrupt.patch |
| 1186 | |
| 1187 | ApplyPatch linux-2.6-olpc-speaker-out.patch |
| 1188 | |
| 1189 | ApplyPatch linux-2.6-serial.patch |
| 1190 | |
| 1191 | # Nouveau DRM + drm fixes |
| 1192 | ApplyPatch drm-next.patch |
| 1193 | ApplyPatch drm-modesetting-radeon.patch |
| 1194 | #ApplyPatch drm-nouveau.patch |
| 1195 | |
| 1196 | # linux1394 git patches |
| 1197 | #ApplyPatch linux-2.6-firewire-git-update.patch |
| 1198 | C=$(wc -l $RPM_SOURCE_DIR/linux-2.6-firewire-git-pending.patch | awk '{print $1}') |
| 1199 | if [ "$C" -gt 10 ]; then |
| 1200 | ApplyPatch linux-2.6-firewire-git-pending.patch |
| 1201 | fi |
| 1202 | |
| 1203 | # silence piix3 in quiet boot (ie, qemu) |
| 1204 | ApplyPatch linux-2.6-piix3-silence-quirk.patch |
| 1205 | # silence the ACPI blacklist code |
| 1206 | ApplyPatch linux-2.6-silence-acpi-blacklist.patch |
| 1207 | # hush pci bar allocation failures |
| 1208 | ApplyPatch linux-2.6.27-pci-hush-allocation-failures.patch |
| 1209 | |
| 1210 | ApplyPatch disable-p4-cpufreq-ui.patch |
| 1211 | |
| 1212 | # fix #480700, acpi ec ioremap WARN_ON |
| 1213 | ApplyPatch skip-sanity-check-of-busy-resources.patch |
| 1214 | |
| 1215 | # Alpha specific patches |
| 1216 | ApplyPatch linux-2.6.28-alpha-exec_range.patch |
| 1217 | ApplyPatch linux-2.6-alpha-pci_get_bus_and_slot.patch |
| 1218 | ApplyPatch linux-2.6-alpha-eepro100-cleanup.patch |
| 1219 | ApplyPatch linux-2.6.28-alpha-pci.h.patch |
| 1220 | ApplyPatch linux-2.6-alpha-pci.c.patch |
| 1221 | |
| 1222 | |
| 1223 | # END OF PATCH APPLICATIONS |
| 1224 | |
| 1225 | %endif |
| 1226 | |
| 1227 | # Any further pre-build tree manipulations happen here. |
| 1228 | |
| 1229 | chmod +x scripts/checkpatch.pl |
| 1230 | |
| 1231 | # only deal with configs if we are going to build for the arch |
| 1232 | %ifnarch %nobuildarches |
| 1233 | |
| 1234 | mkdir configs |
| 1235 | |
| 1236 | # Remove configs not for the buildarch |
| 1237 | for cfg in kernel-%{version}-*.config; do |
| 1238 | if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then |
| 1239 | rm -f $cfg |
| 1240 | fi |
| 1241 | done |
| 1242 | |
| 1243 | %if !%{debugbuildsenabled} |
| 1244 | rm -f kernel-%{version}-*debug.config |
| 1245 | %endif |
| 1246 | |
| 1247 | # now run oldconfig over all the config files |
| 1248 | for i in *.config |
| 1249 | do |
| 1250 | mv $i .config |
| 1251 | Arch=`head -1 .config | cut -b 3-` |
| 1252 | make ARCH=$Arch %{oldconfig_target} > /dev/null |
| 1253 | echo "# $Arch" > configs/$i |
| 1254 | cat .config >> configs/$i |
| 1255 | done |
| 1256 | # end of kernel config |
| 1257 | %endif |
| 1258 | |
| 1259 | # get rid of unwanted files resulting from patch fuzz |
| 1260 | find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null |
| 1261 | |
| 1262 | cd .. |
| 1263 | |
| 1264 | ### |
| 1265 | ### build |
| 1266 | ### |
| 1267 | %build |
| 1268 | |
| 1269 | %if %{with_sparse} |
| 1270 | %define sparse_mflags C=1 |
| 1271 | %endif |
| 1272 | |
| 1273 | %if %{fancy_debuginfo} |
| 1274 | # This override tweaks the kernel makefiles so that we run debugedit on an |
| 1275 | # object before embedding it. When we later run find-debuginfo.sh, it will |
| 1276 | # run debugedit again. The edits it does change the build ID bits embedded |
| 1277 | # in the stripped object, but repeating debugedit is a no-op. We do it |
| 1278 | # beforehand to get the proper final build ID bits into the embedded image. |
| 1279 | # This affects the vDSO images in vmlinux, and the vmlinux image in bzImage. |
| 1280 | export AFTER_LINK=\ |
| 1281 | 'sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug -i $@"' |
| 1282 | %endif |
| 1283 | |
| 1284 | cp_vmlinux() |
| 1285 | { |
| 1286 | eu-strip --remove-comment -o "$2" "$1" |
| 1287 | } |
| 1288 | |
| 1289 | BuildKernel() { |
| 1290 | MakeTarget=$1 |
| 1291 | KernelImage=$2 |
| 1292 | Flavour=$3 |
| 1293 | InstallName=${4:-vmlinuz} |
| 1294 | |
| 1295 | # Pick the right config file for the kernel we're building |
| 1296 | Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config |
| 1297 | DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}} |
| 1298 | |
| 1299 | # When the bootable image is just the ELF kernel, strip it. |
| 1300 | # We already copy the unstripped file into the debuginfo package. |
| 1301 | if [ "$KernelImage" = vmlinux ]; then |
| 1302 | CopyKernel=cp_vmlinux |
| 1303 | else |
| 1304 | CopyKernel=cp |
| 1305 | fi |
| 1306 | |
| 1307 | KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}} |
| 1308 | echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}... |
| 1309 | |
| 1310 | # make sure EXTRAVERSION says what we want it to say |
| 1311 | perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile |
| 1312 | |
| 1313 | # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme |
| 1314 | %if !0%{?rcrev} |
| 1315 | %if 0%{?gitrev} |
| 1316 | perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile |
| 1317 | %endif |
| 1318 | %endif |
| 1319 | |
| 1320 | # and now to start the build process |
| 1321 | |
| 1322 | make -s mrproper |
| 1323 | cp configs/$Config .config |
| 1324 | |
| 1325 | Arch=`head -1 .config | cut -b 3-` |
| 1326 | echo USING ARCH=$Arch |
| 1327 | |
| 1328 | make -s ARCH=$Arch %{oldconfig_target} > /dev/null |
| 1329 | make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags} |
| 1330 | make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1 |
| 1331 | |
| 1332 | # Start installing the results |
| 1333 | %if %{with_debuginfo} |
| 1334 | mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/boot |
| 1335 | mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path} |
| 1336 | %endif |
| 1337 | mkdir -p $RPM_BUILD_ROOT/%{image_install_path} |
| 1338 | install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer |
| 1339 | install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer |
| 1340 | touch $RPM_BUILD_ROOT/boot/initrd-$KernelVer.img |
| 1341 | if [ -f arch/$Arch/boot/zImage.stub ]; then |
| 1342 | cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || : |
| 1343 | fi |
| 1344 | $CopyKernel $KernelImage \ |
| 1345 | $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer |
| 1346 | chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer |
| 1347 | |
| 1348 | mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer |
| 1349 | # Override $(mod-fw) because we don't want it to install any firmware |
| 1350 | # We'll do that ourselves with 'make firmware_install' |
| 1351 | make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw= |
| 1352 | %ifarch %{vdso_arches} |
| 1353 | make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer |
| 1354 | if grep '^CONFIG_XEN=y$' .config >/dev/null; then |
| 1355 | echo > ldconfig-kernel.conf "\ |
| 1356 | # This directive teaches ldconfig to search in nosegneg subdirectories |
| 1357 | # and cache the DSOs there with extra bit 0 set in their hwcap match |
| 1358 | # fields. In Xen guest kernels, the vDSO tells the dynamic linker to |
| 1359 | # search in nosegneg subdirectories and to match this extra hwcap bit |
| 1360 | # in the ld.so.cache file. |
| 1361 | hwcap 0 nosegneg" |
| 1362 | fi |
| 1363 | if [ ! -s ldconfig-kernel.conf ]; then |
| 1364 | echo > ldconfig-kernel.conf "\ |
| 1365 | # Placeholder file, no vDSO hwcap entries used in this kernel." |
| 1366 | fi |
| 1367 | %{__install} -D -m 444 ldconfig-kernel.conf \ |
| 1368 | $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf |
| 1369 | %endif |
| 1370 | |
| 1371 | # And save the headers/makefiles etc for building modules against |
| 1372 | # |
| 1373 | # This all looks scary, but the end result is supposed to be: |
| 1374 | # * all arch relevant include/ files |
| 1375 | # * all Makefile/Kconfig files |
| 1376 | # * all script/ files |
| 1377 | |
| 1378 | rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1379 | rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source |
| 1380 | mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1381 | (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source) |
| 1382 | # dirs for additional modules per module-init-tools, kbuild/modules.txt |
| 1383 | mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra |
| 1384 | mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates |
| 1385 | mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates |
| 1386 | # first copy everything |
| 1387 | cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1388 | cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1389 | cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1390 | if [ -s Module.markers ]; then |
| 1391 | cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1392 | fi |
| 1393 | # then drop all but the needed Makefiles/Kconfig files |
| 1394 | rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation |
| 1395 | rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts |
| 1396 | rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include |
| 1397 | cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1398 | cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1399 | if [ -d arch/$Arch/scripts ]; then |
| 1400 | cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || : |
| 1401 | fi |
| 1402 | if [ -f arch/$Arch/*lds ]; then |
| 1403 | cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || : |
| 1404 | fi |
| 1405 | rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o |
| 1406 | rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o |
| 1407 | %ifarch ppc |
| 1408 | cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ |
| 1409 | %endif |
| 1410 | if [ -d arch/%{asmarch}/include ]; then |
| 1411 | cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ |
| 1412 | fi |
| 1413 | mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include |
| 1414 | cd include |
| 1415 | cp -a acpi config keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound video drm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include |
| 1416 | asmdir=$(readlink asm) |
| 1417 | cp -a $asmdir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/ |
| 1418 | pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include |
| 1419 | ln -s $asmdir asm |
| 1420 | popd |
| 1421 | # Make sure the Makefile and version.h have a matching timestamp so that |
| 1422 | # external modules can be built |
| 1423 | touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h |
| 1424 | touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h |
| 1425 | # Copy .config to include/config/auto.conf so "make prepare" is unnecessary. |
| 1426 | cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf |
| 1427 | cd .. |
| 1428 | |
| 1429 | # |
| 1430 | # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm |
| 1431 | # |
| 1432 | %if %{with_debuginfo} |
| 1433 | mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer |
| 1434 | cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer |
| 1435 | %endif |
| 1436 | |
| 1437 | find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames |
| 1438 | |
| 1439 | # mark modules executable so that strip-to-file can strip them |
| 1440 | xargs --no-run-if-empty chmod u+x < modnames |
| 1441 | |
| 1442 | # Generate a list of modules for block and networking. |
| 1443 | |
| 1444 | fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA | |
| 1445 | sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef |
| 1446 | |
| 1447 | collect_modules_list() |
| 1448 | { |
| 1449 | sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef | |
| 1450 | LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1 |
| 1451 | } |
| 1452 | |
| 1453 | collect_modules_list networking \ |
| 1454 | 'register_netdev|ieee80211_register_hw|usbnet_probe' |
| 1455 | collect_modules_list block \ |
| 1456 | 'ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans|scsi_esp_register' |
| 1457 | collect_modules_list drm \ |
| 1458 | 'drm_open|drm_init' |
| 1459 | |
| 1460 | # detect missing or incorrect license tags |
| 1461 | rm -f modinfo |
| 1462 | while read i |
| 1463 | do |
| 1464 | echo -n "${i#$RPM_BUILD_ROOT/lib/modules/$KernelVer/} " >> modinfo |
| 1465 | /sbin/modinfo -l $i >> modinfo |
| 1466 | done < modnames |
| 1467 | |
| 1468 | egrep -v \ |
| 1469 | 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' \ |
| 1470 | modinfo && exit 1 |
| 1471 | |
| 1472 | rm -f modinfo modnames |
| 1473 | |
| 1474 | # remove files that will be auto generated by depmod at rpm -i time |
| 1475 | for i in alias ccwmap dep ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols usbmap |
| 1476 | do |
| 1477 | rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i |
| 1478 | done |
| 1479 | |
| 1480 | # Move the devel headers out of the root file system |
| 1481 | mkdir -p $RPM_BUILD_ROOT/usr/src/kernels |
| 1482 | mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir |
| 1483 | ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build |
| 1484 | } |
| 1485 | |
| 1486 | ### |
| 1487 | # DO it... |
| 1488 | ### |
| 1489 | |
| 1490 | # prepare directories |
| 1491 | rm -rf $RPM_BUILD_ROOT |
| 1492 | mkdir -p $RPM_BUILD_ROOT/boot |
| 1493 | |
| 1494 | cd linux-%{kversion}.%{_target_cpu} |
| 1495 | |
| 1496 | %if %{with_debug} |
| 1497 | BuildKernel %make_target %kernel_image debug |
| 1498 | %if %{with_pae} |
| 1499 | BuildKernel %make_target %kernel_image PAEdebug |
| 1500 | %endif |
| 1501 | %endif |
| 1502 | |
| 1503 | %if %{with_pae} |
| 1504 | BuildKernel %make_target %kernel_image PAE |
| 1505 | %endif |
| 1506 | |
| 1507 | %if %{with_up} |
| 1508 | BuildKernel %make_target %kernel_image |
| 1509 | %endif |
| 1510 | |
| 1511 | %if %{with_smp} |
| 1512 | BuildKernel %make_target %kernel_image smp |
| 1513 | %endif |
| 1514 | |
| 1515 | %if %{with_kdump} |
| 1516 | BuildKernel vmlinux vmlinux kdump vmlinux |
| 1517 | %endif |
| 1518 | |
| 1519 | %if %{with_doc} |
| 1520 | # Make the HTML and man pages. |
| 1521 | make %{?_smp_mflags} htmldocs mandocs || %{doc_build_fail} |
| 1522 | |
| 1523 | # sometimes non-world-readable files sneak into the kernel source tree |
| 1524 | chmod -R a=rX Documentation |
| 1525 | find Documentation -type d | xargs chmod u+w |
| 1526 | %endif |
| 1527 | |
| 1528 | ### |
| 1529 | ### Special hacks for debuginfo subpackages. |
| 1530 | ### |
| 1531 | |
| 1532 | # This macro is used by %%install, so we must redefine it before that. |
| 1533 | %define debug_package %{nil} |
| 1534 | |
| 1535 | %if %{fancy_debuginfo} |
| 1536 | %define __debug_install_post \ |
| 1537 | /usr/lib/rpm/find-debuginfo.sh %{debuginfo_args} %{_builddir}/%{?buildsubdir}\ |
| 1538 | %{nil} |
| 1539 | %endif |
| 1540 | |
| 1541 | %if %{with_debuginfo} |
| 1542 | %ifnarch noarch |
| 1543 | %global __debug_package 1 |
| 1544 | %files -f debugfiles.list debuginfo-common |
| 1545 | %defattr(-,root,root) |
| 1546 | %endif |
| 1547 | %endif |
| 1548 | |
| 1549 | ### |
| 1550 | ### install |
| 1551 | ### |
| 1552 | |
| 1553 | %install |
| 1554 | |
| 1555 | cd linux-%{kversion}.%{_target_cpu} |
| 1556 | |
| 1557 | %if %{with_doc} |
| 1558 | docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion} |
| 1559 | man9dir=$RPM_BUILD_ROOT%{_datadir}/man/man9 |
| 1560 | |
| 1561 | # copy the source over |
| 1562 | mkdir -p $docdir |
| 1563 | tar -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir |
| 1564 | |
| 1565 | # Install man pages for the kernel API. |
| 1566 | mkdir -p $man9dir |
| 1567 | find Documentation/DocBook/man -name '*.9.gz' -print0 | |
| 1568 | xargs -0 --no-run-if-empty %{__install} -m 444 -t $man9dir $m |
| 1569 | ls $man9dir | grep -q '' || > $man9dir/BROKEN |
| 1570 | %endif |
| 1571 | |
| 1572 | %if %{with_headers} |
| 1573 | # Install kernel headers |
| 1574 | make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install |
| 1575 | |
| 1576 | # Do headers_check but don't die if it fails. |
| 1577 | make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \ |
| 1578 | > hdrwarnings.txt || : |
| 1579 | if grep -q exist hdrwarnings.txt; then |
| 1580 | sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt |
| 1581 | # Temporarily cause a build failure if header inconsistencies. |
| 1582 | # exit 1 |
| 1583 | fi |
| 1584 | |
| 1585 | find $RPM_BUILD_ROOT/usr/include \ |
| 1586 | \( -name .install -o -name .check -o \ |
| 1587 | -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f |
| 1588 | |
| 1589 | # glibc provides scsi headers for itself, for now |
| 1590 | rm -rf $RPM_BUILD_ROOT/usr/include/scsi |
| 1591 | rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h |
| 1592 | rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h |
| 1593 | rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h |
| 1594 | %endif |
| 1595 | |
| 1596 | %if %{with_firmware} |
| 1597 | make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install |
| 1598 | %endif |
| 1599 | |
| 1600 | %if %{with_bootwrapper} |
| 1601 | make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts |
| 1602 | %endif |
| 1603 | |
| 1604 | ### |
| 1605 | ### clean |
| 1606 | ### |
| 1607 | |
| 1608 | %clean |
| 1609 | rm -rf $RPM_BUILD_ROOT |
| 1610 | |
| 1611 | ### |
| 1612 | ### scripts |
| 1613 | ### |
| 1614 | |
| 1615 | # |
| 1616 | # This macro defines a %%post script for a kernel*-devel package. |
| 1617 | # %%kernel_devel_post [<subpackage>] |
| 1618 | # |
| 1619 | %define kernel_devel_post() \ |
| 1620 | %{expand:%%post %{?1:%{1}-}devel}\ |
| 1621 | if [ -f /etc/sysconfig/kernel ]\ |
| 1622 | then\ |
| 1623 | . /etc/sysconfig/kernel || exit $?\ |
| 1624 | fi\ |
| 1625 | if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\ |
| 1626 | then\ |
| 1627 | (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\ |
| 1628 | /usr/bin/find . -type f | while read f; do\ |
| 1629 | hardlink -c /usr/src/kernels/*.fc*.*/$f $f\ |
| 1630 | done)\ |
| 1631 | fi\ |
| 1632 | %{nil} |
| 1633 | |
| 1634 | # This macro defines a %%posttrans script for a kernel package. |
| 1635 | # %%kernel_variant_posttrans [<subpackage>] |
| 1636 | # More text can follow to go at the end of this variant's %%post. |
| 1637 | # |
| 1638 | %define kernel_variant_posttrans() \ |
| 1639 | %{expand:%%posttrans %{?1}}\ |
| 1640 | /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\ |
| 1641 | %{nil} |
| 1642 | |
| 1643 | # |
| 1644 | # This macro defines a %%post script for a kernel package and its devel package. |
| 1645 | # %%kernel_variant_post [-v <subpackage>] [-r <replace>] |
| 1646 | # More text can follow to go at the end of this variant's %%post. |
| 1647 | # |
| 1648 | %define kernel_variant_post(v:r:) \ |
| 1649 | %{expand:%%kernel_devel_post %{?-v*}}\ |
| 1650 | %{expand:%%kernel_variant_posttrans %{?-v*}}\ |
| 1651 | %{expand:%%post %{?-v*}}\ |
| 1652 | %{-r:\ |
| 1653 | if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ |
| 1654 | [ -f /etc/sysconfig/kernel ]; then\ |
| 1655 | /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\ |
| 1656 | fi}\ |
| 1657 | /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\ |
| 1658 | #if [ -x /sbin/weak-modules ]\ |
| 1659 | #then\ |
| 1660 | # /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\ |
| 1661 | #fi\ |
| 1662 | %{nil} |
| 1663 | |
| 1664 | # |
| 1665 | # This macro defines a %%preun script for a kernel package. |
| 1666 | # %%kernel_variant_preun <subpackage> |
| 1667 | # |
| 1668 | %define kernel_variant_preun() \ |
| 1669 | %{expand:%%preun %{?1}}\ |
| 1670 | /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:.%{1}} || exit $?\ |
| 1671 | #if [ -x /sbin/weak-modules ]\ |
| 1672 | #then\ |
| 1673 | # /sbin/weak-modules --remove-kernel %{KVERREL}%{?1} || exit $?\ |
| 1674 | #fi\ |
| 1675 | %{nil} |
| 1676 | |
| 1677 | %kernel_variant_preun |
| 1678 | %ifarch x86_64 |
| 1679 | %kernel_variant_post -r (kernel-smp|kernel-xen) |
| 1680 | %else |
| 1681 | %kernel_variant_post -r kernel-smp |
| 1682 | %endif |
| 1683 | |
| 1684 | %kernel_variant_preun smp |
| 1685 | %kernel_variant_post -v smp |
| 1686 | |
| 1687 | %kernel_variant_preun PAE |
| 1688 | %kernel_variant_post -v PAE -r (kernel-smp|kernel-xen) |
| 1689 | |
| 1690 | %kernel_variant_preun debug |
| 1691 | %kernel_variant_post -v debug |
| 1692 | |
| 1693 | %kernel_variant_post -v PAEdebug -r (kernel-smp|kernel-xen) |
| 1694 | %kernel_variant_preun PAEdebug |
| 1695 | |
| 1696 | if [ -x /sbin/ldconfig ] |
| 1697 | then |
| 1698 | /sbin/ldconfig -X || exit $? |
| 1699 | fi |
| 1700 | |
| 1701 | ### |
| 1702 | ### file lists |
| 1703 | ### |
| 1704 | |
| 1705 | %if %{with_headers} |
| 1706 | %files headers |
| 1707 | %defattr(-,root,root) |
| 1708 | /usr/include/* |
| 1709 | %endif |
| 1710 | |
| 1711 | %if %{with_firmware} |
| 1712 | %files firmware |
| 1713 | %defattr(-,root,root) |
| 1714 | /lib/firmware/* |
| 1715 | %doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE |
| 1716 | %endif |
| 1717 | |
| 1718 | %if %{with_bootwrapper} |
| 1719 | %files bootwrapper |
| 1720 | %defattr(-,root,root) |
| 1721 | /usr/sbin/* |
| 1722 | %{_libdir}/kernel-wrapper |
| 1723 | %endif |
| 1724 | |
| 1725 | # only some architecture builds need kernel-doc |
| 1726 | %if %{with_doc} |
| 1727 | %files doc |
| 1728 | %defattr(-,root,root) |
| 1729 | %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/* |
| 1730 | %dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation |
| 1731 | %dir %{_datadir}/doc/kernel-doc-%{rpmversion} |
| 1732 | %{_datadir}/man/man9/* |
| 1733 | %endif |
| 1734 | |
| 1735 | # This is %{image_install_path} on an arch where that includes ELF files, |
| 1736 | # or empty otherwise. |
| 1737 | %define elf_image_install_path %{?kernel_image_elf:%{image_install_path}} |
| 1738 | |
| 1739 | # |
| 1740 | # This macro defines the %%files sections for a kernel package |
| 1741 | # and its devel and debuginfo packages. |
| 1742 | # %%kernel_variant_files [-k vmlinux] <condition> <subpackage> |
| 1743 | # |
| 1744 | %define kernel_variant_files(k:) \ |
| 1745 | %if %{1}\ |
| 1746 | %{expand:%%files %{?2}}\ |
| 1747 | %defattr(-,root,root)\ |
| 1748 | /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\ |
| 1749 | /boot/System.map-%{KVERREL}%{?2:.%{2}}\ |
| 1750 | #/boot/symvers-%{KVERREL}%{?2:.%{2}}.gz\ |
| 1751 | /boot/config-%{KVERREL}%{?2:.%{2}}\ |
| 1752 | %dir /lib/modules/%{KVERREL}%{?2:.%{2}}\ |
| 1753 | /lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\ |
| 1754 | /lib/modules/%{KVERREL}%{?2:.%{2}}/build\ |
| 1755 | /lib/modules/%{KVERREL}%{?2:.%{2}}/source\ |
| 1756 | /lib/modules/%{KVERREL}%{?2:.%{2}}/extra\ |
| 1757 | /lib/modules/%{KVERREL}%{?2:.%{2}}/updates\ |
| 1758 | /lib/modules/%{KVERREL}%{?2:.%{2}}/weak-updates\ |
| 1759 | %ifarch %{vdso_arches}\ |
| 1760 | /lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\ |
| 1761 | /etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\ |
| 1762 | %endif\ |
| 1763 | /lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\ |
| 1764 | %ghost /boot/initrd-%{KVERREL}%{?2:.%{2}}.img\ |
| 1765 | %{expand:%%files %{?2:%{2}-}devel}\ |
| 1766 | %defattr(-,root,root)\ |
| 1767 | %verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\ |
| 1768 | /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\ |
| 1769 | %if %{with_debuginfo}\ |
| 1770 | %ifnarch noarch\ |
| 1771 | %if %{fancy_debuginfo}\ |
| 1772 | %{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\ |
| 1773 | %else\ |
| 1774 | %{expand:%%files %{?2:%{2}-}debuginfo}\ |
| 1775 | %endif\ |
| 1776 | %defattr(-,root,root)\ |
| 1777 | %if !%{fancy_debuginfo}\ |
| 1778 | %if "%{elf_image_install_path}" != ""\ |
| 1779 | %{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\ |
| 1780 | %endif\ |
| 1781 | %{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\ |
| 1782 | %{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\ |
| 1783 | %endif\ |
| 1784 | %endif\ |
| 1785 | %endif\ |
| 1786 | %endif\ |
| 1787 | %{nil} |
| 1788 | |
| 1789 | |
| 1790 | %kernel_variant_files %{with_up} |
| 1791 | %kernel_variant_files %{with_smp} smp |
| 1792 | %kernel_variant_files %{with_debug} debug |
| 1793 | %kernel_variant_files %{with_pae} PAE |
| 1794 | %kernel_variant_files %{with_pae_debug} PAEdebug |
| 1795 | %kernel_variant_files -k vmlinux %{with_kdump} kdump |
| 1796 | |
| 1797 | %changelog |
| 1798 | * Wed Mar 11 2009 Oliver Falk <oliver@linux-kernel.at> 2.6.28.2-7 |
| 1799 | - Modify kernel spec to build on alpha again |
| 1800 | - Remove all alphaev* from spec, as we only build for 'alpha' |
| 1801 | - Patches for alpha: |
| 1802 | - linux-2.6.28-alpha-exec_range.patch |
| 1803 | - add execshield dummy functions for alpha |
| 1804 | - linux-2.6-alpha-pci_get_bus_and_slot.patch |
| 1805 | - Do not limit bus/slot search to PCI domain 0 on alpha |
| 1806 | - linux-2.6-alpha-eepro100-cleanup.patch |
| 1807 | - cleanup extraneous "freeing mc frame" messages from driver |
| 1808 | - linux-2.6.28-alpha-pci.h.patch, linux-2.6-alpha-pci.c.patch |
| 1809 | - Platform support for /proc/bus/pci/X/Y mmap()s |
| 1810 | |
| 1811 | * Mon Jan 26 2009 Kyle McMartin <kyle@redhat.com> - 2.6.28.2-6 |
| 1812 | - add skip-sanity-check-of-busy-resources.patch, fixes #480700, ioremap |
| 1813 | sanity check WARN_ON due to acpi ec. |
| 1814 | 3ac52669c7a24b93663acfcab606d1065ed1accd upstream. |
| 1815 | |
| 1816 | * Mon Jan 26 2009 Kyle McMartin <kyle@redhat.com> - 2.6.28.2-5 |
| 1817 | - 2.6.28.2 final |
| 1818 | |
| 1819 | * Mon Jan 19 2009 Kyle McMartin <kyle@redhat.com> |
| 1820 | - execshield fixes: should no longer generate spurious handled GPFs, |
| 1821 | fixes randomization of executables. also some clean ups. |
| 1822 | |
| 1823 | * Wed Jan 14 2009 Hans de Goede <hdegoede@redhat.com> |
| 1824 | - Rebase gspca git patch and re-enable |
| 1825 | - Add gscpa-stv06xx (qc-usb replacement) driver from its own git tree |
| 1826 | |
| 1827 | * Tue Jan 13 2009 John W. Linville <linville@redhat.com> |
| 1828 | - ath5k: ignore the return value of ath5k_hw_noise_floor_calibration |
| 1829 | |
| 1830 | * Mon Jan 12 2009 Kyle McMartin <kyle@redhat.com> |
| 1831 | - Rebase for Fedora 9. |
| 1832 | - Turn off CONFIG_MAXSMP on x86_64. |
| 1833 | |
| 1834 | * Wed Dec 24 2008 Dave Jones <davej@redhat.com> |
| 1835 | - 2.6.28 |
| 1836 | Drop gspca-git temporarily. |
| 1837 | |
| 1838 | * Wed Dec 24 2008 Dave Jones <davej@redhat.com> |
| 1839 | - 2.6.28-rc9-git4 |
| 1840 | |
| 1841 | * Mon Dec 22 2008 Dave Jones <davej@redhat.com> |
| 1842 | - 2.6.28-rc9-git3 |
| 1843 | |
| 1844 | * Mon Dec 22 2008 Bill Nottingham <notting@redhat.com> |
| 1845 | - Fix linux/serial.h so it can be included from userspace (#476327) |
| 1846 | |
| 1847 | * Sat Dec 20 2008 Kyle McMartin <kyle@redhat.com> |
| 1848 | - Linux 2.6.28-rc9-git1 |
| 1849 | Rebased patches: |
| 1850 | linux-2.6-pciehp-update.patch |
| 1851 | drm-next.patch |
| 1852 | |
| 1853 | * Fri Dec 19 2008 Adam Jackson <ajax@redhat.com> |
| 1854 | - config-generic: FB_VIRTUAL=m |
| 1855 | |
| 1856 | * Thu Dec 18 2008 Dave Airlie <airlied@redhat.com> |
| 1857 | - drm-next.patch/drm-modesetting-radeon.patch - rebase to upstream. |
| 1858 | - config-generic: turn of KMS on radeon until we fixup userspace |
| 1859 | |
| 1860 | * Thu Dec 18 2008 Dave Jones <davej@redhat.com> |
| 1861 | - 2.6.28-rc9 |
| 1862 | |
| 1863 | * Thu Dec 18 2008 Jeremy Katz <katzj@redhat.com> |
| 1864 | - explicitly prereq /sbin/new-kernel-pkg as opposed to just mkinitrd |
| 1865 | |
| 1866 | * Thu Dec 18 2008 Kyle McMartin <kyle@redhat.com> |
| 1867 | - Disable SND_HDA_BEEP by default |
| 1868 | |
| 1869 | * Thu Dec 18 2008 Dave Jones <davej@redhat.com> |
| 1870 | - 2.6.28-rc8-git6 |
| 1871 | |
| 1872 | * Wed Dec 17 2008 Dave Jones <davej@redhat.com> |
| 1873 | - Disable PATA_HPT3X3_DMA as per Alan. |
| 1874 | |
| 1875 | * Wed Dec 17 2008 Dave Jones <davej@redhat.com> |
| 1876 | - 2.6.28-rc8-git5 |
| 1877 | |
| 1878 | * Wed Dec 17 2008 Dave Jones <davej@redhat.com> |
| 1879 | - 2.6.28-rc8-git5 |
| 1880 | |
| 1881 | * Wed Dec 17 2008 John W. Linville <linville@redhat.com> |
| 1882 | - iwlwifi: use GFP_KERNEL to allocate Rx SKB memory |
| 1883 | |
| 1884 | * Tue Dec 16 2008 Dave Jones <davej@redhat.com> |
| 1885 | - 2.6.28-rc8-git4 |
| 1886 | |
| 1887 | * Mon Dec 15 2008 Dave Jones <davej@redhat.com> |
| 1888 | - 2.6.28-rc8-git3 |
| 1889 | |
| 1890 | * Sat Dec 13 2008 Kyle McMartin <kyle@redhat.com> |
| 1891 | - 2.6.28-rc8-git2 |
| 1892 | |
| 1893 | * Sat Dec 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> |
| 1894 | - Add "scsi_esp_register" to the search terms for modules.block so we pick up sun_esp.ko |
| 1895 | |
| 1896 | * Thu Dec 11 2008 Dave Jones <davej@redhat.com> |
| 1897 | - 2.6.28-rc8-git1 |
| 1898 | |
| 1899 | * Thu Dec 11 2008 Dave Jones <davej@redhat.com> |
| 1900 | - Remove noisy message from can network protocol. |
| 1901 | |
| 1902 | * Thu Dec 11 2008 Hans de Goede <hdegoede@redhat.com> |
| 1903 | - Add a patch updating the gspca driver to the latest "git" (mercurial |
| 1904 | actually) adding support for ov534 based cams, fixing support for |
| 1905 | spca501, finepix and vc0321 cams + many more bugfixes |
| 1906 | |
| 1907 | * Wed Dec 10 2008 Dave Jones <davej@redhat.com> |
| 1908 | - 2.6.28-rc8 |
| 1909 | |
| 1910 | * Wed Dec 10 2008 Dave Jones <davej@redhat.com> |
| 1911 | - 2.6.28-rc7-git8 |
| 1912 | |
| 1913 | * Wed Dec 10 2008 Kyle McMartin <kyle@redhat.com> |
| 1914 | - 2.6.28-rc7-git8 |
| 1915 | - re-enable drm-nouveau... |
| 1916 | |
| 1917 | * Tue Dec 09 2008 Dave Jones <davej@redhat.com> |
| 1918 | - 2.6.28-rc7-git7 |
| 1919 | |
| 1920 | * Mon Dec 08 2008 Dave Jones <davej@redhat.com> |
| 1921 | - 2.6.28-rc7-git6 |
| 1922 | |
| 1923 | * Mon Dec 08 2008 Kyle McMartin <kyle@redhat.com> |
| 1924 | - properly fix headers in kernel-devel if headers are in arch/$arch/include, |
| 1925 | sadly was not able to kill off %hdrarch since $Arch is undefined at the |
| 1926 | time we need it for headers install. |
| 1927 | |
| 1928 | * Mon Dec 08 2008 Kyle McMartin <kyle@redhat.com> |
| 1929 | - merging, merging, merging... |
| 1930 | |
| 1931 | * Mon Dec 08 2008 Dave Jones <davej@redhat.com> |
| 1932 | - enable CONFIG_CGROUP_MEM_RES_CTLR. |
| 1933 | |
| 1934 | * Mon Dec 08 2008 Kyle McMartin <kyle@redhat.com> |
| 1935 | - execshield re-merge. xen bits shoved into execshield patch |
| 1936 | (they belong there...) |
| 1937 | |
| 1938 | * Mon Dec 08 2008 Dave Airlie <airlied@redhat.com> |
| 1939 | - modesetting: rebase radeon patch |
| 1940 | |
| 1941 | * Fri Dec 05 2008 Dave Jones <davej@redhat.com> |
| 1942 | - 2.6.28-rc7-git5 |
| 1943 | |
| 1944 | * Fri Dec 05 2008 Dave Jones <davej@redhat.com> |
| 1945 | - SELinux: check open perms in dentry_open not inode_permission |
| 1946 | |
| 1947 | * Fri Dec 05 2008 Dave Jones <davej@redhat.com> |
| 1948 | - 2.6.28-rc7-git4 |
| 1949 | |
| 1950 | * Thu Dec 04 2008 Kyle McMartin <kyle@redhat.com> |
| 1951 | - linux-2.6-utrace.patch updates |
| 1952 | |
| 1953 | * Thu Dec 04 2008 Kyle McMartin <kyle@redhat.com> |
| 1954 | - 2.6.28-rc7-git3 |
| 1955 | |
| 1956 | * Tue Dec 02 2008 Dave Jones <davej@redhat.com> |
| 1957 | - 2.6.28-rc7-git1 |
| 1958 | |
| 1959 | * Mon Dec 01 2008 Dave Jones <davej@redhat.com> |
| 1960 | - 2.6.28-rc7 |
| 1961 | |
| 1962 | * Mon Dec 01 2008 Dave Jones <davej@redhat.com> |
| 1963 | - 2.6.28-rc6-git4 |
| 1964 | |
| 1965 | * Sun Nov 30 2008 Dave Jones <davej@redhat.com> |
| 1966 | - 2.6.28-rc6-git2 |
| 1967 | |
| 1968 | * Mon Nov 24 2008 Dave Jones <davej@redhat.com> |
| 1969 | - 2.6.28-rc6-git1 |
| 1970 | |
| 1971 | * Mon Nov 24 2008 Jeremy Katz <katzj@redhat.com> |
| 1972 | - Add modules.drm file so that we can determine the DRM modules to pull into |
| 1973 | initrds |
| 1974 | |
| 1975 | * Wed Nov 19 2008 Neil Horman <nhorman@redhat.com> |
| 1976 | - Enable Garmin gps serial module build (#471824) |
| 1977 | |
| 1978 | * Tue Nov 18 2008 Dave Jones <davej@redhat.com> |
| 1979 | - Reenable debugging config options. |
| 1980 | |
| 1981 | * Tue Nov 18 2008 Dave Jones <davej@redhat.com> |
| 1982 | - Only build the x86-64 optimised versions of aes/salsa/Twofish on 64bit. |
| 1983 | |
| 1984 | * Tue Nov 18 2008 Dave Jones <davej@redhat.com> |
| 1985 | - Disable autofs v3. (obsoleted by v4 some time ago.) |
| 1986 | |
| 1987 | * Mon Nov 17 2008 Kyle McMartin <kyle@redhat.com> |
| 1988 | - Linux 2.6.28-rc5 |
| 1989 | |
| 1990 | * Fri Nov 14 2008 Roland McGrath <roland@redhat.com> |
| 1991 | - x86 tracehook merged upstream |
| 1992 | - utrace update (merge conflict only) |
| 1993 | |
| 1994 | * Fri Nov 14 2008 Roland McGrath <roland@redhat.com> |
| 1995 | - CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y replaces patch. |
| 1996 | |
| 1997 | * Thu Nov 13 2008 Dave Jones <davej@redhat.com> |
| 1998 | - Revert last change. |
| 1999 | |
| 2000 | * Thu Nov 13 2008 Dave Jones <davej@redhat.com> |
| 2001 | - Change CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR to 4096 on PPC64. (#471478) |
| 2002 | |
| 2003 | * Thu Nov 13 2008 Dave Jones <davej@redhat.com> |
| 2004 | - Increase CONFIG_FORCE_MAX_ZONEORDER to 13 on ppc64. (#468982) |
| 2005 | |
| 2006 | * Wed Nov 12 2008 Kyle McMartin <kyle@redhat.com> |
| 2007 | - Linux 2.6.28-rc4 |
| 2008 | |
| 2009 | * Sun Nov 09 2008 Eric Sandeen <sandeen@redhat.com> |
| 2010 | - Pull back ext4 updates from 2.6.28-rc3-git6 |
| 2011 | |
| 2012 | * Fri Nov 07 2008 Chuck Ebbert <cebbert@redhat.com> |
| 2013 | - Update the r8169 network driver to the 2.6.28 version. |
| 2014 | |
| 2015 | * Fri Nov 07 2008 John W. Linville <linville@redhat.com> |
| 2016 | - Re-modularize ieee80211 component |
| 2017 | - Cleanup ieee80211-related config stuff |
| 2018 | |
| 2019 | * Thu Nov 06 2008 Dave Jones <davej@redhat.com> |
| 2020 | - alsa: implement ac97_clock whitelist (#441087) |
| 2021 | |
| 2022 | * Wed Nov 05 2008 John W. Linville <linville@redhat.com> 2.6.27.4-83 |
| 2023 | - Re-modularize mac80211 component (#470143) |
| 2024 | |
| 2025 | * Wed Nov 05 2008 Dave Jones <davej@redhat.com> 2.6.27.4-82 |
| 2026 | - x86/mm: do not trigger a kernel warning if user-space disables interrupts and generates a page fault |
| 2027 | |
| 2028 | * Wed Nov 05 2008 Dave Jones <davej@redhat.com> 2.6.27.4-81 |
| 2029 | - ACPI: Ignore AE_NOT_FOUND error of EC _REG method and continue to initialize EC (#435653) |
| 2030 | |
| 2031 | * Wed Nov 5 2008 Jeremy Katz <katzj@redhat.com> 2.6.27.4-80 |
| 2032 | - linux-2.6-olpc-touchpad.patch: backport from 2.6.28 |
| 2033 | * Adds support for quirks of the OLPC touchpad |
| 2034 | |
| 2035 | * Mon Nov 03 2008 Matthew Garrett <mjg@redhat.com> 2.6.27.4-79 |
| 2036 | - linux-2.6-toshiba-acpi-update.patch: backport from 2.6.28 |
| 2037 | * Adds support for rfkill control of Bluetooth (#437091) |
| 2038 | - linux-2.6-dmi-autoload.patch: backport DMI autoloading from 2.6.28 |
| 2039 | * Fixes autoloading of Macbook Pro Nvidia backlight driver (#462409) |
| 2040 | |
| 2041 | * Mon Nov 03 2008 Eric Paris <eparis@redhat.com> 2.6.27.4-76 |
| 2042 | - Fix selinux oops on ppc64 due to empty tty_files list (#469079) |
| 2043 | |
| 2044 | * Mon Nov 03 2008 Matthew Garrett <mjg@redhat.com> 2.6.27.4-75 |
| 2045 | - linux-2.6-pciehp-update.patch |
| 2046 | * Update pciehp driver to support autoloading and listening for events |
| 2047 | - linux-2.6-defaults-pciehp.patch |
| 2048 | * Enable passive mode by default |
| 2049 | - Build acpiphp in statically |
| 2050 | - disable-p4-cpufreq-ui.patch |
| 2051 | * Remove the UI from the p4-clockmod code, but allow it to be used in-kernel |
| 2052 | |
| 2053 | * Mon Nov 03 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-73 |
| 2054 | - drm-modesetting-radeon.patch: fix modeset reporting for pm-utils |
| 2055 | |
| 2056 | * Mon Nov 03 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-72 |
| 2057 | - backport upstream fixes to make 64-bit Intel GEM useable (#469584) |
| 2058 | |
| 2059 | * Fri Oct 31 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-71 |
| 2060 | - Fix overflow in libata when using large disks. |
| 2061 | |
| 2062 | * Fri Oct 31 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-70 |
| 2063 | - Silence bogus MTRR warning when running in vmware (#468845) |
| 2064 | - Remove xen dependencies patch, now upstream and not needed in Fedora. |
| 2065 | |
| 2066 | * Fri Oct 31 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-69 |
| 2067 | - radeon: fix out of bounds VRAM access - hopefully fixes the corruption |
| 2068 | |
| 2069 | * Thu Oct 30 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-68 |
| 2070 | - radeon: try and workaround AGP badness with kms + enable VRAM mtrr |
| 2071 | |
| 2072 | * Wed Oct 29 2008 Dave Jones <davej@redhat.com> 2.6.27.4-67 |
| 2073 | - Reduce maximum supported CPUs on x86-64 to 64. |
| 2074 | |
| 2075 | * Wed Oct 29 2008 Jarod Wilson <jarod@redhat.com> 2.6.27.4-66 |
| 2076 | - Update to latest firewire git code: |
| 2077 | * Resolve spb2/ohci module load race causing delayed sbp2 logins (#466679) |
| 2078 | * Prevent >256 bus resets from crashing the system (improves #244576) |
| 2079 | * Fix assorted memory leaks |
| 2080 | * Include timestamps in iso packet headers |
| 2081 | |
| 2082 | * Wed Oct 29 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-65 |
| 2083 | - radeon modesetting : misc fixes - rs690, agp unload, module unload warning |
| 2084 | |
| 2085 | * Tue Oct 28 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-64 |
| 2086 | - Drop Fedora patch that changed the default FAT charset to UTF-8 (F9#454013) |
| 2087 | |
| 2088 | * Tue Oct 28 2008 John W. Linville <linville@redhat.com> 2.6.27.4-63 |
| 2089 | - hostap hack to still work w/ quetionable skb->cb usage (#468613) |
| 2090 | |
| 2091 | * Tue Oct 28 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-61 |
| 2092 | - modesetting add some debugging in /proc and pad ring writes |
| 2093 | |
| 2094 | * Tue Oct 28 2008 Jeremy Katz <katzj@redhat.com> 2.6.27.4-60 |
| 2095 | - add fix for speaker output on OLPC (#466038) |
| 2096 | |
| 2097 | * Tue Oct 28 2008 John W. Linville <linville@redhat.com> 2.6.27.4-59 |
| 2098 | - iwl3945 fix for stable ad-hoc mode connections (#459401) |
| 2099 | |
| 2100 | * Tue Oct 28 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-58 |
| 2101 | - add support for wait rendering API |
| 2102 | |
| 2103 | * Tue Oct 28 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-57 |
| 2104 | - fix rs4xx bus mastering. |
| 2105 | |
| 2106 | * Mon Oct 27 2008 Jeremy Katz <katzj@redhat.com> 2.6.27.4-56 |
| 2107 | - Make olpc-battery built in so that its usable (#467759) |
| 2108 | |
| 2109 | * Mon Oct 27 2008 Eric Sandeen <sandeen@redhat.com> 2.6.27.4-55 |
| 2110 | - Delay capable() checks in ext4 until necessary. (#467216) |
| 2111 | |
| 2112 | * Mon Oct 27 2008 Dave Jones <davej@redhat.com> 2.6.27.4-54 |
| 2113 | - ACPI: Ignore the RESET_REG_SUP bit when using ACPI reset mechanism. (461228) |
| 2114 | |
| 2115 | * Mon Oct 27 2008 Dave Airlie <airlied@redhat.com> 2.6.27.4-52 |
| 2116 | - drm-modesetting-radeon.patch - fix some kms issues + add better CS scheme |
| 2117 | |
| 2118 | * Sun Oct 26 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-51 |
| 2119 | - Linux 2.6.27.4 |
| 2120 | |
| 2121 | * Sat Oct 25 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-50.rc3 |
| 2122 | - Two patches for the r8169 network driver that should fix bug #460747 |
| 2123 | |
| 2124 | * Sat Oct 25 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-49.rc3 |
| 2125 | - Scheduler fixes from 2.6.28, fixing performance problems: |
| 2126 | Disable HRTICK scheduler feature. |
| 2127 | Keep the scheduler clock from going backwards. |
| 2128 | |
| 2129 | * Sat Oct 25 2008 Dave Jones <davej@redhat.com> 2.6.27.4-48.rc3 |
| 2130 | - tcp: Restore ordering of TCP options for the sake of inter-operability |
| 2131 | |
| 2132 | * Fri Oct 24 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-47.rc3 |
| 2133 | - Fix LBA48 on pata_it821x RAID volumes. |
| 2134 | |
| 2135 | * Fri Oct 24 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-46.rc3 |
| 2136 | - Fix I/O errors on jmicron USB/ATA bridges (#465539) |
| 2137 | |
| 2138 | * Fri Oct 24 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.4-45.rc3 |
| 2139 | - 2.6.27.4-rc3 |
| 2140 | Dropped patches: |
| 2141 | linux-2.6-x86-acpi-fix-resume-on-64-bit-UP-systems.patch |
| 2142 | Upstream reverts: |
| 2143 | ext-avoid-printk-floods-in-the-face-of-directory-corruption.patch |
| 2144 | |
| 2145 | * Thu Oct 23 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.3-44 |
| 2146 | - Disable the snd-aw2 driver until upstream comes up with a fix. |
| 2147 | |
| 2148 | * Thu Oct 23 2008 Adam Jackson <ajax@redhat.com> 2.6.27.3-43 |
| 2149 | - Hush more PCI BAR allocation failures |
| 2150 | |
| 2151 | * Thu Oct 23 2008 Jarod Wilson <jarod@redhat.com> 2.6.27.3-42 |
| 2152 | - Disable r8169 2.6.28 update patch, causes much bustification |
| 2153 | |
| 2154 | * Thu Oct 23 2008 Hans de Goede <hdegoede.redhat.com> 2.6.27.3-39 |
| 2155 | - Disable the obsolete zc0301 driver (superseeded by gspca_zc3xx) |
| 2156 | |
| 2157 | * Wed Oct 22 2008 Kyle McMartin <kyle@redhat.com> 2.6.27.3-38 |
| 2158 | - Linux 2.6.27.3 |
| 2159 | |
| 2160 | * Wed Oct 22 2008 Eric Sandeen <sandeen@redhat.com> |
| 2161 | - Patch for CVE-2008-3528, ext-fs dir corruption. |
| 2162 | |
| 2163 | * Tue Oct 22 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.3-37.rc1 |
| 2164 | - Support building from CVS branches. |
| 2165 | |
| 2166 | * Tue Oct 21 2008 Adam Jackson <ajax@redhat.com> 2.6.27.3-36.rc1 |
| 2167 | - Quieten the EC storm printk |
| 2168 | |
| 2169 | * Tue Oct 21 2008 Jarod Wilson <jarod@redhat.com> 2.6.27.3-35.rc1 |
| 2170 | - improved lirc support for iMon LCD/IR devices |
| 2171 | - lirc support for additional MCE transceivers |
| 2172 | - nuke lirc commandir kernel drivers, lirc 0.8.4 talks to the via userspace |
| 2173 | - nuke lirc atiusb kernel drivers, conflicts with ati_remote (#462212), and |
| 2174 | one can keep using lirc w/these via the atilibusb userspace driver |
| 2175 | |
| 2176 | * Tue Oct 21 2008 Dave Airlie <airlied@redhat.com> 2.6.27.3-34.rc1 |
| 2177 | - rebase to drm-next from upstream for GEM fixes. |
| 2178 | - drop intel modesetting for now - broken by rebase |
| 2179 | |
| 2180 | * Mon Oct 20 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.3-33.rc1 |
| 2181 | - Update applesmc hwmon driver to what is upstream for 2.6.28. |
| 2182 | |
| 2183 | * Mon Oct 20 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.3-32.rc1 |
| 2184 | - Update r8169 network driver to what is upstream for 2.6.28. |
| 2185 | |
| 2186 | * Mon Oct 20 2008 David Woodhouse <David.Woodhouse@intel.com> |
| 2187 | - Fix %%{_arch} vs. $Arch confusion in fix for #465486 |
| 2188 | |
| 2189 | * Mon Oct 20 2008 Dave Airlie <airlied@redhat.com> |
| 2190 | - radeon: fix VRAM sizing issue |
| 2191 | |
| 2192 | * Mon Oct 20 2008 Dave Airlie <airlied@redhat.com> |
| 2193 | - radeon: fix writeback + some warning fixes |
| 2194 | |
| 2195 | * Sun Oct 19 2008 Dave Jones <davej@redhat.com> |
| 2196 | - Disable debug printks in the memstick drivers. |
| 2197 | |
| 2198 | * Fri Oct 17 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.3-27.rc1 |
| 2199 | - Linux 2.6.27.3-rc1 |
| 2200 | Dropped patches: |
| 2201 | linux-2.6.27-xfs-remount-fix.patch |
| 2202 | |
| 2203 | * Fri Oct 17 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.2-26.rc1 |
| 2204 | - Fix resume on x86_64 UP systems with SMP kernel. |
| 2205 | |
| 2206 | * Fri Oct 17 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.2-25.rc1 |
| 2207 | - DRM: fix ioctl security issue (CVE-2008-3831). |
| 2208 | |
| 2209 | * Fri Oct 17 2008 Adam Jackson <ajax@redhat.com> 2.6.27.2-24.rc1 |
| 2210 | - Fix suspend on newer Vaios |
| 2211 | |
| 2212 | * Thu Oct 16 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.2-23.rc1 |
| 2213 | - Linux 2.6.27.2-rc1 |
| 2214 | Dropped patches: |
| 2215 | linux-2.6-x86-improve-up-kernel-when-cpu-hotplug-and-smp.patch |
| 2216 | linux-2.6.27-xfs-barrier-fix.patch |
| 2217 | linux-2.6-mac80211-debugfs-stable-fix.patch |
| 2218 | |
| 2219 | * Thu Oct 16 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.1-22 |
| 2220 | - Fix the cciss sysfs links fix. |
| 2221 | |
| 2222 | * Thu Oct 16 2008 Adam Jackson <ajax@redhat.com> 2.6.27.1-21 |
| 2223 | - Don't carp about PCI BAR allocation failures in quiet boot |
| 2224 | |
| 2225 | * Thu Oct 16 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27.1-20 |
| 2226 | - Fix RTC on systems that don't expose it via PnP (F9#451188) |
| 2227 | |
| 2228 | * Thu Oct 16 2008 Kyle McMartin <kyle@redhat.com> 2.6.27.1-19 |
| 2229 | - Linux 2.6.27.1 |
| 2230 | |
| 2231 | * Thu Oct 16 2008 Eric Sandeen <sandeen@redhat.com> 2.6.27-18 |
| 2232 | - ext4 updates from stable patch queue |
| 2233 | |
| 2234 | * Wed Oct 15 2008 Dave Airlie <airlied@redhat.com> 2.6.27-17 |
| 2235 | - radeon-modesetting - fix rs48x |
| 2236 | |
| 2237 | * Wed Oct 15 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27-16 |
| 2238 | - Disable FTRACE; DYNAMIC_FTRACE will be marked broken in 2.6.27.1 |
| 2239 | (without dynamic ftrace the overhead is noticeable.) |
| 2240 | |
| 2241 | * Wed Oct 15 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27-15 |
| 2242 | - Fix cciss sysfs links. (#466181) |
| 2243 | |
| 2244 | * Wed Oct 15 2008 Roland McGrath <roland@redhat.com> 2.6.27-14 |
| 2245 | - fix x86 syscall_get_arguments() order |
| 2246 | |
| 2247 | * Wed Oct 15 2008 Dave Airlie <airlied@redhat.com> |
| 2248 | - radeon modesetting agp support |
| 2249 | |
| 2250 | * Wed Oct 15 2008 Dave Airlie <airlied@redhat.com> |
| 2251 | - fix cantiga hopefully. |
| 2252 | |
| 2253 | * Tue Oct 14 2008 Roland McGrath <roland@redhat.com> |
| 2254 | - utrace update |
| 2255 | |
| 2256 | * Tue Oct 14 2008 Kyle McMartin <kyle@redhat.com> |
| 2257 | - nuke iwlwifi-use-dma_alloc_coherent.patch, should be fixed properly now. |
| 2258 | |
| 2259 | * Mon Oct 13 2008 John W. Linville <linville@redhat.com> |
| 2260 | - -stable fix for mac80211 debugf-related panics |
| 2261 | |
| 2262 | * Mon Oct 13 2008 Eric Sandeen <sandeen@redhat.com> |
| 2263 | - Add fix for xfs root mount failure when some options are used. |
| 2264 | - Update to upstream ext4 code destined for 2.6.28. |
| 2265 | |
| 2266 | * Fri Oct 10 2008 Dave Airlie <airlied@redhat.com> |
| 2267 | - rebase drm patches onto drm-next.patch which is going upstream |
| 2268 | - intel modesetting make not work properly due to rebase |
| 2269 | |
| 2270 | * Thu Oct 09 2008 Chuck Ebbert <cebbert@redhat.com> 2.6.27-2 |
| 2271 | - Fix possible oops in get_wchan() |
| 2272 | |
| 2273 | * Thu Oct 09 2008 Dave Jones <davej@redhat.com> |
| 2274 | - 2.6.27 |
| 2275 | |
| 2276 | * Thu Oct 09 2008 Dave Jones <davej@redhat.com> |
| 2277 | - 2.6.27-rc9-git2 |
| 2278 | |
| 2279 | * Thu Oct 09 2008 Chuck Ebbert <cebbert@redhat.com> |
| 2280 | - x86: switch to UP mode when only one CPU is present at boot time |
| 2281 | |
| 2282 | * Thu Oct 09 2008 Peter Jones <pjones@redhat.com> |
| 2283 | - Fix the return code CD accesses when the CDROM drive door is closed |
| 2284 | but the drive isn't yet ready. |
| 2285 | |
| 2286 | * Thu Oct 09 2008 Eric Sandeen <sandeen@redhat.com> |
| 2287 | - Fix for xfs wrongly disabling barriers while running. |
| 2288 | |
| 2289 | * Wed Oct 08 2008 Dave Jones <davej@redhat.com> |
| 2290 | - The mptfusion/vmware patch isn't needed after all. (#466071) |
| 2291 | |
| 2292 | * Wed Oct 08 2008 Eric Sandeen <sandeen@redhat.com> |
| 2293 | - Add in latest ext4 patch queue - rename to ext4 as well. |
| 2294 | |
| 2295 | * Wed Oct 08 2008 Dave Jones <davej@redhat.com> |
| 2296 | - Reenable a bunch of PPC config options that broke earlier. |
| 2297 | |
| 2298 | * Wed Oct 08 2008 Dave Jones <davej@redhat.com> |
| 2299 | - Fix DEBUG_SHIRQ problem in tulip driver. (#454575) |
| 2300 | |
| 2301 | * Wed Oct 08 2008 Dave Jones <davej@redhat.com> |
| 2302 | - Work around VMWares busted mptfusion emulation again. (#466071) |
| 2303 | |
| 2304 | * Wed Oct 08 2008 Dave Airlie <airlied@redhat.com> |
| 2305 | - radeon - hopefully fix suspend/resume - reenable HW migration |
| 2306 | |
| 2307 | * Tue Oct 07 2008 Dave Jones <davej@redhat.com> |
| 2308 | - 2.6.27-rc9-git1 |
| 2309 | |
| 2310 | * Tue Oct 7 2008 Roland McGrath <roland@redhat.com> |
| 2311 | - Fix build ID fiddling magic. (#465873) |
| 2312 | |
| 2313 | * Mon Oct 06 2008 Eric Sandeen <sandeen@redhat.com> |
| 2314 | - Turn stack overflow debugging back on for x86. |
| 2315 | |
| 2316 | * Mon Oct 06 2008 Dave Jones <davej@redhat.com> |
| 2317 | - 2.6.27-rc9 |
| 2318 | |
| 2319 | * Mon Oct 06 2008 Dave Jones <davej@redhat.com> |
| 2320 | - Add cpufreq.git bits queued for 2.6.28. |
| 2321 | |
| 2322 | * Mon Oct 06 2008 Jarod Wilson <jarod@redhat.com> |
| 2323 | - Add driver for Hauppauge HD PVR |
| 2324 | |
| 2325 | * Mon Oct 06 2008 Dave Jones <davej@redhat.com> |
| 2326 | - 2.6.27-rc8-git8 |
| 2327 | |
| 2328 | * Mon Oct 06 2008 Jarod Wilson <jarod@redhat.com> |
| 2329 | - Don't BUG_ON when iwl4695 gets packets in the wrong queue, |
| 2330 | just WARN. Slight leak w/kerneloops report is better than |
| 2331 | simply panicking, Intel working on root-cause (#457154). |
| 2332 | |
| 2333 | * Mon |