summaryrefslogtreecommitdiffstats
path: root/textw/upgrade_bootloader_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'textw/upgrade_bootloader_text.py')
-rw-r--r--textw/upgrade_bootloader_text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/upgrade_bootloader_text.py b/textw/upgrade_bootloader_text.py
index 636d78998..f863efbb1 100644
--- a/textw/upgrade_bootloader_text.py
+++ b/textw/upgrade_bootloader_text.py
@@ -86,7 +86,7 @@ class UpgradeBootloaderWindow:
newToLibata = self._ideToLibata(anaconda.rootPath)
(self.type, self.bootDev) = \
- checkbootloader.getBootloaderTypeAndBoot(anaconda.rootPath)
+ checkbootloader.getBootloaderTypeAndBoot(anaconda.rootPath, storage=anaconda.id.storage)
blradio = RadioGroup()
@@ -173,7 +173,7 @@ class UpgradeBootloaderWindow:
self.bl.useGrubVal = 1
else:
self.bl.useGrubVal = 0
- self.bl.setDevice(self.bootDev)
+ self.bl.setDevice(self.bootDev.split("/")[-1])