wok rev 15895

slitaz-i18n: We DONT want locale file in /usr/lib/locale (8Mb uncompressed)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 12 23:02:15 2014 +0100 (2014-02-12)
parents c7df6249e093
children 4e8ba493a66b
files slitaz-i18n/stuff/locale-pack.functions
line diff
     1.1 --- a/slitaz-i18n/stuff/locale-pack.functions	Wed Feb 12 22:53:55 2014 +0100
     1.2 +++ b/slitaz-i18n/stuff/locale-pack.functions	Wed Feb 12 23:02:15 2014 +0100
     1.3 @@ -35,12 +35,15 @@
     1.4  		fi
     1.5  	done
     1.6  
     1.7 +	# NO: This we gen a huge /usr/lib/locale directory. We gen locale file
     1.8 +	# at boot and glibc-locale is not needed for that.
     1.9 +	#
    1.10  	# Pregenerate locale file so we dont need glibc-locale as dep.
    1.11 -	for def in $locales; do
    1.12 -		echo "* Generate $def locale definition"
    1.13 -		mkdir -p $fs/usr/lib/locale
    1.14 -		localedef -i $def -c -f $CHARMAP $fs/usr/lib/locale/$def
    1.15 -	done
    1.16 +	#for def in $locales; do
    1.17 +	#	echo "* Generate $def locale definition"
    1.18 +	#	mkdir -p $fs/usr/lib/locale
    1.19 +	#	localedef -i $def -c -f $CHARMAP $fs/usr/lib/locale/$def
    1.20 +	#done
    1.21  
    1.22  	# Get timezones
    1.23  	countries=$(echo $locales | \