I am trying to build openbmc image and my yocto build is failing in phosphor-webui recipe's do compile task. Here is the do compile task
do_compile () {
cd ${S}
rm -rf node_modules
npm --loglevel info --proxy=${http_proxy} --https-proxy=${https_proxy} install
npm run-script build
}
During NPM install, network access is done to download but bitbake seem to disable the network prior to the build process. I can see this in the build log.
DEBUG: Attempting to disable network
DEBUG: SOURCE_DATE_EPOCH: 1636412844
I tried to set BB_NO_NETWORK variable to '0' but this too didnot help.
How to configure bitbake to allow network access during all tasks ?