[yocto] building yocto image from git always switches branch

Volker Vogelhuber v.vogelhuber at digitalendoscopy.de
Fri Mar 15 02:02:23 PDT 2013


Volker Vogelhuber <v.vogelhuber at ...> writes:

> When I change to the build directory and start building the image using 
> bitbake, there seems to be a git call somewhere in the recipes that 
> switches the branch of the poky git checkout back to master. Of course 
> that results in a total misbehaviour of the build process, as the 
> underlaying recipes changes during the build.
It turned out, my own kernel recipe included 
recipes-kernel/linux/linux-yocto.inc 
which seems to require that the kernel is checked out from a git
repository. After removing this include and only inherit from 
kernel.bbclass it worked as expected.





More information about the yocto mailing list