summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/parse_py
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2022-05-19 12:05:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-12 08:41:48 +0100
commitc5feaa512036a4c855547c5261c68b0828cf9e16 (patch)
treeeef2c26b6e7e80ccbfa5b04c92b41c9d4664c2c4 /bitbake/lib/bb/parse/parse_py
parentb7d5addf56c7f9d1b7d733cf5c907b0c45be63e5 (diff)
downloadpoky-c5feaa512036a4c855547c5261c68b0828cf9e16.tar.gz
npm: replace 'npm pack' call by 'tar czf'
'npm pack' is a maintainer tool which tries to execute 'prepare' and similar scripts. This fails usually in OE because it requires completely installed 'node_modules'. Earlier nodejs versions supported an undocumented 'ignore-scripts' option. This has been removed in nodejs 16. We could patch 'package.json' and remove the unwanted scripts. But this might complicate local workflows (applying patches) and installed packages will contain the modified 'package.json'. Instead of, package it manually by 'tar czf'. As a sideeffect, 'do_configure' is running much faster now. (From OE-Core rev: 8a83fbca45a74c30265168767a716e1a272df89b) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 68b480d64ffb6750699cc8fa00d2ac0bc6a2e58a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py')
0 files changed, 0 insertions, 0 deletions