[yocto] SRCPV description
Robert P. J. Day
rpjday at crashcourse.ca
Mon Jan 14 07:28:51 PST 2013
it might be worth tweaking the comment in fetch2/__init__.py, which
currently reads:
def get_srcrev(d):
"""
Return the version string for the current package
(usually to be used as PV)
no, it's primarily used not *as* PV but in the *construction* of PV,
as in:
meta/conf/bitbake.conf:SRCPV = "${@bb.fetch2.get_srcrev(d)}"
...
meta/recipes-bsp/x-load/x-load_git.bb:PV = "1.5.0+git${SRCPV}"
so, pedantically, that routine is used as SRCPV, which is
subsequently used in the final construction of PV. QED.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the yocto
mailing list