diff options
author | Chris Lumens <clumens@redhat.com> | 2006-06-22 17:18:11 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-06-22 17:18:11 +0000 |
commit | 4cb0ba1d9610eebac6f1086d19b972e9534384d6 (patch) | |
tree | cd2e1c7914156826a11868cc0f7a42d56a7a53f2 /partedUtils.py | |
parent | 12bd0888d8f37a4aac566d1a47b1b7bbfa090c22 (diff) | |
download | anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.tar.gz anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.tar.xz anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.zip |
Instead of detecting whether a device is removable or not, detect whether
there is media present in devices where it may be removed. This should
finish up getting USB installation working.
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py index 87532fcd8..772d8670a 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -915,7 +915,7 @@ class DiskSet: if drive in DiskSet.skippedDisks: continue deviceFile = isys.makeDevInode(drive, "/dev/" + drive) - if isys.driveIsRemovable(drive) and not flags.expert: + if not isys.mediaPresent(drive): DiskSet.skippedDisks.append(drive) continue # FIXME: need the right fix for z/VM formatted dasd |