grub2/debian/patches/install_efi_ubuntu_flavours.patch
2013-12-03 17:10:32 +00:00

23 lines
741 B
Diff

Description: Cope with Kubuntu setting GRUB_DISTRIBUTOR
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.
Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1242417
Forwarded: not-needed
Last-Update: 2013-12-03
Index: b/util/grub-install.c
===================================================================
--- a/util/grub-install.c
+++ b/util/grub-install.c
@@ -945,6 +945,8 @@
*/
char *t;
efi_distributor = bootloader_id;
+ if (strcmp (efi_distributor, "kubuntu") == 0)
+ efi_distributor = "ubuntu";
switch (platform)
{
case GRUB_INSTALL_PLATFORM_I386_EFI: