]> git.proxmox.com Git - grub2.git/commitdiff
Cope with Kubuntu setting GRUB_DISTRIBUTOR
authorColin Watson <cjwatson@ubuntu.com>
Mon, 13 Jan 2014 12:13:27 +0000 (12:13 +0000)
committerColin Watson <cjwatson@debian.org>
Tue, 28 Jan 2014 23:50:25 +0000 (23:50 +0000)
This is not a very good approach, and certainly not sanely upstreamable;
we probably need to split GRUB_DISTRIBUTOR into a couple of different
variables.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1242417
Forwarded: not-needed
Last-Update: 2013-12-25

Patch-Name: install_efi_ubuntu_flavours.patch

util/grub-install.c

index 0495d9dc3117cdf713de961a5f770261e0b129ba..43714825611772d071d4d6ce00275043581ab6fb 100644 (file)
@@ -1089,6 +1089,8 @@ main (int argc, char *argv[])
       */
       char *t;
       efi_distributor = bootloader_id;
+      if (strcmp (efi_distributor, "kubuntu") == 0)
+       efi_distributor = "ubuntu";
       switch (platform)
        {
        case GRUB_INSTALL_PLATFORM_I386_EFI: