Re: spin kickstart/minimization cleanups

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

 



On Wed, 2010-04-21 at 09:40 -0400, Colin Walters wrote:

> This looks like a good start.  I think the way this kind of thing
> should work in general is that the system detects if you have the
> hardware, and dynamically installs support for it.  We'd need some
> database mapping things like USB ids to packages.

When doing this, please do the obvious thing and store the match
information in modalias format:

atropine:~% modinfo appledisplay | grep alias
alias:          usb:v05ACp921Dd*dc*dsc*dp*ic03isc*ip00*
alias:          usb:v05ACp9219d*dc*dsc*dp*ic03isc*ip00*
alias:          usb:v05ACp9218d*dc*dsc*dp*ic03isc*ip00*

system-config-display uses .xinf files in basically this format (tuple
of (alias, driver) one per line) to match video devices to drivers.  It
works well, which is probably the only thing in s-c-d you can say that
about.  Sample python code to do the match (please steal):

http://git.fedorahosted.org/git/?p=system-config-display.git;a=blob;f=src/alias.py;h=c81a7f4653f037e218a6dc449e135f3a93747e62;hb=HEAD

Ideally we work out a way to jam this into rpm Provides.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux