[Rpm-maint] [rpm-software-management/rpm] Add support for macro-only dependency generators (#1053)
notifications at github.com
Thu Feb 6 09:31:31 UTC 2020
For an example, take a look at kmod.prov (which is actually what inspired this whole thing): the core of it boils down to echoing the basename of the filename back, stripped of suffix. For each, it spawns a shell and runs external utilities. When you consider that the kernel has (tens of) thousands of modules, it adds up.
With the existing kmod.prov script, `find /lib/modules/`uname -r`| ./rpmdeps --provides` (consisting of ~3500 kernel modules) takes around 30s when hot in cache. The macro function version runs under two seconds, which is dominated by the file classifying.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint