On Tue, Oct 01, 2019 at 11:35:21AM +0300, Damien LEFEVRE wrote:
> Hi,
> 
> I have the following bbappend
> 
> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> SRC_URI += " \
>     file://tegra186_cti_defconfig \
> "
> 
> do_fetch_append(){
>     mv ${WORKDIR}/tegra186_cti_defconfig ${WORKDIR}/defconfig
> }
> 
> For this I get an error:
>   File "autogenerated", line 3
>     mv ${WORKDIR}/tegra186_cti_defconfig ${WORKDIR}/defconfig
>           ^
> SyntaxError: invalid syntax
> 
> Can someone explain why? I get the same in do_fetch_append. Starts working
> with do_configure_append but that's too late in case of rebuild.

do_fetch is python task, you cannot append shell code to it.

-- 
Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to