[OE-core] opkg-make-index cache failing

Richard Purdie richard.purdie at linuxfoundation.org
Fri Nov 25 16:53:38 UTC 2011


On Fri, 2011-11-25 at 16:38 +0100, Koen Kooi wrote:
> In OE-classic the opkg-make-index cache was working pretty well,
> do_rootfs only spent a few seconds doing opkg-make-index on
> incremental builds. In the OE-core world the situation is different,
> opkg-make-index will reindex every package on each do_rootfs run, so
> after a while building images starts taking *really* long, on my
> systemd (work/ on ssd, deploy on rotating media) it now takes
> ±7minutes just do refresh the opkg indices.
> 
> Since I can't blame sstate for this I suspect that pseudo gets in the
> way of the naive caching logic. Is there a simple way to turn off
> pseudo when running opkg-make-index?

You could try:

PSEUDO_DISABLED=1 opkg-make-index

or even

PSEUDO_UNLOAD=1 opkg-make-index

although the latter is a sledge hammer to crack a nut approach...

Cheers,

Richard





More information about the Openembedded-core mailing list