[yocto] Creating a file within a recipe

Aaron Biver aaron.biver at gmail.com
Fri Jun 28 12:57:51 PDT 2019


That seems to work.  Thanks!

On Fri, Jun 28, 2019 at 3:53 PM Burton, Ross <ross.burton at intel.com> wrote:

> 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.biver at 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 at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190628/71e53160/attachment.html>


More information about the yocto mailing list