Commit Graph

674 Commits

Author SHA1 Message Date
John W. Linville
8be461cb79 kernel.spec: reverse dependency logic for moving packages between kernel and kernel-modules-extra
The logic to process mod-extra.list finds modules that depend on
the modules in that list and includes those in kernel-module-extra
as well.  This logic is broken, because it does not account for
multi-layer dependency chains.  Specifically, if a module depends
on another module, and only the second one depends on something in
mod-extra.list, then only the second would get moved.  This leaves the
first module in the kernel package, resulting in WARNING messages
when the kernel rpm is installed:

Preparing...                ########################################### [100%]
   1:kernel                 ########################################### [100%]
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/scsi/bnx2fc/bnx2fc.ko needs unknown symbol cnic_register_driver
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/scsi/bnx2fc/bnx2fc.ko needs unknown symbol cnic_unregister_driver
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/scsi/bnx2i/bnx2i.ko needs unknown symbol cnic_register_driver
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/scsi/bnx2i/bnx2i.ko needs unknown symbol cnic_unregister_driver
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/wusbcore/wusb-wa.ko needs unknown symbol wusbhc_reset_all
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/wusbcore/wusb-wa.ko needs unknown symbol wusbhc_handle_dn
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/wusbcore/wusb-wa.ko needs unknown symbol wusbd
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/wusbcore/wusb-wa.ko needs unknown symbol __wusb_dev_get_by_usb_dev
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/wusbcore/wusb-wa.ko needs unknown symbol wusbhc_giveback_urb
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/wusbcore/wusb-wa.ko needs unknown symbol wusb_dev_destroy
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/atm/xusbatm.ko needs unknown symbol usbatm_usb_disconnect
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/drivers/usb/atm/xusbatm.ko needs unknown symbol usbatm_usb_probe
WARNING: /lib/modules/3.2.0-0.rc3.git1.2.fc14.x86_64/kernel/net/bridge/netfilter/ebtable_broute.ko needs unknown symbol br_should_route_hook

This patch reverses that logic, so that anything in kernel with
a dependency on something in mod-extra.list will cause the module
in mod-extra.list to be treated as if it was _not_ in that list.
This prevents the WARNING lines above.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-12-02 14:39:45 -05:00
Josh Boyer
42087d6524 Put ssb.ko back in the main kernel package 2011-12-02 14:17:44 -05:00
Dave Jones
5e401e5e6f Enable Poulsbo DRM. 2011-12-02 14:15:49 -05:00
Dave Jones
8c98cf4ff6 Linux 3.2-rc4-git1 (5983fe2b29df5885880d7fa3b91aca306c7564ef)
dropped: rtlwifi-fix-lps_lock-deadlock.patch (applied upstream)
2011-12-02 11:36:33 -05:00
Josh Boyer
b66345bb32 Adjust Requires for modules-extra pacakge to rely on kernel-uname-r
The variant kernels (e.g. PAE) Provide kernel-%{_target_cpu}, which doesn't
include the variant name so we wind up with broken deps on the modules-extra
subpackage.  kernel-uname-r incorporates the variant value at the end (e.g.
kernel-uname-r = 3.2.0-0.rc4.git0.2.fc17.i686.PAE)
2011-12-02 09:34:46 -05:00
Dave Jones
115248e310 Linux 3.2-rc4 2011-12-01 21:13:52 -05:00
Dave Jones
6678319180 Linux 3.2-rc3-git2 (b930c26416c4ea6855726fd977145ccea9afbdda) 2011-12-01 12:28:39 -05:00
Dave Jones
fdf5cd89b9 remove git-linus.diff
now that we're creating our own snapshots, there's no need for this.
2011-11-29 13:56:48 -05:00
Josh Boyer
fe32595ee9 Add patch to fix deadlock in rtlwifi (rhbz #755154) 2011-11-29 11:33:34 -05:00
Josh Boyer
5bd5546b84 Drop drm-intel-make-lvds-work.patch (rhbz #731296)
Discussed this with mjg59 and ajax.  This fix was supposed to go upstream,
but never actually made it.  Since it's breaking xrandr, we're dropping it.
2011-11-29 11:24:53 -05:00
Josh Boyer
b8b2783bb9 Create a kernel-modules-extra subpackage
This creates a modules-extra subpackage which places a number of less
frequently used modules into the extra directory under
/lib/modules/`uname -r`/.  This reduces the size of the default kernel
package while still allowing those modules to be built and installed if
needed.  We also limit the security exposure by keeping these modules out
of the default install.
2011-11-29 09:02:14 -05:00
Josh Boyer
5e296fd758 Linux 3.2-rc3-git1 (upstream 8748dfae379) 2011-11-29 08:47:46 -05:00
Chuck Ebbert
5ae7978615 bumpspecfile: get user name and email from git config 2011-11-29 05:45:06 -05:00
Dave Jones
9af210dc91 remove old junk.
Pointed out by Kyle.
2011-11-28 17:01:35 -05:00
Josh Boyer
471066eceb Linux 3.2-rc3. Gobble.
Try switching to using xz patches for rc and gitrev.
2011-11-24 08:47:36 -05:00
Chuck Ebbert
f839e398ef Ignore all .xz and .bz2 files 2011-11-23 08:58:58 -05:00
Josh Boyer
d7de9e2bcf Linux 3.2-rc2-git8 (upstream b4bbb02934e4511) 2011-11-23 07:50:01 -05:00
Josh Boyer
c78a082959 Fix the baserelease sanity check
We need to explicitly check for 0, so that we can do things like setting
baserelease to 1.1 for scratch builds, etc.
2011-11-22 10:38:03 -05:00
Josh Boyer
c877f36df2 Linux 3.2-rc2-git7 (upstream bbbc4791cd48ac1) 2011-11-22 09:36:34 -05:00
Josh Boyer
467901ae52 Linux 3.2-rc2-git6 (upstream f8f5ed7c996ad9) 2011-11-21 15:47:52 -05:00
Josh Boyer
aca5e3322a Update utrace patches from Oleg.
Also available at git://github.com/utrace/linux utrace-3.2
2011-11-21 15:42:09 -05:00
Josh Boyer
43864d3d09 Linux 3.2-rc2-git5 (upstream 6fe4c6d466e9)
Disable PM_DEVFREQ as it seems to be embedded (ARM?) specific even though
the Kconfig dependencies don't mark it as such any longer.
2011-11-21 09:00:53 -05:00
Josh Boyer
09eae387a1 Linux 3.2-rc2-git4 (upstream a767835f6dc8) 2011-11-20 09:49:52 -05:00
Josh Boyer
0ab1ce7b8d Linux 3.2-rc2-git3 (upstream 15bd1cfb3055)
Disable various fb and drm drivers that don't have xorg equivalents per ajax
Other minor config cleanup
2011-11-18 07:45:26 -05:00
Josh Boyer
9e8b97b6a1 Linux 3.2-rc2-git2 (upstream aa1b052a34d) 2011-11-17 10:50:35 -05:00
Kyle McMartin
058752857c Drop Obsoletes/Provides from kernel-tools onto perf. 2011-11-17 10:34:35 -05:00
John W. Linville
10731a4cc7 Add compat-wireless as an option for kernel build 2011-11-16 15:52:10 -05:00
Kyle McMartin
8bcddfb033 Avoid CFLAGS changing across building perf 2011-11-16 14:31:36 -05:00
Kyle McMartin
e20e75789d Work around #663080 and restore building 'perf' on s390x. 2011-11-16 11:19:44 -05:00
Josh Boyer
6df08a4308 Linux 3.2-rc2-git1 (upstream 6aaf05f47) 2011-11-16 09:24:33 -05:00
Josh Boyer
e7cafd409a Quite a warning in apm_cpu_idle (rhbz 753776)
WARN_ONCE is now the top thing on my "BIGGEST WASTE OF TIME" list.  It changes
daily though.
2011-11-14 14:26:26 -05:00
Josh Boyer
8e7e637502 Add patch to fix ip6_tunnel naming (rhbz 751165) 2011-11-14 13:59:00 -05:00
Josh Boyer
4215bf0858 Patch from Joshua Roys to add rtl8192* to modules.networking (rhbz 753645) 2011-11-14 13:09:12 -05:00
Josh Boyer
c7a536b330 Linux 3.2-rc1-git4
Also fix CVE-2011-4131: nfs4_getfacl decoding kernel oops (rhbz 753236)
2011-11-14 09:55:52 -05:00
Josh Boyer
90ac8d9ea5 Linux 3.2-rc2-git3 2011-11-12 18:06:35 -05:00
Chuck Ebbert
e6236b7bde Use the same naming scheme as rawhide for -stable RC kernels
(e.g. 3.1.1-0.rc1.1 instead of 3.1.1-1.rc1)
2011-11-11 19:51:31 -05:00
Josh Boyer
03f8e6abc9 Add patch to rework ASPM handling from Matthew Garrett 2011-11-11 14:36:05 -05:00
John W. Linville
2be5490569 Remove overlap between bcma/b43 and brcmsmac and reenable bcm4331 2011-11-11 10:03:43 -05:00
Josh Boyer
9b8fcc47a0 Linux 3.2-rc1-git2 2011-11-10 08:51:22 -05:00
Josh Boyer
33f57de72a Linux 3.2-rc1-git1 (upstream 19e0bafc36a)
Enable the brcm80211 modules now that they have left staging
2011-11-09 07:44:03 -05:00
Josh Boyer
27d8a0e9b5 Add python-perf-debuginfo package (rhbz 752140) 2011-11-08 14:44:50 -05:00
Neil Horman
778a29ad09 sysfs: Add msi irq device enumeration (bz 744012) 2011-11-08 11:37:04 -05:00
Josh Boyer
92b4ce742c Add updated sources for 3.2-rc1
Crap.  I hate it when I do that.
2011-11-08 07:42:40 -05:00
Josh Boyer
e3e38acf4d Linux 3.2-rc1
From kernel.org this time, not git generated locally:
http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.2-rc1.bz2
2011-11-08 07:39:48 -05:00
Josh Boyer
44ef27d0d0 Add two patches to fix mac80211 issues (rhbz 731365) 2011-11-07 12:33:04 -05:00
Josh Boyer
dee356203f Add from git://openlinux.windriver.com/people/paulg/modsplit-post-merge
These fix various build failures from the module.h split out stuff for 3.2
2011-11-07 11:50:45 -05:00
Josh Boyer
ea8a97de39 Linux 3.1-git7 (upstream 31555213f) 2011-11-07 11:25:51 -05:00
Chuck Ebbert
05e763b50e Add sanity check for baserelease 2011-11-07 08:46:25 -05:00
Chuck Ebbert
7cfa6899ff Add support for .xz compressed patches 2011-11-07 08:16:50 -05:00
Dave Jones
2b4d1d8379 remove dead option 2011-11-04 13:39:41 -04:00