gcb
gcb

Reputation: 376

Reducing produced Yocto image size by removing python modules

So at the moment in my yocto build I have many python packages that are taking up alot of space that I dont need.

If I take an example, tkinter, I can't see why this is being added. Looking at the toaster log, it has a reverse dependency for python3-modules and a dependency on python3-core

Python3-modules adds so many packages I dont need.

I actually just want to run django Is there a way to remove these packages that I dont need? Seems strange that poky would add them when there are nothing using them.

Upvotes: 1

Views: 1804

Answers (1)

gcb
gcb

Reputation: 376

As vermaete said, removing from https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3/python3-manifest.json#n760 indeed removes the packages. Its a terrible way of doing it as you dont really want to modify anything in poky but it seems thats the only way

Upvotes: 1

Related Questions