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
========================================================================
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto