diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-09-15 18:24:13 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-09-25 18:50:57 +0000 |
commit | 0aa6e9fc7b9fe4a4b0da4bbd59500837445032e8 (patch) | |
tree | 69509bc39373aa0bbb3ec3b0a62b02efe74139ae | |
parent | 8138d9cc7e0c31171230110db0cfa881c46a821b (diff) | |
download | meta-virtualization-0aa6e9fc7b9fe4a4b0da4bbd59500837445032e8.tar.gz |
u-boot-xlnx-scr.bbappend: Fix xen boot script comparison
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
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend index 819a0c62..ec64d246 100644 --- a/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend +++ b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | # Include xen-boot-cmd.inc only if ENABLE_XEN_UBOOT_SCR is set from configuration | 1 | # Include xen-boot-cmd.inc only if ENABLE_XEN_UBOOT_SCR is set from configuration |
2 | # file and xen enabled in DISTRO_FEATURES. | 2 | # file and xen enabled in DISTRO_FEATURES. |
3 | ENABLE_XEN_UBOOT_SCR ?= "" | 3 | ENABLE_XEN_UBOOT_SCR ?= "" |
4 | include ${@'xen-boot-cmd.inc' if d.getVar('ENABLE_XEN_UBOOT_SCR') == '1' and bb.utils.contains('DISTRO_FEATURES', 'xen', true, false, d) else ''} | 4 | include ${@'xen-boot-cmd.inc' if d.getVar('ENABLE_XEN_UBOOT_SCR') == '1' and bb.utils.contains('DISTRO_FEATURES', 'xen', True, False, d) else ''} |