Why not use SRCREV?
Also, bitbake has its own mailing list.

Denys


On Thu, Mar 12, 2020 at 02:55:59PM +0100, Matthias Schoepfer via 
Lists.Yoctoproject.Org wrote:
> Hi!
> 
> We have noticed the following issue: We keep the versions of out
> software by means of tags on the git repositories, i.e. during the
> build, somethings like git describe --tags gets called. In yocto,
> our recipe of SomeLibrary might look then similar to this:
> 
> SRC_URI = "git://our.private.gitserver.org/git/SomeLibrary.git;tags=v${PV}"
> 
> When we build the image, and *then* apply a tag to HEAD, that was
> already built before, it seems like the tags are not fetched (my
> guess is git fetcher sees that origins HEAD and local HEAD have the
> same hash and is fine with it).
> 
> The error is, that while the correct version is built, it will
> report itself with a wrong version.
> 
> Is this a bug?
> 
> Regards,
> 
>   Matthias
> 
> -- 
> Dr.-Ing. Matthias Schöpfer
> [email protected]

> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48753): https://lists.yoctoproject.org/g/yocto/message/48753
Mute This Topic: https://lists.yoctoproject.org/mt/71902370/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to