From 883967160c4cfec3387a7406f29438752e2ad9b2 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Sat, 25 Mar 2023 16:43:24 +0000
Subject: [PATCH] build/boot/roms: bugfix: unitialised variable

When using e.g. -p grub in build/boot/roms, it will
error out. This patch fixes that.

E.g.

./build boot roms t440pmrc_12mb -p grub

Seldom used feature and it was overlooked. Most people
won't use the option that triggered the error.
---
 resources/scripts/build/boot/roms | 1 +
 1 file changed, 1 insertion(+)

diff --git a/resources/scripts/build/boot/roms b/resources/scripts/build/boot/roms
index 7f4e842..4a34f61 100755
--- a/resources/scripts/build/boot/roms
+++ b/resources/scripts/build/boot/roms
@@ -29,6 +29,7 @@
 set -u -e
 
 projectname="$(cat projectname)"
+opts=""
 
 listboards() {
 	for boarddir in resources/coreboot/*; do
-- 
GitLab