[yocto] Enabling shared state mirrors

Thornburg, Christopher A christopher.a.thornburg at intel.com
Fri Jan 11 14:06:39 PST 2013


Struggling to get shared state mirrors to work. I can see files with the same file name (and therefore the same hash) in my mirror and, after a build, in my local sstate cache direcotry. Ala:
/storage/yocto-cache/sstate-toolchain/Ubuntu-10.04/95/sstate-bzip2-native-i686-linux-1.0.6-r5-i686-2-95b6058a3f3f35386c8593e8447c59da_populate-lic.tgz.siginfo
and
<build dir>/sstate-cache/Ubuntu-10.04/95/sstate-bzip2-native-i686-linux-1.0.6-r5-i686-2-95b6058a3f3f35386c8593e8447c59da_populate-lic.tgz.siginfo

bitbake-diffsigs confirms that the signatures match. I have the following in my local.conf:
SSTATE_MIRRORS ?= "\
file://.* file:///storage/yocto-cache/sstate-toolchain/PATH \
file://.* file:///storage/yocto-cache/sstate-kernel/PATH<file:///\\storage\yocto-cache\sstate-kernel\PATH>"

...and yet bitbake insists on rebuilding everything every time. I had this working yesterday, and today it fails again.

Any suggestions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130111/374f333e/attachment.html>


More information about the yocto mailing list