What can be a clean approach for openembedded to reduce terminfo database footprint?
/usr/share/terminfo is about 7M in size!
A lot of linux commands depend from ncurses so i can’t get rid of it.
I am not an ncurses specialist so i am not aware if i can configure preoperly ncurses without terminfo.
I goggled a bit and i found some approaches :
- Write a brute ncurses.bbappend that strip data out after installation
- Maybe load from terminfo.src only what you need ( not sure if it reduces the db actually )
- Embed the definition you need into binaries through infocmp
Although this is not a specfic Toradex topic i think it can be useful to help users narrowing down their images.