]> code.ossystems Code Review - openembedded-core.git/commit
classes/npm: restrict the build to be offline
authorJean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Fri, 24 Jan 2020 17:07:32 +0000 (18:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
commit1133f3ab485031df6e107f826b7398e5133f9c4d
treeb7489817e2a0539006c2b2df5acb4a665519d634
parentfb2252ee0777c6d26dea94c7588c323a6b97e961
classes/npm: restrict the build to be offline

After the do_fetch task, every other tasks must not access the network.
In order to ensure this point every npm command must use the offline
configuration. In addition setting an invalid proxy is used as a safety.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/npm.bbclass