Supported hardware info in PLD rpms?

Patryk Zawadzki patrys at pld-linux.org
Wed Oct 10 18:31:04 CEST 2007


2007/10/10, Jeff Johnson <n3npq at mac.com>:
> 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


More information about the pld-devel-en mailing list