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 ?
Looks like you found an phosphor-webui openbmc recipe issue.
The text "Attempting to disable network" comes from here which was changed 8 days ago by this. So lets check upstream to see if there is a fix in review. I don't see any changes to open bmc recipes here
You should be able to do one of three things
git checkout ca2f10c
d.setVar(network, "true")
in the recipe file. (if that works send in a patch)Discord and eMail are the perfered ways of reaching out to the openbmc community. Let us know how it goes and if you have anymore issues.