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

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 18 09:06:31 PDT 2014


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.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list