diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-02-26 14:49:59 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-01 22:13:56 +0000 |
commit | 2f48cb606b0250b5589db78e0d90917c1878fae7 (patch) | |
tree | a8986e6f09e10f9ae4ebefe86c4c74be3e7020e6 /meta/lib/oe | |
parent | 3bb00af9ab3c7271f32d94f8eb627c94b88fa565 (diff) | |
download | poky-2f48cb606b0250b5589db78e0d90917c1878fae7.tar.gz |
lib/oe/recipeutils: add .txz extension to archive list
Prompted by bitbake commit 2ba8a6b25ccc12e7b543e8450121e5311c7a701d,
add .txz to the list of archives used within get_recipe_local_files()
here as well.
(From OE-Core rev: 28466586f4777f11f0a29ed5ebe9734a4e15920e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/recipeutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 4e0859e6d9..aa64553c06 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
@@ -408,7 +408,7 @@ def get_recipe_local_files(d, patches=False, archives=False): | |||
408 | # fetcher) though note that this only encompasses actual container formats | 408 | # fetcher) though note that this only encompasses actual container formats |
409 | # i.e. that can contain multiple files as opposed to those that only | 409 | # i.e. that can contain multiple files as opposed to those that only |
410 | # contain a compressed stream (i.e. .tar.gz as opposed to just .gz) | 410 | # contain a compressed stream (i.e. .tar.gz as opposed to just .gz) |
411 | archive_exts = ['.tar', '.tgz', '.tar.gz', '.tar.Z', '.tbz', '.tbz2', '.tar.bz2', '.tar.xz', '.tar.lz', '.zip', '.jar', '.rpm', '.srpm', '.deb', '.ipk', '.tar.7z', '.7z'] | 411 | archive_exts = ['.tar', '.tgz', '.tar.gz', '.tar.Z', '.tbz', '.tbz2', '.tar.bz2', '.txz', '.tar.xz', '.tar.lz', '.zip', '.jar', '.rpm', '.srpm', '.deb', '.ipk', '.tar.7z', '.7z'] |
412 | ret = {} | 412 | ret = {} |
413 | for uri in uris: | 413 | for uri in uris: |
414 | if fetch.ud[uri].type == 'file': | 414 | if fetch.ud[uri].type == 'file': |