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
7 - kpkg = getBestKernelByArch("kernel", self.ayum)
8 + kpkg = getBestKernelByArch("kernel-grsecurity", self.ayum)
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:
19 if not foundkernel and (isys.smpAvailable() or isys.htavailable()):
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")
26 except PackageSackError:
29 self.selectPackage("kernel-smp-devel")
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")
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]