Commit 65884368 authored by Anton V. Boyarshinov's avatar Anton V. Boyarshinov

set colors for grub

parent 6a767cff
...@@ -36,7 +36,7 @@ Distro-specific packages with design and texts ...@@ -36,7 +36,7 @@ Distro-specific packages with design and texts
%package bootloader %package bootloader
Group: System/Configuration/Boot and Init Group: System/Configuration/Boot and Init
Summary: Graphical boot logo for lilo and syslinux Summary: Graphical boot logo for grub2, lilo and syslinux
License: GPL License: GPL
PreReq: coreutils PreReq: coreutils
...@@ -45,6 +45,9 @@ Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design ...@@ -45,6 +45,9 @@ Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design
Obsoletes: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader Obsoletes: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootloader ";done ) Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootloader ";done )
%define %grub_normal white/black
%define %grub_high black/white
%description bootloader %description bootloader
Here you find the graphical boot logo. Suitable for both lilo and syslinux. Here you find the graphical boot logo. Suitable for both lilo and syslinux.
...@@ -294,7 +297,9 @@ lang=$(echo $LANG | cut -d. -f 1) ...@@ -294,7 +297,9 @@ lang=$(echo $LANG | cut -d. -f 1)
cd boot/splash/%theme/ cd boot/splash/%theme/
echo $lang > lang echo $lang > lang
[ "$lang" = "C" ] || echo lang | cpio -o --append -F message [ "$lang" = "C" ] || echo lang | cpio -o --append -F message
. shell-config
shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_NORMAL %grub_normal
shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
%preun bootloader %preun bootloader
......
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