summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--booty/x86.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/booty/x86.py b/booty/x86.py
index 99f2e5d93..84d26257e 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -552,10 +552,14 @@ class x86BootloaderInfo(efiBootloaderInfo):
def __init__(self, storage):
bootloaderInfo.__init__(self, storage)
- efiBootloaderInfo.__init__(self, storage, initialize=False)
+ # these have to be set /before/ efiBootloaderInfo.__init__(), or
+ # they'll be overwritten.
self._configdir = "/boot/grub"
self._configname = "grub.conf"
+
+ efiBootloaderInfo.__init__(self, storage, initialize=False)
+
# XXX use checkbootloader to determine what to default to
self.useGrubVal = 1
self.kernelLocation = "/boot/"