[yocto] Creating a file within a recipe

Aaron Biver aaron.biver at gmail.com
Fri Jun 28 11:33:48 PDT 2019


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190628/853d4132/attachment-0001.html>


More information about the yocto mailing list