From 5a7042e93474bf37f92e7e4b4da3751ab4b66955 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Tue, 4 Dec 2018 00:55:33 -0500 Subject: 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. --- projects/grub/configs/bios/config | 8 +++----- projects/grub/configs/coreboot/config | 8 +++----- projects/grub/configs/uefi/config | 8 +++----- 3 files changed, 9 insertions(+), 15 deletions(-) (limited to 'projects/grub/configs') 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 -- cgit v1.2.3-70-g09d2