[poky] When SRCREV is set to AUTOREV, what triggers (re-)fetching?

Evade Flow evadeflow at gmail.com
Fri Sep 2 11:20:56 PDT 2016


> You don't have BB_SRCREV_POLICY set to cache anywhere do you? It defaults
to clear which is what you want...

Gak! Indeed, this was set in `local.conf`:

```
BB_SRCREV_POLICY = "cache"
```

I just confirmed that this was the source of my problem. After removing
this line, everything works great—thanks!

On Fri, Sep 2, 2016 at 10:35 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> On Fri, 2016-09-02 at 10:08 -0400, Evade Flow wrote:
> > > Add ${SRCPV} to your PV (see various recipes in oe-core for
> > examples), then it’ll know to re-run the tasks when srcrev changes.
> >
> > Thanks for confirming that this is 'supposed' to work, that's great
> > news! Actually, I've already included SRCPV in PV. Here's my recipe,
> > shorn of comments and an uninteresting do_install_append() function:
>
> You don't have BB_SRCREV_POLICY set to cache anywhere do you? It
> defaults to clear which is what you want...
>
> Does "rm tmp/cache -r" 'fix' make it see new revisions? Knowing that
> would at least help track down the kind of problem you're seeing.
>
> What does the full PV look like after expansion? Does it contain an
> older truncated SRCREV ?
>
> Cheers,
>
> Richard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20160902/aaf198d1/attachment.html>


More information about the poky mailing list