mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
externalsrc: Pass through npmsw URIs in SRC_URI
NPM shrinkwrap files need to stay in SRC_URI even when using externalsrc so that npm_do_fetch can run to fetch the required dependencies. (From OE-Core rev: e889cbecf9a1731b199e57d79a14e574398586bb) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7c9c24330c
commit
0098ef07d9
@@ -68,6 +68,7 @@ python () {
|
|||||||
url_data = fetch.ud[url]
|
url_data = fetch.ud[url]
|
||||||
parm = url_data.parm
|
parm = url_data.parm
|
||||||
if (url_data.type == 'file' or
|
if (url_data.type == 'file' or
|
||||||
|
url_data.type == 'npmsw' or
|
||||||
'type' in parm and parm['type'] == 'kmeta'):
|
'type' in parm and parm['type'] == 'kmeta'):
|
||||||
local_srcuri.append(url)
|
local_srcuri.append(url)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user