[yocto] Enabling shared state mirrors

McClintock Matthew-B29882 B29882 at freescale.com
Mon Jan 14 09:09:12 PST 2013


On Fri, Jan 11, 2013 at 4:06 PM, Thornburg, Christopher A
<christopher.a.thornburg at intel.com> wrote:
> 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"
>
>
>
> …and yet bitbake insists on rebuilding everything every time. I had this
> working yesterday, and today it fails again.
>
>
>
> Any suggestions?

Try running with bitbake -DDD and look for SState: messages. It will
tell you the command used to test for sstate on the mirror and if it
failed/passed.

-M



More information about the yocto mailing list