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 Android<https://aka.ms/ghei36> ________________________________ From: Richard Purdie <richard.pur...@linuxfoundation.org> Sent: Saturday, October 19, 2019 8:04:58 PM To: Abhi Arora <abhiaro...@live.com>; Khem Raj <raj.k...@gmail.com> Cc: yocto@yoctoproject.org <yocto@yoctoproject.org> Subject: Re: [yocto] Reducing the size of the image by optimizing python On Sat, 2019-10-19 at 12:45 +0000, 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? > > Following are the lines in my yocto project which install python > packages. > > IMAGE_INSTALL_append = " \ > python3 \ > python3-core \ > python3-misc \ > python3-async \ > python3-six \ > python3-websockets \ > python3-requests \ > python3-urllib3 \ > python3-chardet \ > python3-websocket-client \ > python3-pyopenssl \ > python3-simplejson \ > python3-cython \ > > Pardon for some stupid questions as I am new to yocto. Take python3-misc out that list as its huge. See if anything breaks, if so, try and install just what you need, not the large "catchall" package. Cheers, Richard
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto