* SRCPV and SRC_URI
@ 2017-06-02 22:26 Russell Peterson
2017-06-02 22:34 ` Ayoub Zaki
0 siblings, 1 reply; 3+ messages in thread
From: Russell Peterson @ 2017-06-02 22:26 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
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 <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>”
Adding that simple append line breaks my recipe.
Any clues? Seems simple but no. I see countless other recipes that do this.
Regards,
Russell
[-- Attachment #2: Type: text/html, Size: 1306 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SRCPV and SRC_URI
2017-06-02 22:26 SRCPV and SRC_URI Russell Peterson
@ 2017-06-02 22:34 ` Ayoub Zaki
2017-06-03 1:09 ` Russell Peterson
0 siblings, 1 reply; 3+ messages in thread
From: Ayoub Zaki @ 2017-06-02 22:34 UTC (permalink / raw)
To: yocto, Russell Peterson
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
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@embexus.com
Mobile: +49(0)176-62901545
https://embexus.com
[-- Attachment #2: Type: text/html, Size: 2543 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SRCPV and SRC_URI
2017-06-02 22:34 ` Ayoub Zaki
@ 2017-06-03 1:09 ` Russell Peterson
0 siblings, 0 replies; 3+ messages in thread
From: Russell Peterson @ 2017-06-03 1:09 UTC (permalink / raw)
To: Ayoub Zaki; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]
Thanks. My recipe was actually using += instead of _append and I tried various combinations using spaces. Not the issue.
The issue turned out to be something about my using patchdir=${S}/x in the file:// statement. I removed the patchdir and no more issues. Wasn’t needed anyway.
Thanks for the response.
Russell
> On Jun 2, 2017, at 6:34 PM, Ayoub Zaki <ayoub.zaki@embexus.com> wrote:
>
>
>
> 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 <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@embexus.com <mailto:ayoub.zaki@embexus.com>
> Mobile: +49(0)176-62901545
> https://embexus.com <https://embexus.com/>
[-- Attachment #2: Type: text/html, Size: 3635 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-03 1:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-02 22:26 SRCPV and SRC_URI Russell Peterson
2017-06-02 22:34 ` Ayoub Zaki
2017-06-03 1:09 ` Russell Peterson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.