diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-02-21 13:36:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 11:16:07 +0000 |
commit | 8dd99c15af88a1c52b28347c85d443ae6b1f678d (patch) | |
tree | d9b51689da2f458c1ed24cd5b96df56b51a178a5 /bitbake/lib/bb | |
parent | 7b75bf85059f0d4fc873b27d31ff17eb97815db9 (diff) | |
download | poky-8dd99c15af88a1c52b28347c85d443ae6b1f678d.tar.gz |
bitbake: wget.py: match .lz tarballs as well when determining latest version
(Bitbake rev: c55e09fbd2b64a2b909d9992350b6b2e26e5e86d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 737b98dd03..1cc445a426 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -547,7 +547,7 @@ class Wget(FetchMethod): | |||
547 | 547 | ||
548 | # src.rpm extension was added only for rpm package. Can be removed if the rpm | 548 | # src.rpm extension was added only for rpm package. Can be removed if the rpm |
549 | # packaged will always be considered as having to be manually upgraded | 549 | # packaged will always be considered as having to be manually upgraded |
550 | psuffix_regex = "(tar\.gz|tgz|tar\.bz2|zip|xz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)" | 550 | psuffix_regex = "(tar\.gz|tgz|tar\.bz2|zip|xz|tar\.lz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)" |
551 | 551 | ||
552 | # match name, version and archive type of a package | 552 | # match name, version and archive type of a package |
553 | package_regex_comp = re.compile("(?P<name>%s?\.?v?)(?P<pver>%s)(?P<arch>%s)?[\.-](?P<type>%s$)" | 553 | package_regex_comp = re.compile("(?P<name>%s?\.?v?)(?P<pver>%s)(?P<arch>%s)?[\.-](?P<type>%s$)" |