[rhel5-branch] Disable iscsi on s390x (#703135).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



iscsi-initiator-utils exist for s390x now, but Anaconda doesn't support it.
---
 iscsi.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/iscsi.py b/iscsi.py
index 1f80600..9cb42e6 100644
--- a/iscsi.py
+++ b/iscsi.py
@@ -22,6 +22,7 @@ import time
 import md5, random
 log = logging.getLogger("anaconda")
 
+import rhpl
 from rhpl.translate import _, N_
 
 has_libiscsi = True
@@ -44,7 +45,7 @@ def find_iscsi_files():
 
 def has_iscsi():
     find_iscsi_files()
-    if ISCSID == "" or not has_libiscsi:
+    if ISCSID == "" or not has_libiscsi or rhpl.getArch() in ("s390", "s390x"):
         return False
 
     log.info("ISCSID is %s" % (ISCSID,))
-- 
1.7.3.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux