[oe-commits] [openembedded-core] 03/116: base: Add nodejs-native dependency for npm:// urls

git at git.openembedded.org git at git.openembedded.org
Sun Feb 28 11:28:49 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 500c432419739e2be247d6feea3f4d85eb7ddfd0
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Feb 26 17:53:04 2016 +0000

    base: Add nodejs-native dependency for npm:// urls
    
    With the addition of the npm fetcher, we add the native dependency
    handling too.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/base.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 1372f38..e066dc9 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -577,6 +577,9 @@ python () {
         elif scheme == "osc":
             d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot')
 
+        elif scheme == "npm":
+            d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_populate_sysroot')
+
         # *.lz4 should DEPEND on lz4-native for unpacking
         if path.endswith('.lz4'):
             d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list