Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
grub2 (2.00-15co2endless1) eos; urgency=low
.
* debian/patches/endless-disable-messages-[1,2].patch:
Pick two patches from Fedora to suppress initial messages from GRUB.
* debian/patches/endless-fix-freetype-include.patch:
Fix build against new FreeType
Author: Cosimo Cecchi <cosimo@endlessm.com>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- grub2-2.00.orig/grub-core/commands/blscfg.c
+++ grub2-2.00/grub-core/commands/blscfg.c
@@ -33,17 +33,17 @@
GRUB_MOD_LICENSE ("GPLv3+");
-#ifdef GRUB_MACHINE_EFI
-#define GRUB_LINUX_CMD "linuxefi"
-#define GRUB_INITRD_CMD "initrdefi"
-#define GRUB_BLS_CONFIG_PATH "/EFI/fedora/loader/entries/"
-#define GRUB_BOOT_DEVICE "($boot)"
-#else
+//#ifdef GRUB_MACHINE_EFI
+//#define GRUB_LINUX_CMD "linuxefi"
+//#define GRUB_INITRD_CMD "initrdefi"
+//#define GRUB_BLS_CONFIG_PATH "/EFI/fedora/loader/entries/"
+//#define GRUB_BOOT_DEVICE "($boot)"
+//#else
#define GRUB_LINUX_CMD "linux"
#define GRUB_INITRD_CMD "initrd"
#define GRUB_BLS_CONFIG_PATH "/loader/entries/"
#define GRUB_BOOT_DEVICE "($root)"
-#endif
+//#endif
static int parse_entry (
const char *filename,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment