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

Laurent d'Havé ldhave at gmail.com
Wed Jun 18 09:19:23 PDT 2014


Damn , i did RTFM, but that's not the version i was reading.
That'll teach me !


Thanks for quick response, really sorry , for not reading the latest 
version of the manual.


Take care
Laurent

> Paul Eggleton <mailto:paul.eggleton at linux.intel.com>
> 18 June 2014 18:09
>
> 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 <mailto:paul.eggleton at linux.intel.com>
> 18 June 2014 18:06
> Hi Laurent,
>
> 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.)
>
> Cheers,
> Paul
>
> Laurent d'Havé <mailto:ldhave at gmail.com>
> 18 June 2014 15:32
> 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140618/c9c070a9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140618/c9c070a9/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1293 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140618/c9c070a9/attachment-0001.jpg>


More information about the yocto mailing list