Red Hat Bugzilla – Bug 237413
Detection of Pegasos platform is broken.
Last modified: 2007-11-30 17:12:02 EST
The installer seems to be insisting that I have a PReP partition on my Pegasos
machine. It doesn't need one -- and because it has Amiga partitions, it can't
_have_ one, so the install fails.
Pegasos has this in /proc/cpuinfo:
platform : CHRP
machine : CHRP Pegasos2
IIRC, we used to look at just the 'machine' line -- and because Pegasos was in
the ppcType table before CHRP, it would be correctly identified as Pegasos. But
now we seem to look at whichever comes first out of machine and platform, so
just 'CHRP' is seen, not 'CHRP Pegasos2'.
Created attachment 153249 [details]
Always check machine before platform
This patch makes Pegasos happy again, by always checking the machine line
before platform. I'll test on Maple too...
Patched version still works on PS3 where we have only 'platform' and not
'machine'. I believe that's the case on Maple too, which is why we made the
offending change in the first place. Will test though.