dCore Import Debian Packages to Mountable SCE extensions > dCore X86

slow boot, xorg-intel questions...

<< < (3/5) > >>

netnomad:
hi curaga,

LINGUAS is used by gentoo, too.
https://wiki.gentoo.org/wiki/Localization/Guide#LINGUAS

do you see there a way to use this concept or something like localepurge in dcore?
https://packages.debian.org/jessie/localepurge

thank you for your ideas and help.

Jason W:
I have about a 3 or 4 line of code concept that can be part of sce-import to allow only keeping desired locales.  Can keep 1, 10, or whatever, just list them in a config file and if found it will be used.   I will make it and test it tomorrow.

As for excluding libraries and directories, that also can be done with a config file, if one wants to enter the unwanted large files or unneeded dirs then have at it, place it in the config file and it will be done.  Those lists can then be tested and shared among users, I would much rather that than to try to add in a hard coded list of files and dirs in base or even on the server to be fetched to be constantly revised- except for the current default of deleting /usr/share/doc and /usr/share/man.  So most documentation files are already trimmed, and development files are included in the -dev packages which are not installed by default.

I will try to put in place both tomorrow, I think it will be liked.

nitram:
Thanks for making changes, didn't want to mess up the announcement thread.


--- Code: ---You are running dCore-jessie:2016.01.30.02.04, the latest release candidate.

--- End code ---

Only have a 'language' file, not 'locale.nopurge'. Also the file contains only 'LANG=C' without instructions. How would a user add additional languages (comma seperate, space, new line)? You mentioned somewhere 1-10 languages, was this literal? Could user choose to install all with a wildcard? LANG=C good for me, just trying to help get this figured out for other language users.

Also don't have an sce.purge file, so can't test proper, thanks.

PS - just tested new sce-remove and sce-update menus, much improved appearance and behaviour, no more confusion. Only thing is this line in sce-remove still needs to be changed to Enter: Choose SCE(s) to update check, can choose more than one, quit to proceed.

Jason W:
/etc/sysconfig/language is created by the boot code LANG=, it is not to be manually edited.

I meant adding 1 to 10 or more entries to /etc/sysconfig/locale.nopurge to keep, as in directories under /usr/share/locale that are not deleted by the tool.

I will be making an adjustment to sce-load and will include /etc/sysconfig/locale.nopurge.example and /etc/sysconfig/sce.purge so folks can see the format of the entries.  But they can be created by the user and will be recognized by sce-import.

Ok, will fix the sce-remove thing.

nitram:
Running latest RC, tested local.nopurge and sce.purge, everything appears to work very well, even wildcards. It's amazing actually! Some of the changes you've implemented in the last few weeks Jason really bring dCore to a whole new level.

Just the simplest nano example using new language and purge system, nano still functions fine upon preliminary testing:

7.43 mb: nano default
5.43 mb: italian only
5.36 mb: no locales
1.86 mb: using sce.purge below

Only 25% original size without even pairing dependencies or using a list file :)

sce.purge used:

--- Code: ---etc/alternatives
etc/cron.daily
etc/dpkg
etc/ld.so.conf.d
etc/logrotate.d
usr/bin/dpkg*
usr/bin/update-alternatives
usr/lib/gcc
usr/lib/i386-linux-gnu/libLLVM*
usr/lib/i386-linux-gnu/audit
usr/lib/i386-linux-gnu/gconv
usr/sbin/dpkg*
usr/sbin/update-alternatives
usr/share/doc-base
usr/share/dpkg
usr/share/info
usr/share/locale

--- End code ---

Plan to add more sce.purge items that arise and will review my old list above. Thanks again.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version