[Patch] Speed up /usr/lib/vdr/plugin-loader.sh by a factor of 15

Tobias Grimm tobias.grimm at e-tobi.net
Sun Apr 6 14:09:37 UTC 2008


Hello!

Michael Burian wrote:
> 1. use the cached result of the last dpkg -S run if it exists and is up
> to date
>
> 2. else run the regular dpkg -S based version and cache it's result.

Thanks!

Haven't tested it yet, but the cache files should not be created in the
PLUGIN_DIR. /usr/* might be read-only. A better place would be
/var/cache/vdr/. Can you change and test this please?

bye,

Tobias


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20080406/6f5ef547/attachment.pgp 


More information about the pkg-vdr-dvb-devel mailing list