diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2018-12-04 00:55:33 -0500 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2018-12-04 00:55:33 -0500 |
commit | 5a7042e93474bf37f92e7e4b4da3751ab4b66955 (patch) | |
tree | ee62276bcea3ac0f96f7abbe3dc424a910ca3c10 | |
parent | 926f39b1581171ed1e5ae7e53e0d5757b3079d32 (diff) | |
download | librebootfr-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.
-rw-r--r-- | projects/grub/configs/bios/config | 8 | ||||
-rw-r--r-- | projects/grub/configs/coreboot/config | 8 | ||||
-rw-r--r-- | projects/grub/configs/uefi/config | 8 |
3 files changed, 9 insertions, 15 deletions
diff --git a/projects/grub/configs/bios/config b/projects/grub/configs/bios/config index 0b4a8d4e..f5d969f9 100644 --- a/projects/grub/configs/bios/config +++ b/projects/grub/configs/bios/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 diff --git a/projects/grub/configs/coreboot/config b/projects/grub/configs/coreboot/config index 0b4a8d4e..f5d969f9 100644 --- a/projects/grub/configs/coreboot/config +++ b/projects/grub/configs/coreboot/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 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 |