diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-02 17:57:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-05 10:37:12 +0000 |
commit | d427f58977a46f2bda4b7f30cf83793373e401d3 (patch) | |
tree | 4733e08fa5555028ea39013c53530508973e21c0 /meta/classes | |
parent | 077c26dc59b0a6651172ea8ea9d23d30fcb687f1 (diff) | |
download | poky-d427f58977a46f2bda4b7f30cf83793373e401d3.tar.gz |
bitbake: fetch2: Ensure cached url data is matched to a datastore
There was a weird error in OE-Core where "devtool modify virtual/kernel"
was showing basehash mismatch errors. This was due to SRCPV sometimes being:
AUTOINC+b867b78b50_47b80ef7bd and sometimes AUTOINC+b867b78b50_255a750d28.
The latter hash comes from KBRANCH and meant sometimes the correct branch
was seen, sometimes it was not. The issue was complicated by the execution
using a remote datastore over tinfoil.
The problem turns out to be a fetcher caching error. If the datastore
changes, the cached url data may not be valid.
We therefore ensure we match cached url data against the datastore that
generated it, which appears to fix this issue.
(Bitbake rev: 0540abd338ed2ffd822edbd2947cab2f18873422)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions