summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-11-16 17:36:16 +0000
committerErik Troan <ewt@redhat.com>2000-11-16 17:36:16 +0000
commit9d7e36de61bf5f16cb87e1b80dbe5fb7f728435c (patch)
tree6a7b391fb207c6bf0eda9d6b5d45f5683b03cf7f /textw
parentebe9d756a1fa013be48117ccea91f394ce18044d (diff)
downloadanaconda-9d7e36de61bf5f16cb87e1b80dbe5fb7f728435c.tar.gz
anaconda-9d7e36de61bf5f16cb87e1b80dbe5fb7f728435c.tar.xz
anaconda-9d7e36de61bf5f16cb87e1b80dbe5fb7f728435c.zip
if edd is available, remove the linear option
Diffstat (limited to 'textw')
-rw-r--r--textw/lilo_text.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/textw/lilo_text.py b/textw/lilo_text.py
index 498f0c5bc..c83423162 100644
--- a/textw/lilo_text.py
+++ b/textw/lilo_text.py
@@ -3,6 +3,7 @@ from snack import *
from constants_text import *
from translate import _
import string
+import edd
#cat = gettext.Catalog ("anaconda", "/usr/share/locale")
#_ = cat.gettext
@@ -12,7 +13,7 @@ class LiloAppendWindow:
def __call__(self, screen, todo):
if not todo.fstab.setupFilesystems or todo.fstab.rootOnLoop():
todo.skipLilo = 1
- return INSTALL_NOOP
+ #return INSTALL_NOOP
t = TextboxReflowed(53,
_("A few systems will need to pass special options "
@@ -31,8 +32,11 @@ class LiloAppendWindow:
(_("Back"), "back") ] )
grid = GridFormHelp(screen, _("LILO Configuration"), "kernelopts", 1, 4)
- grid.add(t, 0, 0)
- grid.add(cb, 0, 1, padding = (0, 1, 0, 1))
+ grid.add(t, 0, 0, padding = (0, 0, 0, 1))
+
+ if not edd.detect():
+ grid.add(cb, 0, 1, padding = (0, 0, 0, 1))
+
grid.add(entry, 0, 2, padding = (0, 0, 0, 1))
grid.add(buttons, 0, 3, growx = 1)
@@ -206,16 +210,13 @@ class LiloImagesWindow:
_("The boot manager Red Hat uses can boot other "
"operating systems as well. You need to tell me "
"what partitions you would like to be able to boot "
- "and what label you want to use for each of them.\n\n"))
-# "Press the F2 key to select the partition to boot by "
-# "default."))
+ "and what label you want to use for each of them."))
g = GridFormHelp(screen, _("LILO Configuration"), "lilolabels", 1, 4)
g.add(text, 0, 0, anchorLeft = 1)
g.add(listboxLabel, 0, 1, padding = (0, 1, 0, 0), anchorLeft = 1)
g.add(listbox, 0, 2, padding = (0, 0, 0, 1), anchorLeft = 1)
g.add(buttons, 0, 3, growx = 1)
-# g.addHotKey("F2")
g.addHotKey(" ")
result = None