diff options
author | Mike Looijmans <milo-software@users.sourceforge.net> | 2015-05-22 08:29:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-24 07:20:56 +0100 |
commit | 5170177719a93a69cc6c7c1218b3f26eed82d6e0 (patch) | |
tree | 620a703056494fc50847cb98d20184f9d5fc450c /bitbake/lib/bb/taskdata.py | |
parent | f03e108fb15aae76d4b6258658e6d540540214f2 (diff) | |
download | poky-5170177719a93a69cc6c7c1218b3f26eed82d6e0.tar.gz |
bitbake: fetch2/git.py: Add gitpkgv_revision alternative version information
gitpkgv_revision returns a sortable revision number that can be used
in the PKGV variable for example. To mimic meta-openembedded gitpkgv
behaviour to provide a sortable revision numner, one could set the
following:
PKGV = "1.0+${@bb.fetch2.get_srcrev(d, 'gitpkgv_revision')}"
This would yield a package version like "1.0+69+fb5eb80".
(Bitbake rev: 989c08f62aff7b707c25c692c23284f16506b7bc)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
0 files changed, 0 insertions, 0 deletions