Currently bitbakes uri_replace compares "npm://*/*" to "npm://registry.npmjs.org". The lack of the second / causes this to always fail. This results in things like mirror tarballs not functioning. This patch adds in a / to the link generated by npm://registry.npmjs.org.
Signed-off-by: Michael Davis <michael.da...@essvote.com> --- scripts/lib/recipetool/create_npm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index cb8f338..b54f539 100644 --- a/scripts/lib/recipetool/create_npm.py +++ b/scripts/lib/recipetool/create_npm.py @@ -126,7 +126,7 @@ class NpmRecipeHandler(RecipeHandler): for dep, depdata in deplist.items(): version = depdata.get('version', None) if version: - url = 'npm://registry.npmjs.org;name=%s;version=%s;subdir=node_modules/%s' % (dep, version, dep) + url = 'npm://registry.npmjs.org/;name=%s;version=%s;subdir=node_modules/%s' % (dep, version, dep) scriptutils.fetch_uri(d, url, srctree) src_uri.append(url) changed = True -- 2.9.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core