Skip to contentSkip to conversation

u-boot-xlnx-scr.bbappend: Fix xen boot script comparison

PATCH New Mark Hatle 1 participant 1 message Sep 15, 2024 Arm/Zynq architecture

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 u-boot-xlnx-scr.bbappend: Fix xen boot script comparison

From: Mark Hatle <[email protected]>

Some versions of python/bitbake appear to allow 'true' and 'false', but this is incorrect, True and False are the correct boolean variables.

Fixes:
ERROR: ExpansionError during parsing .../meta-xilinx/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb

---
 .../xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend +1 -1
index 819a0c6..ec64d24 100644
@@ -1,4 +1,4 @@
 # Include xen-boot-cmd.inc only if ENABLE_XEN_UBOOT_SCR is set from configuration
 # file and xen enabled in DISTRO_FEATURES.
 ENABLE_XEN_UBOOT_SCR ?= ""
-include ${@'xen-boot-cmd.inc' if d.getVar('ENABLE_XEN_UBOOT_SCR') == '1' and bb.utils.contains('DISTRO_FEATURES', 'xen', true, false, d) else ''}
+include ${@'xen-boot-cmd.inc' if d.getVar('ENABLE_XEN_UBOOT_SCR') == '1' and bb.utils.contains('DISTRO_FEATURES', 'xen', True, False, d) else ''}
Signature · 1 line
2.44.1