[elrepo] Package for detecting hardware?
Joe Pruett
joey at q7.com
Fri Jun 28 09:58:54 EDT 2013
On 2013-06-28 05:55, Phil Perry wrote:
> On 25/06/13 15:27, David Carollo wrote:
>> I have done a semester of perl scripting, so I shall try my best.
>> On Jun 25, 2013 6:24 AM, "Ljubomir Ljubojevic" <centos at plnet.rs> wrote:
>>
>
> Yes, this would make a very nice little project for someone willing to
> undertake it. At a fundamental level, I guess it's simply a case of
> parsing each device against a list of device IDs from a list of
> supported devices for each driver.
>
i'd suggest looking at how dell does their firmware update stuff. my
basic understanding is that they attach aliases (or maybe it is done via
provides entries) for device ids to the appropriate packages. then you
can do things like:
yum install `bootstrap_firmware`
and bootstrap_firmware spits out things like:
pci_firmware(ven_0x8086_dev_0x3c04)/system(ven_0x1028_dev_0x04ce)
pci_firmware(ven_0x8086_dev_0x3c04)
pci_firmware(ven_0x8086_dev_0x3c06)/system(ven_0x1028_dev_0x04ce)
pci_firmware(ven_0x8086_dev_0x3c06)
pci_firmware(ven_0x1912_dev_0x0013)/system(ven_0x1028_dev_0x04ce)
pci_firmware(ven_0x1912_dev_0x0013)
which magically finds the right packages. that seems like a rather nice
way to do things.
More information about the elrepo
mailing list