summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-07-18 11:33:53 -0400
committerChris Lumens <clumens@redhat.com>2008-07-18 11:33:53 -0400
commitd87350714de9031b1e721d148036208c9ab1df8d (patch)
treec4b6303a6d813a1c5924c1ce2f2e527b3efc217a /yuminstall.py
parentf9ee521f1641676f5fb38d5a169271e81eee028a (diff)
downloadanaconda-d87350714de9031b1e721d148036208c9ab1df8d.tar.gz
anaconda-d87350714de9031b1e721d148036208c9ab1df8d.tar.xz
anaconda-d87350714de9031b1e721d148036208c9ab1df8d.zip
We no longer add the fstype to the hd: method in loader.
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 8e4f2a484..09311bf6a 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -528,7 +528,11 @@ class AnacondaYum(YumSorter):
m = self.anaconda.methodstr
if m.startswith("hd:"):
- (device, fstype, path) = m[3:].split(":", 3)
+ if m.count(":") == 2:
+ (device, path) = m[3:].split(":")
+ else:
+ (device, fstype, path) = m[3:].split(":")
+
self.isodir = "/mnt/isodir/%s" % path
# This takes care of mounting /mnt/isodir first.