如何获取 Yocto SRC_URI 修订号?
How to get Yocto SRC_URI revision number?
在 yocto 配方中,我从 git 回购和构建包中获取,但我对 yocto 用于构建包的 GIT 修订号感兴趣。
我怎样才能得到它? SRCREV 和 SRCPV 有帮助吗?
谢谢
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 assuming buildhistory/packages/qemux86-poky-linux/linux-yocto/latest_srcrev
):[...]
强调我的
在 yocto 配方中,我从 git 回购和构建包中获取,但我对 yocto 用于构建包的 GIT 修订号感兴趣。 我怎样才能得到它? SRCREV 和 SRCPV 有帮助吗? 谢谢
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
):[...]
强调我的