grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Existing values of color_normal/color_highlight are ignored when new vid


From: Andrey Borzenkov
Subject: Existing values of color_normal/color_highlight are ignored when new video driver is loaded.
Date: Fri, 28 Sep 2012 19:15:06 +0400

All video drivers hardcode default text colors, so they ignore any value
set before module was loaded. This could be quite confusing if you are
looking for issues with colors during boot.

Unfortunately fixing this appears somewhat not trivial. Is there any way
in GRUB2 to conditionally execute function from another module,
something like

if module-foo-is-loaded
  call function-from-foo
else
  do nothing

?

Or at least is it possible to test whether specific module is currently
loaded?

Thank you

-andrey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]