[yocto] do_fetch_append: syntax error
Damien LEFEVRE
lefevre.da at gmail.com
Tue Oct 1 02:37:51 PDT 2019
OK understood!
I'll find another way.
Thanks,
-Damien
On Tue, Oct 1, 2019 at 12:13 PM Martin Jansa <martin.jansa at gmail.com> wrote:
> 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.Jansa at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191001/0d3f29a0/attachment-0001.html>
More information about the yocto
mailing list