From 9b23fb1cd22f6f2cc4f6b18897e65ab1e4d68328 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 9 Mar 2009 13:19:55 +0100 Subject: Fix booty for dmraid Booty was expecting the xxxxxxx part of /dev/xxxxxx paths instead of new storage device names, this patch fixes this, making booty work on dmraid with the new storage code. --- textw/upgrade_bootloader_text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textw') 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]) -- cgit