FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 05-09-2011, 01:30 PM
Ales Kozumplik
 
Default 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
 
Old 05-09-2011, 01:30 PM
Ales Kozumplik
 
Default 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
 
Old 05-09-2011, 02:24 PM
Martin Gracik
 
Default 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
 

Thread Tools




All times are GMT. The time now is 05:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org