@@ -17,8 +17,7 @@ SRCREV_swupdate-handler-roundrobin ?= "bf73f04b1eec0b8714d3a1b56bfcd1431c58ba10"
SWUPDATE_LUASCRIPT = "swupdate-handler-roundrobin/swupdate_handlers_roundrobin.lua"
-SWUPDATE_ROUND_ROBIN_HANDLER_CONFIG ?= "swupdate.handler.${SWUPDATE_BOOTLOADER}.ini"
-SRC_URI += "${@('file://' + d.getVar('SWUPDATE_ROUND_ROBIN_HANDLER_CONFIG')) if d.getVar('SWUPDATE_BOOTLOADER') else ''}"
+SRC_URI += "${@ 'file://swupdate.handler.efibootguard.ini' if d.getVar('SWUPDATE_BOOTLOADER') == 'efibootguard' else ''}"
# lua version 5.2 is currently hard coded in swupdate @ debian salsa
do_install[cleandirs] = "${D}/etc \
The following build warning was observed when SWUPDATE_BOOTLOADER was set to something different from "efibootguard" in downstream layers: WARNING: /work/cip-core/recipes-core/swupdate-handler-roundrobin/swupdate-handler-roundrobin_0.1.bb: Unable to get checksum for swupdate-handler-roundrobin SRC_URI entry swupdate.handler.u-boot.ini: file could not be found Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com> --- .../swupdate-handler-roundrobin_0.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)