[yocto] Recipe to Copy JAR files, not extract it

Robert P. J. Day rpjday at crashcourse.ca
Wed Jun 18 09:10:45 PDT 2014


On Wed, 18 Jun 2014, Paul Eggleton wrote:

> Hi Laurent,
>
> On Wednesday 18 June 2014 15:32:17 Laurent d'Havé wrote:
> > Hello
> > In a recipe i'm writing, i need to simply copy a .jar file.
> > Since it's specified in SRC_URI , bitbake extracts it, making WORKDIR a
> > complete mess, and makes it impossible to copy the .jar file to destination.
> >
> >
> > How would i go about simply copying it ? Anyway to tell bitbake NOT to
> > extract content of it ?
>
> if you add ;unpack=0 to the end of the entry for the jar file within SRC_URI,
> it should prevent it from being unpacked.
>
> (I see we don't have this documented anywhere, I will add it to the
> documentation todo list.)

  it's mentioned in Section 4.2 of the bitbake user manual.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the yocto mailing list