[yocto] SVN based AUTOREV detection?

allen.curtis at curtisembedded.com allen.curtis at curtisembedded.com
Sun Nov 8 15:34:49 PST 2015


>> Is there a way to use the feature during development when you are
>> working off trunk/HEAD?
>>
>> This doesn't work (obviously). Is it possible to pull the HEAD version
>> in the recipe?
>>
>> -------------------
>> PR = "r0"
>> PV = "0.1+svn${SRCPV}"
>>
>> SRCREV = "${AUTOREV}"
>>
>> SRC_URI =
>> "svn://project/trunk;module=libproject;protocol=svn+ssh;rev=HEAD;subdir=svn"
>
> try to drop rev=HEAD, setting SRCREV should be enough.
>

Thanks Martin,

That was too easy. I was under the impression that you had to specify  
the revision in the SRC_URI.






More information about the yocto mailing list