Re: simplest use of SSTATE_MIRRORS?


Andre McCurdy
 

On Mon, Sep 27, 2021 at 9:13 AM Robert P. J. Day <rpjday@...> wrote:

colleague asked me how SSTATE_MIRRORS worked, so i had to check,
followed the section here:

http://docs.yoctoproject.org/overview-manual/concepts.html#shared-state-cache

and in one of own builds, i moved the entire sstate-cache directory
to ~/SSTATE as is, then added the following to my site.conf:

SSTATE_MIRRORS = " \
file://.\* file:///home/rpjday/SSTATE/PATH \
"
The example in local.conf.sample uses file://.* rather than file://.\*

then i removed all of /tmp in my current build, and re-ran my
bitbake command, but it seems to be doing all the standard fetching
and unpacking and so on. what clearly trivial step have i overlooked?

rday

p.s. i checked with "bitbake -e" that that variable seems to have the
correct value. what silliness have i done?


Join openembedded-core@lists.openembedded.org to automatically receive all group messages.