The bash parser does have some bugs, and I think you just found one. Probably easier to have a template on disk in SRC_URI, and sed in the value you want.
Ross On Fri, 28 Jun 2019 at 19:35, Aaron Biver <aaron.bi...@gmail.com> wrote: > > I'd like to be able to create a file using the cat command in a recipe. The > sub-goal is to have the file created somewhere I can actually find it: > > do_create_tebf0808() { > cat > tebf0808.bif <<EOF > all: > { > ${LATEST_TEBF0808_FW} > } > EOF > } > > This fails at the "EOF" line: > ERROR: ParseError at ...firmware.bb:43: unparsed line: 'EOF' > | ETA: --:--:-- > > Maybe sed would work better? > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto