[yocto] Herp-a-Derp Alert: Changes to SRCREV Unpack Wrong Version

Burton, Ross ross.burton at intel.com
Wed Sep 24 15:14:48 PDT 2014


On 24 September 2014 23:04, Leo Schwab <lschwab at sensity.com> wrote:
> We have written recipes for various goodies -- both .bb and .bbappend forms
> -- where SRC_URI points to a Git repository, and SRCREV names a commit ID
> (not a tag or a branch name).  When we update the SRCREV to something newer,
> 'bitbake' goes through the motions of rebuilding the recipe but, when we
> look at the result, the thing it built is still the old revision.  This is
> confirmed when we look at the file 'log.do_unpack' in the build directory,
> where it is clearly checking out the wrong commit ID.

I've never seen this before and there's many git-based recipes in
oe-core that the fetcher appears to be working for.  Can you replicate
this behaviour with a minimal recipe that you could share?

Ross



More information about the yocto mailing list