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")): |