summaryrefslogtreecommitdiffstats
path: root/command-stubs
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-06-22 17:18:11 +0000
committerChris Lumens <clumens@redhat.com>2006-06-22 17:18:11 +0000
commit4cb0ba1d9610eebac6f1086d19b972e9534384d6 (patch)
treecd2e1c7914156826a11868cc0f7a42d56a7a53f2 /command-stubs
parent12bd0888d8f37a4aac566d1a47b1b7bbfa090c22 (diff)
downloadanaconda-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 'command-stubs')
-rwxr-xr-xcommand-stubs/list-harddrives-stub2
1 files changed, 1 insertions, 1 deletions
diff --git a/command-stubs/list-harddrives-stub b/command-stubs/list-harddrives-stub
index ac215a9ff..41add100c 100755
--- a/command-stubs/list-harddrives-stub
+++ b/command-stubs/list-harddrives-stub
@@ -23,7 +23,7 @@ driveList = drives.keys()
driveList.sort()
for drive in driveList:
- if isys.driveIsRemovable(drive):
+ if not isys.mediaPresent(drive):
continue
# try to open and get size