From fbe36b01ac424859a069435a043289f681165dba Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 29 Jun 2024 18:39:25 +0100 Subject: 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 --- script/trees | 1 - 1 file changed, 1 deletion(-) (limited to 'script/trees') 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" -- cgit v1.2.1