summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-31 20:19:58 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-31 20:19:58 +0000
commit8ea778d4e50b112b1b494b12c4879eb3f9a78945 (patch)
tree6787f51085c65f559ec3fa63670ab5ab377d3a83 /packages.py
parent87ffc4835192bfe3ea743429350da2f289010786 (diff)
downloadanaconda-8ea778d4e50b112b1b494b12c4879eb3f9a78945.tar.gz
anaconda-8ea778d4e50b112b1b494b12c4879eb3f9a78945.tar.xz
anaconda-8ea778d4e50b112b1b494b12c4879eb3f9a78945.zip
make sure grub is selected if it's being used
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages.py b/packages.py
index bfb68a0bf..733229f2c 100644
--- a/packages.py
+++ b/packages.py
@@ -496,7 +496,9 @@ def doPreInstall(method, id, intf, instPath, dir):
select(id.hdList, 'pam_smb')
if iutil.getArch() == "i386" and id.bootloader.useGrubVal == 0:
- select(id.hdList, 'lilo')
+ select(id.hdList, 'lilo')
+ elif iutil.getArch() == "i386" and id.bootloader.useGrubVal == 1:
+ select(id.hdList, 'grub')
if pcmcia.pcicType():
select(id.hdList, 'kernel-pcmcia-cs')