[yocto] Recipe to Copy JAR files, not extract it
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Jun 18 09:09:43 PDT 2014
On Wednesday 18 June 2014 17:06:31 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.)
Actually, I was mistaken - it is mentioned in the reference manual:
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-SRC_URI
(FWIW, I'm happy to answer questions even if they are covered by
the manual, this is just an aside ;)
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list