[yocto] [PATCH 1/1] meta-tlk: fix ignored SRC_URI appends

Mihai Lindner mihaix.lindner at linux.intel.com
Fri Oct 5 02:28:11 PDT 2012


On 2012-10-04 20:51, Paul Eggleton wrote:
> Hi Mihai,
> 
> On Thursday 04 October 2012 20:47:08 Mihai Lindner wrote:
>> Fix SRC_URI appends ignored by meta-cedartrail and meta-crownbay. Used
>> SRC_URI_append instead of SRC_URI.
>> Also placed all variables in an .inc file to be required by all
>> linux-yocto recipes in here, since all versions use the same.
>>
>> [YOCTO #3217]
>>
>> Signed-off-by: Mihai Lindner <mihaix.lindner at linux.intel.com>
>> ---
>>  meta-tlk/recipes-kernel/linux/linux-yocto.inc          | 3 +++
>>  meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend | 7 +------
>>  meta-tlk/recipes-kernel/linux/linux-yocto_3.2.bbappend | 7 +------
>>  meta-tlk/recipes-kernel/linux/linux-yocto_3.4.bbappend | 7 +------
>>  4 files changed, 6 insertions(+), 18 deletions(-)
>>  create mode 100644 meta-tlk/recipes-kernel/linux/linux-yocto.inc
>>
>> diff --git a/meta-tlk/recipes-kernel/linux/linux-yocto.inc
>> b/meta-tlk/recipes-kernel/linux/linux-yocto.inc new file mode 100644
>> index 0000000..96a3adf
>> --- /dev/null
>> +++ b/meta-tlk/recipes-kernel/linux/linux-yocto.inc
>> @@ -0,0 +1,3 @@
>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> +SRC_URI_append += "file://time-limited-kernel.cfg"
> 
> You should use SRC_URI_append = " file://time-limited-kernel.cfg" (note leading 
> space) here. Obviously what you have done does work, but we want to avoid 
> _append += as it can be confusing.
> 
> Cheers,
> Paul
> 
Hi Paul,

Ok, good to know. I will resend.
I was trying to avoid spaces in values and += fitted the description.

Thanks,
-- 
Mihai Lindner



More information about the yocto mailing list