/[smeserver]/rpms/anaconda/sme7/smeserver-kmod.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme7/smeserver-kmod.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Mon Aug 24 15:09:08 2009 UTC (15 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
FILE REMOVED
Import CentOS 4.8 sources

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' anaconda-10.1.1.63/packages.py mezzanine_patched_anaconda-10.1.1.63/packages.py
2     --- anaconda-10.1.1.63/packages.py 2007-05-17 22:00:44.000000000 -0600
3     +++ mezzanine_patched_anaconda-10.1.1.63/packages.py 2007-05-17 21:51:55.000000000 -0600
4     @@ -651,6 +651,9 @@
5     log("selected xenU kernel")
6     foundKernel = 1
7     xenkernel = 1
8     + select(id.grpset.hdrlist, "kmod-appletalk-xenU")
9     + select(id.grpset.hdrlist, "kmod-ppp-xenU")
10     + select(id.grpset.hdrlist, "kmod-slip-xenU")
11     if selected(id.grpset.hdrlist, "gcc"):
12     select(id.grpset.hdrlist, "kernel-xenU-devel")
13    
14     @@ -678,31 +681,49 @@
15     if not xenkernel and largesmp_min > 0 and nthreads > largesmp_min and \
16     select(id.grpset.hdrlist, "kernel-largesmp"):
17     foundKernel = 1
18     + select(id.grpset.hdrlist, "kmod-appletalk-largesmp")
19     + select(id.grpset.hdrlist, "kmod-ppp-largesmp")
20     + select(id.grpset.hdrlist, "kmod-slip-largesmp")
21     if selected(id.grpset.hdrlist, "gcc"):
22     select(id.grpset.hdrlist, "kernel-largesmp-devel")
23     elif not xenkernel and nthreads > 1:
24     if select(id.grpset.hdrlist, "kernel-smp"):
25     foundkernel = 1
26     + select(id.grpset.hdrlist, "kmod-appletalk-smp")
27     + select(id.grpset.hdrlist, "kmod-ppp-smp")
28     + select(id.grpset.hdrlist, "kmod-slip-smp")
29     if selected(id.grpset.hdrlist, "gcc"):
30     select(id.grpset.hdrlist, "kernel-smp-devel")
31    
32     if not xenkernel and iutil.needsEnterpriseKernel():
33     if select(id.grpset.hdrlist, "kernel-bigmem"):
34     foundkernel = 1
35     + select(id.grpset.hdrlist, "kmod-appletalk-bigmem")
36     + select(id.grpset.hdrlist, "kmod-ppp-bigmemsmp")
37     + select(id.grpset.hdrlist, "kmod-slip-bigmemsmp")
38    
39     if not xenkernel and isys.summitavailable():
40     if select(id.grpset.hdrlist, "kernel-summit"):
41     foundkernel = 1
42     + select(id.grpset.hdrlist, "kmod-appletalk-summit")
43     + select(id.grpset.hdrlist, "kmod-ppp-summit")
44     + select(id.grpset.hdrlist, "kmod-slip-summit")
45    
46     if foundkernel == 0:
47     # we *always* need to have some sort of kernel installed
48     select(id.grpset.hdrlist, 'kernel')
49     + select(id.grpset.hdrlist, "kmod-appletalk")
50     + select(id.grpset.hdrlist, "kmod-ppp")
51     + select(id.grpset.hdrlist, "kmod-slip")
52    
53     if xenkernel:
54     log("deselecting kernel since we're installing xen kerenl")
55     # XXX: this is a bit of a hack, but we can't do much better
56     # with the rhel4 anaconda
57     id.grpset.hdrlist["kernel"].manual_state = -2 # MANUAL_OFF
58     + id.grpset.hdrlist["kmod-appletalk"].manual_state = -2 # MANUAL_OFF
59     + id.grpset.hdrlist["kmod-ppp"].manual_state = -2 # MANUAL_OFF
60     + id.grpset.hdrlist["kmod-slip"].manual_state = -2 # MANUAL_OFF
61    
62     if (selected(id.grpset.hdrlist, "gcc") and
63     selected(id.grpset.hdrlist, "kernel")):

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed