diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-03-07 17:27:37 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-07 17:23:03 +0000 |
commit | a54cebe92952953f7ae213101e72cbda4e263b39 (patch) | |
tree | 31755148068d04ff3b99abf18f7b9f1eca1bfc0c /bitbake/lib | |
parent | 0cd1be1f09cd5c4e02f1d57c910c5448510135ee (diff) | |
download | poky-a54cebe92952953f7ae213101e72cbda4e263b39.tar.gz |
bitbake: fetch2/npm: ignore unknown headers in tarballs
Tarballs that are fetched down via npm repositories seem to often have
unknown headers. This doesn't affect our ability to extract the contents
though so we don't really care to see those warnings.
(Bitbake rev: b38975103e52a0c25e9ad9032c8cca1c47cbdcc2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/npm.py | 2 |
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 | ||