bug-grub
[Top][All Lists]
Advanced

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

[bug #31629] update-grub doesn't work with multiple entries in GRUB_TERM


From: Vit Zikmund
Subject: [bug #31629] update-grub doesn't work with multiple entries in GRUB_TERMINAL_OUTPUT
Date: Fri, 12 Nov 2010 16:24:58 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12

URL:
  <http://savannah.gnu.org/bugs/?31629>

                 Summary: update-grub doesn't work with multiple entries in
GRUB_TERMINAL_OUTPUT
                 Project: GNU GRUB
            Submitted by: tlwhitec
            Submitted on: Fri 12 Nov 2010 04:24:57 PM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 1.98
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

GRUB manual states, that multiple devices can be selected for
GRUB_TERMINAL_OUTPUT, separated by spaces.

However, using *GRUB_TERMINAL_OUTPUT="console serial"* in */etc/default/grub*
makes the *grub-mkconfig* exit with error.

>From a quick look into the code, it is apparent, that the script relies on a
fact, that there is only a _single_ device in this definition. That clashes
with the manual and even with GRUB itself.

By an obvious and simple hack in the case statement, I was able to satisfy my
needs, but that's far from a general solution.


This "single-device" approach made it also to the rule
*/etc/grub.d/00_header* which I managed to fix quite nicely, so I dare to
attach a patch.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 12 Nov 2010 04:24:57 PM GMT  Name: 00_header.patch  Size: 444B  
By: tlwhitec

<http://savannah.gnu.org/bugs/download.php?file_id=21991>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31629>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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