[yocto] Fetch from git every bitbake

Mauro Ziliani mauro at faresoftware.it
Fri Jan 18 09:19:58 PST 2019


I try BB_SRCREV_POLICY in conf/local.conf

First I try

BB_SRCREV_POLICY := "clear"


Then I try

BB_SCREV_POLICY_pn-app := "clear"


app_1.0.bb is the recipe with


SRCREV="${AUTOREV}"

SRC_URI += " \

    file://git@sourcer/app.git \

"


I'm working with a mixed version of Krogoth/Jethro.


Any Idea?



Il 18/01/19 15:00, Mauro Ziliani ha scritto:
> I try AUTOREV in the recipe app_1.0.bb
>
>
> SRCREV := "${AUTOREV}"
>
> But it doesn't work.
>
> Which other variables could inhibit AUTOREV?
>
>
> MZ
>
> Il 17/01/19 15:09, Burton, Ross ha scritto:
>> Look up AUTOREV in the manual, that does exactly what you want.
>>
>> Ross
>>
>> On Thu, 17 Jan 2019 at 14:08, Mauro Ziliani <mauro at faresoftware.it> wrote:
>>> Hi all.
>>>
>>> How can I force the pull from git repository of my app every time I do
>>>
>>> bitbake app
>>>
>>>
>>> Best regards,
>>>
>>>    MZ
>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list