bugGNU GRUB - Bugs: bug #31629, update-grub doesn't work with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31629: update-grub doesn't work with multiple entries in GRUB_TERMINAL_OUTPUT

Submitter:  Vit Zikmund <tlwhitec>
Submitted:  Fri 12 Nov 2010 04:24:57 PM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  1.98
Release:  Reproducibility:  Every Time
Planned Release:  None

Fri 12 Nov 2010 04:40:39 PM UTC, comment #1: 

Long since fixed in trunk

Vladimir Serbinenko <phcoder>
Group administrator
Fri 12 Nov 2010 04:24:57 PM UTC, original submission:  

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.

Vit Zikmund <tlwhitec>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #21991:  00_header.patch added by tlwhitec (444B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by tlwhitec (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-12 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2010-11-12 tlwhitec Attached File- Added 00_header.patch, #21991

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code