Hey Andrew,
I seem to remember some of them were required, both unittest and and sqlite3-tests can be removed from the python-modules package,
as for the others, you would need to remove them at do_install() , and I would not mind making it optional.
Cheers, Alejandro On 09/07/2018 12:02 PM, Andrew Geissler wrote:
Hi, We've been running into some flash space issues over in the openbmc project. I noticed the python.bb file (python_2.7.14.bb for us) is installing some test folders/files in our rootfs image. # find /usr/lib/python2.7/ -name "test" -print /usr/lib/python2.7/ctypes/test /usr/lib/python2.7/email/test I'm looking to see if there's any functional reason these tests are included in the image. In our compressed filesystem we're talking about ~150KB of space but right now that's a pretty big deal for us. Would the community be interested in a patch to not install (or make it an option like is done with INCLUDE_PYCS) these test files? Or is this something we should just handle in a .bbappend file for our distro? Here's a complete list of test directories in the python package. ./Python-2.7.14/Lib/bsddb/test ./Python-2.7.14/Lib/sqlite3/test ./Python-2.7.14/Lib/ctypes/test ./Python-2.7.14/Lib/unittest/test ./Python-2.7.14/Lib/lib-tk/test ./Python-2.7.14/Lib/email/test Thanks, Andrew
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
