Reputation: 187
In yocto recipe I fetch from git repo and build package, but I am interested in GIT revision number which yocto used to build package. How I can get it? Does SRCREV and SRCPV can help? Thanks.
Upvotes: 1
Views: 3910
Reputation: 16213
Finally, for those recipes fetched from a version control system (e.g., Git), a file exists that lists source revisions that are specified in the recipe and lists the actual revisions used during the build. Listed and actual revisions might differ when
SRCREV
is set to${AUTOREV}
. Here is an example assumingbuildhistory/packages/qemux86-poky-linux/linux-yocto/latest_srcrev
):[...]
Emphasis mine
Upvotes: 1