On 20/11/2019 09:33, Jean-Marie LEMETAYER wrote:
+python do_fetch_append() {
+ """
+ Fetch all dependencies tarball to DL_DIR.
+ """
+ bb.fetch2.npm.fetch_dependencies(d)
+}
+
+python do_unpack_append() {
+ """
+ Unpack all dependencies tarball to the 'node_modules' directory and add
+ them to the npm cache. The dependencies needs to be unpacked to have
+ access to the licenses files checksum feature (LIC_FILES_CHKSUM). They
+ also have to be in the cache to properly execute the 'npm install'.
+ """
+ bb.fetch2.npm.unpack_dependencies(d)
+}
I'd say that appends are a little ugly for introduction of core
behaviour, maybe using do_fetch[postfuncs] would be neater.
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core