[PATCH] Add PowerNV as a recognized PPC platform

nacc at linux.vnet.ibm.com nacc at linux.vnet.ibm.com
Wed Oct 24 19:36:10 UTC 2012


When running a suitable POWER machine in PowerNV mode,
the Platform in /proc/cpuinfo is reported as "PowerNV".
This causes Anaconda to fail the installation due to an
unrecognized platform. Add "PowerNV" as an alias of "pSeries"
for now.

Signed-off-by: Nishanth Aravamudan <nacc at us.ibm.com>

diff --git a/pyanaconda/iutil.py b/pyanaconda/iutil.py
index 730da8c..7e096f5 100644
--- a/pyanaconda/iutil.py
+++ b/pyanaconda/iutil.py
@@ -548,7 +548,8 @@ def getPPCMachine():
                  'Maple'    : 'pSeries',
                  'Cell'     : 'pSeries',
                  'Momentum' : 'pSeries',
-                'PS3'      : 'PS3'
+                'PS3'      : 'PS3',
+                'PowerNV'  : 'pSeries'
                  }

      f = open('/proc/cpuinfo', 'r')



More information about the anaconda-patches mailing list