On Fri, Dec 18, 2015 at 01:33:14PM +0100, Florian Festi wrote: > RPM upstream doesn't currently support hardware dependencies. IIRC SuSE > does something like this in zypper/libzypp. They add all pci ids (and > probably USB and may be other sources) as Provides: to the transaction. > They also have an extension to match for Providename patterns. This > allows have drivers Supplement: a range of hardware. > > I couldn't find any docs on a quick web search. No idea if it is still > being used.
Yes, those are still in use. The supplements are of the form: Supplements: modalias(<some_modalias_glob>) or Supplements: modalias(<package>:<some_modalias_glob>) (The version with the package is no longer needed when we support "and" with the new rich deps.) An example is: modalias(xorg-x11-server:pci:v000010DEd*sv*sd*bc03sc*i*) which matches the nouveau modalias on my system. The mechanism is implemented with libsolv's namespace callback. libzypp also supports locale() and filesystem() supplements. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _______________________________________________ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem