Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Disable iscsi on s390x (#703135). (http://www.linux-archive.org/debian-development/524053-disable-iscsi-s390x-703135-a.html)

Ales Kozumplik 05-09-2011 01:30 PM

Disable iscsi on s390x (#703135).
 
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Ales Kozumplik 05-09-2011 01:30 PM

Disable iscsi on s390x (#703135).
 
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Martin Gracik 05-09-2011 02:24 PM

Disable iscsi on s390x (#703135).
 
ack

--

Martin Gracik

----- Original Message -----
> 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@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

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


All times are GMT. The time now is 06:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.