[yocto] SRCPV and SRC_URI

Ayoub Zaki ayoub.zaki at embexus.com
Fri Jun 2 15:34:09 PDT 2017



On 03.06.2017 00:26, Russell Peterson wrote:
> Hello,
>
> I’m writing a new recipe and doing something I think should be simple 
> but instead causes an exception when expanding SRCPV.
>
> SRCREV = “xxxxxxxxxxxx”
> SRC_URI = “git://abc.com/xyz.git”
> PV = “1.2+git${SRCPV}
>
> The above works fine.  Problem is, when I add a patch I get an 
> exception when expanding SRCPV!?
>
> SRC_URI_append = “file://myfile.patch <file:///myfile.patch>”

Try with a space right after the first double quote :
SRC_URI_append = “file://myfile.patch”
>
> Adding that simple append line breaks my recipe.
>
> Any clues?  Seems simple but no.  I see countless other recipes that 
> do this.
>
> Regards,
>
> Russell
>
>
>

-- 

Ayoub Zaki

ayoub.zaki at embexus.com
Mobile: +49(0)176-62901545
https://embexus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170603/b92e9f3c/attachment.html>


More information about the yocto mailing list