1 --- anaconda-11.0.5/yuminstall.py 2006-05-24 03:01:04.177356166 +0300
2 +++ anaconda-11.0.5/yuminstall.py 2006-05-24 03:11:56.912047364 +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:
31 # nick is used to generate the lilo name
32 - for (ktag, nick) in [ ('kernel-smp', 'smp'),
33 + for (ktag, nick) in [ ('kernel-grsecurity-smp', 'smp'),
34 ('kernel-xen0', 'xen0'),
35 ('kernel-xenU', 'xenU') ]:
36 tag = ktag.rsplit('-', 1)[1]