Re: hardware detection using libpci
Hi,
I made a new version of ddetect with a few changes, even if we don't
go the libdetect way it was instructive to figure out how to make
multiple .udebs conviennently.
I'm now generating 2 udebs which each provide the virtual package
[sound|ethernet]-card-detection:
snddetect_0.0.5_i386.udeb
ethdetect_0.0.5_i386.udeb
Assumption:
We want udebs to be small. Therefore they shouldn't contain anything more
than the bare minimum to accomplish their function. This is against
policy (no manpage, copyright, etc.). For this example
the .udebs contain very little:
$ dpkg -c snddetect_0.0.5_i386.udeb
drwxr-xr-x root/root 0 2000-11-14 20:38:59 ./
drwxr-xr-x root/root 0 2000-11-14 20:38:58 ./usr/
drwxr-xr-x root/root 0 2000-11-14 20:38:59 ./usr/bin/
-rwxr-xr-x root/root 26460 2000-11-14 20:38:59 ./usr/bin/snddetect
Documentation, copyrights etc. will be in another udeb.
The .udebs can be found at:
http://www.gordian.com/users/davidw/debian.html
Comments, critisisms are welcome,
-David
Reply to: