diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2016-03-07 15:02:25 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-04-25 17:03:04 +0100 |
commit | 1262cc9fce902d54a52e8e83af3a171846dcfbf3 (patch) | |
tree | c04cff74e2b7ab37ecba9d84f8ac4446eeb86bb5 | |
parent | 098d19684456eceb6bc2cea094b30effa19c37fc (diff) | |
download | sos-1262cc9fce902d54a52e8e83af3a171846dcfbf3.tar.gz |
[s390] Enable on Ubuntu/Debian, and on s390x architecture
All the tools & calls are the same on s390x as on s390. The tools
called are available on Ubuntu/Debian s390x port (and old s390 port).
All of this should also be available on RedHat s390x port.
Tested to work correctly on Ubuntu s390x port.
Closes #789.
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/s390.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py index c7210a09..1d308c34 100644 --- a/sos/plugins/s390.py +++ b/sos/plugins/s390.py @@ -14,10 +14,10 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -from sos.plugins import Plugin, RedHatPlugin +from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class S390(Plugin, RedHatPlugin): +class S390(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): """IBM S/390 """ @@ -27,7 +27,7 @@ class S390(Plugin, RedHatPlugin): # Check for s390 arch goes here def check_enabled(self): - return (self.policy().get_arch() == "s390") + return ("s390" in self.policy().get_arch()) # Gather s390 specific information |