summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/npm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py
index 761c2e0e73..457043f304 100644
--- a/bitbake/lib/bb/fetch2/npm.py
+++ b/bitbake/lib/bb/fetch2/npm.py
@@ -108,7 +108,7 @@ class Npm(FetchMethod):
108 file = data[pkg]['tgz'] 108 file = data[pkg]['tgz']
109 logger.debug(2, "file to extract is %s" % file) 109 logger.debug(2, "file to extract is %s" % file)
110 if file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'): 110 if file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'):
111 cmd = 'tar xz --strip 1 --no-same-owner -f %s/%s' % (dldir, file) 111 cmd = 'tar xz --strip 1 --no-same-owner --warning=no-unknown-keyword -f %s/%s' % (dldir, file)
112 else: 112 else:
113 bb.fatal("NPM package %s downloaded not a tarball!" % file) 113 bb.fatal("NPM package %s downloaded not a tarball!" % file)
114 114