spin kickstart/minimization cleanups

Adam Jackson ajax at redhat.com
Wed Apr 21 14:48:54 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/desktop/attachments/20100421/aab70f7c/attachment.bin 


More information about the desktop mailing list