summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index f70f1b5157..cb94bf6000 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1424,7 +1424,7 @@ class FetchMethod(object):
1424 cmd = 'gzip -dc %s > %s' % (file, efile) 1424 cmd = 'gzip -dc %s > %s' % (file, efile)
1425 elif file.endswith('.bz2'): 1425 elif file.endswith('.bz2'):
1426 cmd = 'bzip2 -dc %s > %s' % (file, efile) 1426 cmd = 'bzip2 -dc %s > %s' % (file, efile)
1427 elif file.endswith('.tar.xz'): 1427 elif file.endswith('.txz') or file.endswith('.tar.xz'):
1428 cmd = 'xz -dc %s | tar x --no-same-owner -f -' % file 1428 cmd = 'xz -dc %s | tar x --no-same-owner -f -' % file
1429 elif file.endswith('.xz'): 1429 elif file.endswith('.xz'):
1430 cmd = 'xz -dc %s > %s' % (file, efile) 1430 cmd = 'xz -dc %s > %s' % (file, efile)