diff options
author | Erik Troan <ewt@redhat.com> | 2000-08-07 20:00:40 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-08-07 20:00:40 +0000 |
commit | 71ab74913402431160ed48e889d1cd165809bcf6 (patch) | |
tree | 2138ea69fafc4f3096c3f0d65aabad07fe23ee4d /lilo.py | |
parent | 4679c329ef59e903157162be40ac159756dd46c4 (diff) | |
download | anaconda-71ab74913402431160ed48e889d1cd165809bcf6.tar.gz anaconda-71ab74913402431160ed48e889d1cd165809bcf6.tar.xz anaconda-71ab74913402431160ed48e889d1cd165809bcf6.zip |
handle kernel-enterprise if it's selected
Diffstat (limited to 'lilo.py')
-rw-r--r-- | lilo.py | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -298,14 +298,22 @@ class LiloConfiguration: elif label: otherList.append (label, "/dev/" + drive) - lilo.addEntry("default", self.default) - - label = main + upKernelLabel = main + defaultKernel = main + + if (hdList.has_key('kernel-enterprise') and + hdList['kernel-enterprise'].selected): + kernelList.append(('linux-ent', + hdList['kernel-enterprise'], "enterprise")) + upKernelLabel = main + "-up" + defaultKernel = 'linux-ent' if (smpInstalled): kernelList.append((main, hdList['kernel-smp'], "smp")) - label = main + "-up" + upKernelLabel = main + "-up" + + kernelList.append((upKernelLabel, hdList['kernel'], "")) - kernelList.append((label, hdList['kernel'], "")) + lilo.addEntry("default", defaultKernel) for (label, kernel, tag) in kernelList: kernelTag = "-%s-%s%s" % (kernel[rpm.RPMTAG_VERSION], |