[Bug 1027223] Re: update-grub ignores GRUB_COLOR_NORMAL and GRUB_COLOR_HIGHLIGHT
Ben Fritz
fritzophrenic at gmail.com
Sun Nov 18 20:49:28 UTC 2012
I tested the fix in the original post. It did not work, until I also
modified /etc/grub.d/05_debian_theme as follows:
#if [ -n "${GRUB_BACKGROUND+x}" ]; then
# set_background_image "${GRUB_BACKGROUND}" || set_default_theme
# exit 0
#fi
if [ -n "${GRUB_BACKGROUND+x}" ]; then
set_background_image "${GRUB_BACKGROUND}" "${GRUB_COLOR_NORMAL}" "${GRUB_COLOR_HIGHLIGHT}" || set_default_theme
exit 0
fi
I'm pretty certain this is NOT the best fix, but it works for me for the
time being. Neither fix has any effect at all for me by itself, but with
both fixes in place the colors defined in /etc/default/grub apply as
expected.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1027223
Title:
update-grub ignores GRUB_COLOR_NORMAL and GRUB_COLOR_HIGHLIGHT
Status in “grub2” package in Ubuntu:
Expired
Bug description:
This is because these two variables are not exported, as expected.
Patching /usr/sbin/grub-mkconfig with
248c248,250
< GRUB_BADRAM
---
> GRUB_BADRAM \
> GRUB_COLOR_NORMAL \
> GRUB_COLOR_HIGHLIGHT
fixes this bug.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub-common 1.99-21ubuntu3.1
Uname: Linux 3.4.6 x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Fri Jul 20 21:25:26 2012
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
LANGUAGE=de_DE:en
TERM=screen-bce
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to precise on 2012-07-16 (4 days ago)
modified.conffile..etc.grub.d.05.debian.theme: [modified]
mtime.conffile..etc.grub.d.05.debian.theme: 2012-07-20T20:59:12.486533
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1027223/+subscriptions
More information about the foundations-bugs
mailing list