From: Ryan <rya...@ut...> - 2013-07-10 14:32:52
|
I'm attempting to create a frozen build environment at work that doesn't require fetching any of the source code from the internet. We need to be able to recreate the same image repetitively, so we cannot rely on fetching sources from various websites that may not exist at some point in the future. >From what I understand, if I preserve the build/downloads directory, then none of the recipes should need to be fetched from the internet because they will be stored in that directory. I'm trying to avoid preserving the build/tmp directory because it becomes so large (~30 GB at the end of a successful build). So what I've done is saved the poky directory along with the build/downloads directory. Then, I'm kicking off the build on a development machine with the network cable unplugged. All of the recipes seem to be fetching fine from the build/downloads directory except the recipes that fetch source code from git repositories. It seems like all the git repositories are preserved in the build/downloads/git2 directory, but for some reason bitbake is trying to fetch from the remote git repositories every time. Is there something special about the way bitbake treats git repositories that I'm missing? How are other people freezing their build environments? I'm using the denzil branch of everything by the way. I would be open to upgrading the bitbake portion of the build environment if it fixes this issue with fetching git repositories... -- View this message in context: http://gumstix.8.x6.nabble.com/Freeze-Build-Remove-Internet-Requirement-tp4967518.html Sent from the Gumstix mailing list archive at Nabble.com. |