2007/10/10, Jeff Johnson <[EMAIL PROTECTED]>: > If you really want dependencies on hardware, then /sys or /proc file > info > should be directly mapped into a run-time dependency probe as a > Provides:. > E.g. The contents of /proc/modules might be used to satisfy a > Requires: procmodules(bluetooth) > for systems actually using bluetooth. And the dependency can be made > "soft" by specifying as > Requires(hint): procmodules(bluetooth)
The idea is the other way around: for given hardware find all relevant packages (kernel-net-* for example) that provide support for the hardware. So each kernel module Provides the modaliases for supported hardware and poldek can ask "which module handles my obscure wifi card with modprobe id XXXXXXX?" -- Patryk Zawadzki Generated Content _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
