summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-29 18:39:25 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-29 18:39:25 +0100
commitfbe36b01ac424859a069435a043289f681165dba (patch)
tree32119d9fa440b1eac0de3b0900159f519f80abee /script/trees
parent088a79918b306703eaf33a37519b4930bdb1b46d (diff)
trees mkpayload_grub: remove unnecessary check
these variables are initialised empty, then populated by reading a configuration file. it may be that in some cases, we want these variables to be empty. besides that, the "setcfg" command before it will throw an error if the module file is missing, and it is assumed that the variables would be set there. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees1
1 files changed, 0 insertions, 1 deletions
diff --git a/script/trees b/script/trees
index 6865a018..fd14b099 100755
--- a/script/trees
+++ b/script/trees
@@ -281,7 +281,6 @@ mkpayload_grub()
{
eval `setvars "" grub_modules grub_install_modules`
eval `setcfg "$grubdata/module/$tree"`
- chkvars "grub_install_modules" "grub_modules"
x_ rm -f "$cdir/grub.elf"