[yocto] building yocto image from git always switches branch

Bruce Ashfield bruce.ashfield at windriver.com
Fri Mar 15 07:34:15 PDT 2013


On 13-03-15 02:02 AM, Volker Vogelhuber wrote:
> 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.

Interesting. Are you working out of yocto/oe-core master ? The linux
yocto kernel support should always fail if the kernel source dir
isn't a git repo (or convert it into one) and not impact the main
yocto/oe-core tree.

Cheers,

Bruce

>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>




More information about the yocto mailing list