1 --- anaconda-11.0.5/yuminstall.py~ 2006-05-24 02:51:56.715042751 +0300
2 +++ anaconda-11.0.5/yuminstall.py 2006-05-24 03:01:04.177356166 +0300
5 # FIXME: this is a bit of a hack. we shouldn't hard-code and
6 # instead check by provides. but alas.
7 - for k in ("kernel", "kernel-smp", "kernel-xen0"):
8 + for k in ("kernel-grsecurity", "kernel-grsecurity-smp", "kernel-xen0"):
9 if len(self.ayum.tsInfo.matchNaevr(name=k)) > 0:
14 if not foundkernel and (isys.smpAvailable() or isys.htavailable()):
16 - ksmp = getBestKernelByArch("kernel-smp", self.ayum)
17 - log.info("selected kernel-smp package for kernel")
18 + ksmp = getBestKernelByArch("kernel-grsecurity-smp", self.ayum)
19 + log.info("selected kernel-grsecurity-smp package for kernel")
21 except PackageSackError:
26 # nick is used to generate the lilo name
27 - for (ktag, nick) in [ ('kernel-smp', 'smp'),
28 + for (ktag, nick) in [ ('kernel-grsecurity-smp', 'smp'),
29 ('kernel-xen0', 'xen0'),
30 ('kernel-xenU', 'xenU') ]:
31 tag = ktag.rsplit('-', 1)[1]