[yocto] SRCREV spec not working for kernel git recipes
Elvis Dowson
elvis.dowson at gmail.com
Sat Jun 23 00:57:52 PDT 2012
Hi Khem,
On Jun 23, 2012, at 11:29 AM, Khem Raj wrote:
>> I found out that if I specify SRCREV_pn-${PN}, it works and picks up the correct commit id, as follows:
>>
>> SRCREV_pn-${PN} = "a5556fb251253ccb674bd22d9703c37f6f8807a8"
>>
>> However, if you simply specifying SRCREV = "a5556fb251253ccb674bd22d9703c37f6f8807a8", it has no effect and it always picks up the latest commit from the git repository.
>>
>> It would be great if someone could please explain why this is so, because I search through the Yocto documentation and it isn't mentioned anywhere. The OE classic way of doing things, it used to pick up the correct commit by just specifying SRCREV. Now I find that you have to specify SRCREV_pn-${PN} to get it to work.
>>
>> Is this documented somewhere?
>
> ?
> can you port bitbake -e virtual/kernel output with and without change
> somewhere ?
The output files are rather large.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SRCREV_pn-.txt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120623/a196839a/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SRCREV.txt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120623/a196839a/attachment-0001.txt>
-------------- next part --------------
BTW, I do not have a PROVIDES += "virtual/kernel" entry in the linux-xilinx kernel recipes. Is that necessary to get SRCREV to work?
Best regards,
Elvis Dowson
More information about the yocto
mailing list