allow GRUB_TERMINAL=gfxterm to be specified in /etc/default/grub
Hello,
Currently, if one sets "GRUB_TERMINAL=gfxterm" in /etc/default/grub, then update-grub dies with error :
Invalid terminal "gfxterm"
I've attached a patch to allow this.
Franklin
P.S. Of course, it's licensed under GPL.
update-grub renamed from usr/sbin/update-grub +1 -1
@@ -123,7 +123,7 @@ # if ${GRUB_TERMINAL} is set, check it has a sane value. if undefined, # fallback to our default case ${platform}:${GRUB_TERMINAL} in pc:) GRUB_TERMINAL=gfxterm ;; - pc:console | pc:serial) ;; + pc:console | pc:serial | pc:gfxterm) ;; ieee1275:) GRUB_TERMINAL=ofconsole ;; ieee1275:ofconsole) ;;
Quoted 6 lines · Franklin PIAT
Hello,
Currently, if one sets "GRUB_TERMINAL=gfxterm" in
/etc/default/grub, then update-grub dies with error :Invalid terminal "gfxterm"
Fixed (although somewhat differently).
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.)