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 (#48746): https://lists.yoctoproject.org/g/yocto/message/48746
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