summaryrefslogtreecommitdiffstats
path: root/booty/alpha.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-03-09 13:19:55 +0100
committerHans de Goede <hdegoede@redhat.com>2009-03-09 21:14:15 +0100
commit9b23fb1cd22f6f2cc4f6b18897e65ab1e4d68328 (patch)
tree391089f89a236f409bf70952db3e71a199832ef6 /booty/alpha.py
parente60e58b1f7a659b448f4080075b399538878c501 (diff)
downloadanaconda-9b23fb1cd22f6f2cc4f6b18897e65ab1e4d68328.tar.gz
anaconda-9b23fb1cd22f6f2cc4f6b18897e65ab1e4d68328.tar.xz
anaconda-9b23fb1cd22f6f2cc4f6b18897e65ab1e4d68328.zip
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.
Diffstat (limited to 'booty/alpha.py')
-rw-r--r--booty/alpha.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/booty/alpha.py b/booty/alpha.py
index abd3a636a..ca715560d 100644
--- a/booty/alpha.py
+++ b/booty/alpha.py
@@ -7,13 +7,13 @@ from util import getDiskPart
class alphaBootloaderInfo(bootloaderInfo):
def wholeDevice (self, path):
- (device, foo) = getDiskPart(path)
+ (device, foo) = getDiskPart(path, self.storage)
return device
def partitionNum (self, path):
# getDiskPart returns part numbers 0-based; we need it one based
# *sigh*
- (foo, partitionNumber) = getDiskPart(path)
+ (foo, partitionNumber) = getDiskPart(path, self.storage)
return partitionNumber + 1
def writeAboot(self, instRoot, bl, kernelList,