[yocto] Yocto not fetching unzip

Khem Raj raj.khem at gmail.com
Fri Jun 15 14:39:00 PDT 2018


Hi Jonas

On 6/11/18 6:33 AM, Maas, Jonas wrote:
> Hello everyone,
> 
>  
> 
> I am experiencing an issue with yocto-2.1.2:
> 
> I am trying to prefetch all needed sources for a certain image, let’s
> say “my-image”, by calling:
> 
>  
> 
> $ bitbake -c fetchall my-image
> 
>  
> 
> Next I am archiving the whole Yocto system (including the downloads
> directory) to a tar.gz file and unpack it on another system.
> 
> Now when I set BB_NO_NETWORK=”1” in the local.conf and try to build using
> 
>  
> 
> $ bitbake my-image
> 
>  

I you built image on the machine where fetchall was done, do you see it
building unzip ?

> 
> the package “unzip” is missing. I can fetch it manually by temporarily
> switching to online build an calling
> 
>  
> 
> $ bitbake -c fetch unzip
> 
>  
> 
> However I want to be able to build completely from the generated tar.gz.
> 
>  
> 
> Is this a bug in Yocto or intended behavior? If it is intended: Is there
> a proper setting to solve this or do I have to fetch unzip manually
> bevor packing the archive?
> 
> Thanks in advance!
> 
>  
> 
>  
> 
> Kind regards,
> 
>  
> 
> Jonas
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180615/3714a2c0/attachment.pgp>


More information about the yocto mailing list