]> git.pld-linux.org Git - packages/anaconda.git/blobdiff - anaconda-kernel.patch
- use util-linux virtual
[packages/anaconda.git] / anaconda-kernel.patch
index f22f16efaf768ab8c8173d1b5a0f982aa0704e49..6acfd188af0b0562d5b185ba1ed9baa80a96ad87 100644 (file)
@@ -1,54 +1,10 @@
---- anaconda-11.0.5/yuminstall.py      2006-05-24 18:09:49.619010315 +0300
-+++ anaconda-11.0.5/yuminstall.py      2006-05-25 00:11:54.385696897 +0300
-@@ -697,11 +697,11 @@
-             return pkgs[0]
-         foundkernel = False
--        kpkg = getBestKernelByArch("kernel", self.ayum)
-+        kpkg = getBestKernelByArch("kernel-grsecurity", self.ayum)
+--- anaconda-11.2.0.24.org/yuminstall.py       2007-02-13 14:56:08.000000000 +0100
++++ anaconda-11.2.0.24/yuminstall.py   2007-02-20 19:12:05.894623000 +0100
+@@ -1009,6 +1009,7 @@
          # FIXME: this is a bit of a hack.  we shouldn't hard-code and
          # instead check by provides.  but alas.
--        for k in ("kernel", "kernel-smp", "kernel-xen0"):
-+        for k in ("kernel-grsecurity", "kernel-grsecurity-smp", "kernel-xen0"):
-             if len(self.ayum.tsInfo.matchNaevr(name=k)) > 0:            
-                 foundkernel = True
-@@ -736,8 +736,8 @@
-         if not foundkernel and (isys.smpAvailable() or isys.htavailable()):
-             try:
--                ksmp = getBestKernelByArch("kernel-smp", self.ayum)
--                log.info("selected kernel-smp package for kernel")
-+                ksmp = getBestKernelByArch("kernel-grsecurity-smp", self.ayum)
-+                log.info("selected kernel-grsecurity-smp package for kernel")
-                 foundkernel = True
-             except PackageSackError:
-                 ksmp = None
-@@ -750,7 +750,7 @@
-                     self.selectPackage("kernel-smp-devel")
-             
-         if not foundkernel:
--            log.info("selected kernel package for kernel")
-+            log.info("selected kernel-grsecurity package for kernel")
-             self.ayum.install(po=kpkg)
-             if len(self.ayum.tsInfo.matchNaevr(name="gcc")) > 0:
-                 log.debug("selecting kernel-devel")
-@@ -1028,7 +1028,7 @@
-         kernelVersions = []
-         # nick is used to generate the lilo name
--        for (ktag, nick) in [ ('kernel-smp', 'smp'),
-+        for (ktag, nick) in [ ('kernel-grsecurity-smp', 'smp'),
-                               ('kernel-xen0', 'xen0'),
-                               ('kernel-xenU', 'xenU') ]:
-             tag = ktag.rsplit('-', 1)[1]
-@@ -1036,7 +1036,7 @@
-                 version = ( tsmbr.version + '-' + tsmbr.release + tag)
-                 kernelVersions.append((version, nick))
--        for tsmbr in self.ayum.tsInfo.matchNaevr(name='kernel'):
-+        for tsmbr in self.ayum.tsInfo.matchNaevr(name='kernel-grsecurity'):
-             version = ( tsmbr.version + '-' + tsmbr.release)
-             kernelVersions.append((version, 'up'))
+         for k in ("kernel", "kernel-smp", "kernel-xen0", "kernel-xen",
++                  "kernel-grsecurity", "kernel-grsecurity-smp",
+                   "kernel-PAE"):
+             if len(self.ayum.tsInfo.matchNaevr(name=k)) > 0:
+                 self.selectModulePackages(anaconda, k)
This page took 0.034705 seconds and 4 git commands to generate.