Commit 6091a441 authored by Anton V. Boyarshinov's avatar Anton V. Boyarshinov

5.0-alt14

- auto set default language for bootloader from /etc/sysconfig/i18n
parent c5d33eb8
...@@ -129,7 +129,7 @@ make ...@@ -129,7 +129,7 @@ make
#bootloader #bootloader
pushd design-bootloader-source/ pushd design-bootloader-source/
DEFAULT_LANG=ru PATH=$PATH:/usr/sbin %make DEFAULT_LANG='--lang-to-subst--' PATH=$PATH:/usr/sbin %make
popd popd
#browser-qt #browser-qt
...@@ -216,6 +216,12 @@ popd ...@@ -216,6 +216,12 @@ popd
%post bootloader %post bootloader
%__ln_s -nf %theme/message /boot/splash/message %__ln_s -nf %theme/message /boot/splash/message
. /etc/sysconfig/i18n
lang=$(echo $LANG | cut -d. -f 1)
cd boot/splash/%theme/
echo $lang > lang
echo lang | cpio -o --append -F message
%preun bootloader %preun bootloader
...@@ -264,7 +270,7 @@ popd ...@@ -264,7 +270,7 @@ popd
%changelog %changelog
* Tue Feb 17 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt14 * Tue Feb 17 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt14
- really set default language to russian - auto set default language for bootloader from /etc/sysconfig/i18n
* Mon Feb 16 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt13 * Mon Feb 16 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt13
- rebuild for fix oversized /boot/splash/message - rebuild for fix oversized /boot/splash/message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment