summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index a713418317..ea5287406d 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -950,11 +950,11 @@ class FetchMethod(object):
950 elif file.endswith('.rpm') or file.endswith('.srpm'): 950 elif file.endswith('.rpm') or file.endswith('.srpm'):
951 if 'extract' in urldata.parm: 951 if 'extract' in urldata.parm:
952 unpack_file = urldata.parm.get('extract') 952 unpack_file = urldata.parm.get('extract')
953 cmd = 'rpm2cpio.sh %s | cpio -i %s' % (file, unpack_file) 953 cmd = 'rpm2cpio.sh %s | cpio -id %s' % (file, unpack_file)
954 iterate = True 954 iterate = True
955 iterate_file = unpack_file 955 iterate_file = unpack_file
956 else: 956 else:
957 cmd = 'rpm2cpio.sh %s | cpio -i' % (file) 957 cmd = 'rpm2cpio.sh %s | cpio -id' % (file)
958 elif file.endswith('.deb') or file.endswith('.ipk'): 958 elif file.endswith('.deb') or file.endswith('.ipk'):
959 cmd = 'ar -p %s data.tar.gz | zcat | tar --no-same-owner -xpf -' % file 959 cmd = 'ar -p %s data.tar.gz | zcat | tar --no-same-owner -xpf -' % file
960 960