From ed175275a2319713f2f88d9f7661fb422cd514ed Mon Sep 17 00:00:00 2001
From: Christopher <christopher.spinrath@rwth-aachen.de>
Date: Sat, 29 Aug 2015 17:33:31 +0200
Subject: [PATCH] grub.cfg: move ubuntu (secboot) grub cfg to /boot/grub

Usually ubuntu ships a grub.cfg in /boot/grub/x86_64-efi itself that
loads some modules (depending on the ubuntu image!) and then loads
the grub.cfg in /boot/grub. So, replace the config in /boot/grub instead
of /boot/grub/x86_64-efi. lipck will copy the original config in
/boot/grub/x86_64-efi and thus, the ubuntu grub will load the
correct modules and then load our config.
---
 boot/grub/grub.cfg            |  1 +
 boot/grub/x86_64-efi/grub.cfg | 12 ------------
 2 files changed, 1 insertion(+), 12 deletions(-)
 create mode 100644 boot/grub/grub.cfg
 delete mode 100644 boot/grub/x86_64-efi/grub.cfg

diff --git a/boot/grub/grub.cfg b/boot/grub/grub.cfg
new file mode 100644
index 0000000..379d052
--- /dev/null
+++ b/boot/grub/grub.cfg
@@ -0,0 +1 @@
+configfile /grub/grub.cfg
diff --git a/boot/grub/x86_64-efi/grub.cfg b/boot/grub/x86_64-efi/grub.cfg
deleted file mode 100644
index 16d4286..0000000
--- a/boot/grub/x86_64-efi/grub.cfg
+++ /dev/null
@@ -1,12 +0,0 @@
-insmod part_acorn
-insmod part_amiga
-insmod part_apple
-insmod part_bsd
-insmod part_dfly
-insmod part_dvh
-insmod part_gpt
-insmod part_msdos
-insmod part_plan
-insmod part_sun
-insmod part_sunpc
-configfile /grub/grub.cfg
-- 
GitLab