diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-05-03 16:53:14 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-05-03 16:53:14 +0000 |
commit | 2b4d34f2036bdabbf6e18087946c2b5b1e647323 (patch) | |
tree | 0b7a13212f3aa8778bdb7d43de6b3c516985f28d /lvm.py | |
parent | fd9d962efca15351b0f1806f09d9ba17d21874ba (diff) | |
download | anaconda-2b4d34f2036bdabbf6e18087946c2b5b1e647323.tar.gz anaconda-2b4d34f2036bdabbf6e18087946c2b5b1e647323.tar.xz anaconda-2b4d34f2036bdabbf6e18087946c2b5b1e647323.zip |
* lvm.py (has_lvm): Return if we're on S/390 and don't see a
/proc/devices file.
Diffstat (limited to 'lvm.py')
-rw-r--r-- | lvm.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ def has_lvm(): if not (os.access("/usr/sbin/lvm", os.X_OK) or os.access("/sbin/lvm", os.X_OK)): return + + if iutil.getArch() == "s390" and not os.access("/proc/devices", os.R_OK): + return f = open("/proc/devices", "r") lines = f.readlines() |