[yocto] Download git source not the latest

JH jupiter.hce at gmail.com
Thu Jun 13 03:56:57 PDT 2019


I set up for my release version which is nothing to do with the git
source, how could I link the PV to autorev?

VERSION_MAJOR = "1"
VERSION_MINOR = "0"
VERSION_BUILD = "0"
PV = "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_BUILD}"

Thanks Richard,

- jupiter

On 6/12/19, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
> On Tue, 2019-06-11 at 20:38 +1000, JH wrote:
>> Hi,
>>
>> I set up SRCREV = "${AUTOREV}" in the recipe of my application, but
>> too often it downloaded the old revision. How can I force the bitbake
>> to download the latest git source?
>
> What did you set PV to?
>
> You need to have SRCPV in PV for autorev to work properly.
>
> Regards,
>
> Richard
>
>


More information about the yocto mailing list