From 85415ef7b3969bdf6bea2100064d93a5f36b8939 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 1 Feb 2008 10:48:02 -0500 Subject: Convert hd:// method strings into something yum understands. --- anaconda | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'anaconda') diff --git a/anaconda b/anaconda index 1bbdf2593..08e6329a7 100755 --- a/anaconda +++ b/anaconda @@ -569,6 +569,13 @@ class Anaconda: tree = "/%s" %(tree,) self.mediaDevice = device + self.methodstr = "file://" + tree + elif methodstr.startswith("hd://"): + (device, fstype, tree) = string.split(methodstr[5:], ":", 2) + + if not tree.startswith("/"): + tree = "/%s" % tree + self.methodstr = "file://" + tree else: self.methodstr = methodstr -- cgit