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@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')
On Wed, 2012-10-24 at 15:36 -0400, nacc@linux.vnet.ibm.com wrote:
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@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')
Looks good to me. Mark, could you please review the patch and push it if it seems okay to you?
anaconda-patches@lists.fedorahosted.org