Red Hat Bugzilla – Bug 217145
Add support to install FC6 on a Maple board
Last modified: 2007-11-30 17:11:49 EST
In addition to the recent changes to the kernel to support the Maple platform
with Fedora there are some changes in rhpl required to correctly detect it.
Following short patch does this:
--- /usr/lib/python2.4/site-packages/rhpl/__init__.py 2005-12-19
+++ __init__.py 2006-11-22 09:05:47.000000000 +0100
@@ -34,7 +34,8 @@
'Shiner' : 'ANS',
'BRIQ' : 'BRIQ',
'Teron' : 'Teron',
- 'AmigaOne' : 'Teron'
+ 'AmigaOne' : 'Teron',
+ 'Maple' : 'pSeries'
if getArch() != "ppc":
@@ -49,6 +50,12 @@
if machine is None:
+ for line in lines:
+ if line.find('platform') != -1:
+ machine = line.split(':')
+ if machine is None:
for type in ppcType.items():
The problem on the Maple platform is that in /proc/cpuinfo the line with
"machine" does not exists. Therefore this patch is also looking at the
"platform" line where it says "Maple".
Adrian - does this patch from ydl work for you? I slightly prefer their method
Created attachment 142068 [details]
I think the best method is to use the mapping to pSeries as in your patch and
the modification to check both machine or platform from ydl patch. This means
we don't have to add additional conditions on if Maple as it's functionally
Can you confirm this works as I don't have a Maple board.
Patch looks like it should work. I will verify it sometimes next week and will
let you know.
Patch verified and it works perfectly.