How to build Yocto Offline by disabling network access
Sometimes, we may have a requirement to build Yocto Offline, this can happen due to various reasons:
1. No Internet Connection
2. Poor Download Speed
3. Firewall issues in Companies
The process is to get all the required packages for a particular image passing "fetchall" to bitbake for a particular image you are going to build
bitbake -c fetchall core-image-minimal
Once all the packages have been downloaded, you can disable the network access by updating the local.conf file with the following:
BB_NO_NETWORK = "1"
1. No Internet Connection
2. Poor Download Speed
3. Firewall issues in Companies
The process is to get all the required packages for a particular image passing "fetchall" to bitbake for a particular image you are going to build
bitbake -c fetchall core-image-minimal
Once all the packages have been downloaded, you can disable the network access by updating the local.conf file with the following:
BB_NO_NETWORK = "1"
Comments
Post a Comment