Use own MIRRORS for bitbake in Yocto

Hello everybody,
today I’ll quickly show how to replace the default MIRRORS defined in the bitbake configuration (meta/conf/bitbake.conf) without touching it. This can be useful if you have for example no ftp access and you don’t want to change the default bitbake configuration.

Therefore we choose the GNU_MIRROR (which is by default and change it to a non-ftp URL.

To change/replace the MIRROR URL just add and export another definition to conf/local.conf in your build directory. So the change to a non-ftp GNU_MIRROR would look like this:

export GNU_MIRROR = ""

Thanks for reading!

This entry was posted in development, linux, yocto. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s