cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp157F DK2 yocto error while building the image

karu2003
Associate II

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

 

 

 

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @karu2003 ,

 

Can you share logs from the initial issue ? 

 

Thanks

 

Olivier 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

I did this. 

https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

Both in Docker and directly to the host, same error.

 

Jean-Marc B
ST Employee

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