Public bug reported:

I just dug through branch ~ubuntu-core-dev/ubuntu/trusty/grub2/trusty
(revision 2363) and found that GRUB still creates all lowercase labelled
UEFI boot menu entries (see attached photo).

I think one of the following lines in util/grub-install.in is the
culprit:

    bootloader_id="$(echo "$GRUB_DISTRIBUTOR" | tr 'A-Z' 'a-z' | cut -d'
' -f1)"

and almost at the end of the file:

    efibootmgr $efi_quiet -c -d "$efidir_disk" -p "$efidir_part" -w \
    -L "$bootloader_id" -l "\\EFI\\$efi_distributor\\$efi_file"

The label (-L "$bootloader_id") should probably be set by another
variable that is set to "Ubuntu" or something more descriptive that
looks polished and sophisticated along with the other entries (e.g.
Windows Boot Manager).

I know this is pure cosmetics and functionality should be above good
looks.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "IMG_20140224_104827.jpg"
   
https://bugs.launchpad.net/bugs/1284038/+attachment/3994083/+files/IMG_20140224_104827.jpg

** Description changed:

  I just dug through branch ~ubuntu-core-dev/ubuntu/trusty/grub2/trusty
  (revision 2363) and found that GRUB still creates all lowercase labelled
  UEFI boot menu entries (see attached photo).
  
  I think one of the following lines in util/grub-install.in is the
  culprit:
  
-     bootloader_id="$(echo "$GRUB_DISTRIBUTOR" | tr 'A-Z' 'a-z' | cut -d'
+     bootloader_id="$(echo "$GRUB_DISTRIBUTOR" | tr 'A-Z' 'a-z' | cut -d'
  ' -f1)"
  
  and almost at the end of the file:
  
-     efibootmgr $efi_quiet -c -d "$efidir_disk" -p "$efidir_part" -w \
-     -L "$bootloader_id" -l "\\EFI\\$efi_distributor\\$efi_file"
+     efibootmgr $efi_quiet -c -d "$efidir_disk" -p "$efidir_part" -w \
+     -L "$bootloader_id" -l "\\EFI\\$efi_distributor\\$efi_file"
  
- The label should probably be set by another variable that is set to
- "Ubuntu" or something more descriptive that looks polished and
- sophisticated along with the other entries (e.g. Windows Boot Manager).
+ The label (-L "$bootloader_id") should probably be set by another
+ variable that is set to "Ubuntu" or something more descriptive that
+ looks polished and sophisticated along with the other entries (e.g.
+ Windows Boot Manager).
  
  I know this is pure cosmetics and functionality should be above good
  looks.

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

Title:
  grub-install.in creates all lowercase labelled UEFI boot menu entries,
  which makes it look unpolished

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1284038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to