diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-02-13 15:58:10 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-16 09:13:06 +0000 |
commit | 62e171b72180bc9aab0e5ffb70e2aa2919c0d132 (patch) | |
tree | 798a0ac53f15e95f473b03e8a63cdf783dd8eb01 /meta-yocto/classes | |
parent | 309d92efde484eb8747d40cd32330f5775fd9284 (diff) | |
download | poky-62e171b72180bc9aab0e5ffb70e2aa2919c0d132.tar.gz |
bitbake: fetch2: wget add _check_latest_version_by_dir
Add _check_latest_version_by_dir this function provides support
for scan every directory newer than current dir in order to get
latest_versionstring, example:
http://somedoamin.com/project/v2.1/
http://somedoamin.com/project/v3.0/
Change return of _vercmp from True/False to -1/0/1 to provide test
when current directory is equal to newer directory this helps to
scan the same directory to get minor versions, example:
http://somedoamin.com/project/v2.1/project-v2.1.2.tgz
http://somedoamin.com/project/v2.1/project-v2.1.6.tgz
(Bitbake rev: 5f7c5eb218a221165f59a0f4dd48d2d97f756193)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/classes')
0 files changed, 0 insertions, 0 deletions