summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 68ebf8b8d2..0f9c643695 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1407,6 +1407,10 @@ class FetchMethod(object):
1407 cmd = 'rpm2cpio.sh %s | cpio -id' % (file) 1407 cmd = 'rpm2cpio.sh %s | cpio -id' % (file)
1408 elif file.endswith('.deb') or file.endswith('.ipk'): 1408 elif file.endswith('.deb') or file.endswith('.ipk'):
1409 cmd = 'ar -p %s data.tar.gz | zcat | tar --no-same-owner -xpf -' % file 1409 cmd = 'ar -p %s data.tar.gz | zcat | tar --no-same-owner -xpf -' % file
1410 elif file.endswith('.tar.7z'):
1411 cmd = '7z x -so %s | tar xf - ' % file
1412 elif file.endswith('.7z'):
1413 cmd = '7za x -y %s 1>/dev/null' % file
1410 1414
1411 if not unpack or not cmd: 1415 if not unpack or not cmd:
1412 # If file == dest, then avoid any copies, as we already put the file into dest! 1416 # If file == dest, then avoid any copies, as we already put the file into dest!