aboutsummaryrefslogtreecommitdiff
path: root/projects/grub/configs/uefi/config
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-12-04 00:55:33 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2018-12-04 00:55:33 -0500
commit5a7042e93474bf37f92e7e4b4da3751ab4b66955 (patch)
treeee62276bcea3ac0f96f7abbe3dc424a910ca3c10 /projects/grub/configs/uefi/config
parent926f39b1581171ed1e5ae7e53e0d5757b3079d32 (diff)
downloadlibrebootfr-5a7042e93474bf37f92e7e4b4da3751ab4b66955.tar.gz
librebootfr-5a7042e93474bf37f92e7e4b4da3751ab4b66955.zip
Remove unnecessary commands from embedded grub.cfg
All modules listed in a given target's modules-minimal file are preloaded so there's no need to specifically load any.
Diffstat (limited to 'projects/grub/configs/uefi/config')
-rw-r--r--projects/grub/configs/uefi/config8
1 files changed, 3 insertions, 5 deletions
diff --git a/projects/grub/configs/uefi/config b/projects/grub/configs/uefi/config
index 0b4a8d4e..f5d969f9 100644
--- a/projects/grub/configs/uefi/config
+++ b/projects/grub/configs/uefi/config
@@ -1,6 +1,4 @@
-insmod cbfs
-
-set prefix=(cbfsdisk)/fallback
-
set root=(cbfsdisk)
-source (cbfsdisk)/fallback/grub.cfg
+set prefix=($root)/fallback
+
+source $prefix/grub.cfg