[yocto] Working with a git'ed kernel on the server

Bruce Ashfield bruce.ashfield at windriver.com
Tue Mar 11 14:53:04 PDT 2014


On 2014-03-11, 3:22 PM, Andy Ng wrote:
> Thank you,
>
> I've just noticed my bb file has:
>
> SRCREV_pn-${PN} = "${AUTOREV}"
>
> So it should be ok?

That should be all you need.

Bruce

>
>
> On Tue, Mar 11, 2014 at 7:09 PM, Bruce Ashfield
> <bruce.ashfield at windriver.com> wrote:
>> On 14-03-11 03:07 PM, Andy Ng wrote:
>>>
>>> Hello list,
>>>
>>> I have a git'ed kernel on a server. When I do make "push" changes to the
>>> kernel
>>> and then I try bitbake core-image-minimal on my local host, the build
>>> process does not pick up the
>>> changes from the server. I just do bitbake virtual/kernel -c cleanall
>>> to force it to get my latest kernel from the server.
>>>
>>> Is there any way to make the recipe to sync to the server every time i
>>> make a build?
>>
>>
>> Set your SRCREV to ${AUTOREV}, and you'll get what you want.
>>
>> Bruce
>>
>>>
>>> Best regards,
>>> Andy
>>>
>>




More information about the yocto mailing list