Re: [PATCH] Recognize PS3 as a valid machine type (#489263).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm ok with this patch. Random comment for further revising platform.py, perhaps we should start using libsmbios if we can. I played around with the Python module some this weekend and when I did this:

    from libsmbios_c.system_info import get_system_name
    print get_system_name()

I got "MacBook3,1"

I know it won't work for everything, but maybe we can start relying on libsmbios for more things.

On 03/09/2009 09:28 AM, Chris Lumens wrote:
---
  platform.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/platform.py b/platform.py
index 2a765cd..a329094 100644
--- a/platform.py
+++ b/platform.py
@@ -382,7 +382,7 @@ def getPlatform(anaconda):
      elif iutil.isPPC():
          ppcMachine = iutil.getPPCMachine()

-        if ppcMachine == "PMac" and iutil.getPPCMacGen() == "NewWorld":
+        if (ppcMachine == "PMac" and iutil.getPPCMacGen() == "NewWorld") or ppcMachine == "PS3":
              return NewWorldPPC(anaconda)
          elif ppcMachine in ["iSeries", "pSeries"]:
              return IPSeriesPPC(anaconda)


--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux