I currently try to create a kernel and rootfs image based on yocto 1.3.
I cloned the poky git repository and switched to danny branch.
For some reason during the bitbake run for creating the image the branch
of my local git repository is always switched to master, which of course
won't match with the other layers I checked out for danny.
Currently I do the following:
#!/bin/bash
if [ ! -e poky ]; then
git clone git://git.yoctoproject.org/poky.git
cd poky
git checkout -b danny remotes/origin/danny
cd ..
fi
if [ ! -e poky/meta-ti ]; then
git clone -b danny git://git.yoctoproject.org/meta-ti poky/meta-ti
fi
After the checkout I copy some configuration files to the build/conf
directory within the poky directory (bblayers.conf, local.conf) and an
additional layer for our specific hardware module.
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.
Can someone explain that behaviour? Is that a bug or is there something
I'm doing wrong.
Kind regards,
Volker
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto