dCore Import Debian Packages to Mountable SCE extensions > dCore X86

slow boot, xorg-intel questions...

<< < (2/5) > >>

nitram:
For own use will opt to go with a custom SCE, as it's much leaner than simply removing /locale. Keeping xorg small made such a huge improvement in boot time. But in general i believe removing locale should be default behaviour, similar to how Tiny Core encourages splitting out /locale/ information. Anything to help keep the SCEs smaller. Maybe a KEEPLOCALE=FALSE default entry in sceconfig.

Still think it would be nice for other directories to be stripped by default, like /usr/lib/gcc/,  /usr/lib/i386-linux-gnu/,  /usr/share/dpkg/,  /lib/systemd/,  /usr/include/. For the most part, i would think there is minimal risk of breakage by removing some select known-not-to-be-required directories. Any thoughts on this or do you think it gets to complicated or problematic?

Jason W:
/usr/include, and /usr/lib/gcc I can see, the do save some MB in my large desktop sce.  But /usr/lib/i386-linux-gnu contains a lot of libs and directories of other files that packages use.   /usr/share/dpkg is only 12k of uncompressed files in my large 1.8G compressed sce.

I am open to letting us look into what can be left out by default for the average user.  The libLLV* one is large and I can't find anything in my huge sce that needs it according to ldd. 

nitram:
Thanks for considering. Puppy Linux has a decent 'trim the fat' system (~2/3 way down): http://barryk.org/woof/ppm.htm. User can choose to trim, select locale(s) (instead of all or nothing), remove documentation files and remove development files. Don't think it needs to be this complicated, although the option to select locale(s) is really nice.

Agree removing /usr/include and /usr/lib/gcc would likely yield best results, plus removing the large libLLV* for xorg. Reviewed dCore-jessie file system and came up with a potential blocklist, although some items may provide almost no benefit. And i think default is already not to include /man and /doc stuff. Your large SCE would provide the best analysis of space saved.

/etc/apt/
/etc/cron.daily/
/etc/dpkg/
/etc/logrotate.d/
/etc/rc*.d/
/lib/systemd/
/usr/include/
/usr/lib/debug/
/usr/lib/gcc/
/usr/lib/i386-linux-gnu/libLLVM-3.5.so.1
/usr/share/X11/locale/
/usr/share/bug/
/usr/share/doc/
/usr/share/doc-base/
/usr/share/dpkg/
/usr/share/gcc-4.9/
/usr/share/locale/
/usr/share/man/

nitram:
Quick test, took stock xorg-intel and removed /usr/include, /usr/lib/gcc, /usr/share/locale and /usr/lib/i386-linux-gnu/libLLVM-3.5.so.1. From 65mb down to 37mb with minimal effort and risk of breakage.

curaga:
FWIW, my LFS system has the env var LINGUAS set to fi. This means any autotools-using package will only install that locale.

As it's standard behavior there, it would make sense to have a "keep only these locales" function.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version