]> git.pld-linux.org Git - packages/anaconda.git/blame - anaconda-kernel.patch
- apply optflags patch
[packages/anaconda.git] / anaconda-kernel.patch
CommitLineData
5017673a
ER
1--- anaconda-11.0.5/yuminstall.py 2006-05-24 03:11:56.912047364 +0300
2+++ anaconda-11.0.5/yuminstall.py 2006-05-24 18:09:49.619010315 +0300
b18863cd
ER
3@@ -697,11 +697,11 @@
4 return pkgs[0]
5
6 foundkernel = False
7- kpkg = getBestKernelByArch("kernel", self.ayum)
8+ kpkg = getBestKernelByArch("kernel-grsecurity", self.ayum)
127f0269
ER
9
10 # FIXME: this is a bit of a hack. we shouldn't hard-code and
11 # instead check by provides. but alas.
12- for k in ("kernel", "kernel-smp", "kernel-xen0"):
13+ for k in ("kernel-grsecurity", "kernel-grsecurity-smp", "kernel-xen0"):
14 if len(self.ayum.tsInfo.matchNaevr(name=k)) > 0:
15 foundkernel = True
16
17@@ -736,8 +736,8 @@
18
19 if not foundkernel and (isys.smpAvailable() or isys.htavailable()):
20 try:
21- ksmp = getBestKernelByArch("kernel-smp", self.ayum)
22- log.info("selected kernel-smp package for kernel")
23+ ksmp = getBestKernelByArch("kernel-grsecurity-smp", self.ayum)
24+ log.info("selected kernel-grsecurity-smp package for kernel")
25 foundkernel = True
26 except PackageSackError:
27 ksmp = None
5017673a
ER
28@@ -750,7 +750,7 @@
29 self.selectPackage("kernel-smp-devel")
30
31 if not foundkernel:
32- log.info("selected kernel package for kernel")
33+ log.info("selected kernel-grsecurity package for kernel")
34 self.ayum.install(po=kpkg)
35 if len(self.ayum.tsInfo.matchNaevr(name="gcc")) > 0:
36 log.debug("selecting kernel-devel")
127f0269
ER
37@@ -1028,7 +1028,7 @@
38 kernelVersions = []
39
40 # nick is used to generate the lilo name
41- for (ktag, nick) in [ ('kernel-smp', 'smp'),
42+ for (ktag, nick) in [ ('kernel-grsecurity-smp', 'smp'),
43 ('kernel-xen0', 'xen0'),
44 ('kernel-xenU', 'xenU') ]:
45 tag = ktag.rsplit('-', 1)[1]
This page took 0.081214 seconds and 4 git commands to generate.