[isar-cip-core][PATCH v3 1/3] swupdate-handler-roundrobin: Keep default lua version as 5.5

[email protected] Wed, 22 Jul 2026 20:27:53 +0530
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>
From: Shivanand Kunijadar <[email protected]>

Keep default lua version as 5.5 which will be used by forky/sid and
add debian version specific variables for defining other lua versions.

Signed-off-by: Shivanand Kunijadar <[email protected]>
---
 .../swupdate-handler-roundrobin_0.1.bb                    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/recipes-core/swupdate-handler-roundrobin/swupdate-handler-roundrobin_0.1.bb b/recipes-core/swupdate-handler-roundrobin/swupdate-handler-roundrobin_0.1.bb
index e3cc7f8..f991483 100644
--- a/recipes-core/swupdate-handler-roundrobin/swupdate-handler-roundrobin_0.1.bb
+++ b/recipes-core/swupdate-handler-roundrobin/swupdate-handler-roundrobin_0.1.bb
@@ -25,7 +25,13 @@ SRC_URI += "${@('file://' + d.getVar('SWUPDATE_ROUND_ROBIN_HANDLER_CONFIG')) if
 
 # The lua version used by swupdate to search for additional handler is hard coded in debian/rules
 # see https://salsa.debian.org/debian/swupdate/-/blob/6ccd44a8539ebb880bf0dac408d5db5de7e2de99/debian/rules#L13
-SWUPDATE_LUA_VERSION ??= "5.4"
+
+SWUPDATE_LUA_VERSION = "5.5"
+SWUPDATE_LUA_VERSION:trixie = "5.4"
+SWUPDATE_LUA_VERSION:bookworm = "5.3"
+SWUPDATE_LUA_VERSION:bullseye = "5.3"
+SWUPDATE_LUA_VERSION:buster = "5.3"
+
 SWUPDATE_ADDITIONAL_LUA_VERSIONS ??= "5.3"
 
 do_prepare_build:append() {
-- 
2.39.5