]> 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>
Sun, 14 Jun 2015 08:59:45 +0000 (09:59 +0100)
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 0d77a2acb1014126ebd9d7f8c210ef17d4bd1dec..1f27b65fb81a0d39c80e763af2be141efcf9d3bb 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: