[elbe-devel] [PATCH] elbepack: check-build img: use correct variable

Thomas Weißschuh thomas.weissschuh at linutronix.de
Mon Apr 8 09:24:57 CEST 2024


"tag" refers to the <check> element.
Use the correct variable "interpreter_firmware".

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/commands/check-build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/commands/check-build.py b/elbepack/commands/check-build.py
index 2f417f004ffd..abe8847b6c33 100644
--- a/elbepack/commands/check-build.py
+++ b/elbepack/commands/check-build.py
@@ -450,7 +450,7 @@ class CheckImage(CheckBase):
         fw_opts = ''
         interpreter_firmware = tag.et.find('./interpreter-firmware')
         if interpreter_firmware is not None:
-            fw_opts = self._firmware_opts(tag)
+            fw_opts = self._firmware_opts(interpreter_firmware)
 
         with self.open_img(img_name) as img:
 

---
base-commit: 7588dac5410def8e5f492d5343669c26d2bb62f7
change-id: 20240408-check-build-99a16176958e

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh at linutronix.de>



More information about the elbe-devel mailing list