2024-04-27 10:26 PM
I had an error while building the image. I didn’t try to figure out why and why it was necessary to turn off the network. I just removed the entire function. After that everything build together.
https://github.com/karu2003/stm32mp1_note
openembedded-core/bitbake/lib/bb/utils.py
def disable_network(uid=None, gid=None): """ Disable networking in the current process if the kernel supports it, else just return after logging to debug. To do this we need to create a new user namespace, then map back to the original uid/gid. """ return
2024-05-03 05:17 AM
Hi @karu2003 ,
Can you share logs from the initial issue ?
Thanks
Olivier
2024-05-03 08:32 AM
I did this.
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package
Both in Docker and directly to the host, same error.
2024-05-05 11:18 PM
Hi @karu2003
The network error when building your image may come from side-effects from a proxy.
Before building your image, try to run the command:
PC $> BB_NO_NETWORK=1 bitbake -s
Then, run your command to build your image.
Best regards,
--JM