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

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

 



On 03/09/2009 09:38 AM, Jeremy Katz wrote:
On Monday, March 09 2009, David Cantrell said:
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.

libsmbios is only going to tell us things that can be gathered from the
smbios, which is only present on x86-like machines.  Sadly, most of the
"weird" is non-x86 :(

And for the things that libsmbios can tell us, I think we can get all of
it from hal as well as properties of system.computer.(...)

Yeah, probably so. I was surprised at libsmbios returning something useful to me. However, I'd never really bothered looking at what it could do.

Oh well, too good to be true.

--
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