i took the patch collin referenced, applied it to the installed files
(ie /etc/grub.d/00_header & /usr/sbin/grub-mkconfig) as a proof of
concept, fixed some bugs (bashisms & unquoted variables in comparisons),
and once i proved the changes worked, i applied them to the grub2 source
package, resulting in the attached patch.

1. apt-get source grub2
2. apt-get build-dep grub2
3. apply patch
4. dpkg-buildpackage -D -us -uc

the patch will only apply to 1.98-1ubuntu10 because it adds an entry to
the debian changelog.

i will also attach the patches to /etc/grub.d/00_header (grub script
fragment) & /usr/sbin/grub-mkconfig (sh script) in case somebody doesn't
want to go through the hassle (though the more proper fix) of building
the source package and just wants to patch the already installed files.

DISCLAIMER:
 * built in an up-to-date (including lucid-proposed) lucid amd64 pbuilder 
chroot on a debian lenny amd64 installation
 * binary package only tested on a single lucid amd64 installation with 
GRUB_TERMINAL="console serial"

** Patch added: "patch to apply to grub2 1.98-1ubuntu10 source to add 
user-facing support for GRUB_TERMINAL="console serial""
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/490451/+attachment/1830972/+files/grub2_1.98-1ubuntu10.1.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/490451

Title:
  Unable to set multiple grub terminals using /etc/default/grub

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to