[yocto] do_fetch_append: syntax error

Damien LEFEVRE lefevre.da at gmail.com
Tue Oct 1 01:35:21 PDT 2019


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.

Thanks,
-Damien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191001/f162cdbc/attachment-0001.html>


More information about the yocto mailing list