Re: [yocto] Reducing the size of the image by optimizing python

2019-10-19 Thread Abhi Arora
Thanks for the reply. Can you help me which file to modify to prevent downloading certain packages and modules using BAD_RECOMMENDATION? And how to have only pyc files in the final image to improve speed and reduce footprint? Following are the lines in my yocto project which install python

Re: [yocto] Reducing the size of the image by optimizing python

2019-10-19 Thread Abhi Arora
Thank you for being patient. I am unable to find out python3-misc package online. Neither "sudo apt-get install python3-misc" helps me nor "pip install python3-misc". I am a newbie, please help me what kind of package it is and where to find it. I am planning to install it in my host machine

Re: [yocto] Reducing the size of the image by optimizing python

2019-10-19 Thread Richard Purdie
On Sat, 2019-10-19 at 12:45 +, Abhi Arora wrote: > Thanks for the reply. Can you help me which file to modify to prevent > downloading certain packages and modules using BAD_RECOMMENDATION? > > And how to have only pyc files in the final image to improve speed > and reduce footprint? > >

Re: [yocto] Reducing the size of the image by optimizing python

2019-10-19 Thread Abhi Arora
Thanks your for the suggestion. >From where I can find out what modules and packages python3-misc downloads and >installs? I am new to yocto and Don't know where to look for. I tried grep but >didn't help me. And how about optimization using pyc file? Is it doable? Get Outlook for

Re: [yocto] Reducing the size of the image by optimizing python

2019-10-19 Thread richard . purdie
On Sat, 2019-10-19 at 14:55 +, Abhi Arora wrote: > Thanks your for the suggestion. > > From where I can find out what modules and packages python3-misc > downloads and installs? I am new to yocto and Don't know where to > look for. I tried grep but didn't help me. python3-misc is a package.

Re: [yocto] Reducing the size of the image by optimizing python

2019-10-19 Thread Yann Dirson
You can also look at the package dependency graph (see the file generated by bitbake -g) to get a better idea of what pulls what. 2019-10-19 17:10 UTC+02:00, richard.pur...@linuxfoundation.org : > On Sat, 2019-10-19 at 14:55 +, Abhi Arora wrote: >> Thanks your for the suggestion. >> >> From