Skip to contentSkip to conversation

linux-xenomai: Fix recipe parsing

PATCH New Jan Kiszka 1 participant 1 message Dec 1, 2023

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 linux-xenomai: Fix recipe parsing

From: Jan Kiszka <[email protected]>

When selecting a fixed version, we fail parsing the latest version recipe in weird ways because LATEST_KERNEL_BRANCH is left undefined behind. As the default repo is linux-dovetail, initialize the variable to an always existing branch of that repo.

---
 recipes-kernel/linux/linux-xenomai_latest.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/linux/linux-xenomai_latest.bb +2 -0
index e5348c6..dccae5d 100644
@@ -31,6 +31,8 @@ python () {
               'sort -r -n -k 1.4 | head -1'
         (ret, out) = subprocess.getstatusoutput(cmd)
         d.setVar('LATEST_KERNEL_BRANCH', out)
+    else:
+        d.setVar('LATEST_KERNEL_BRANCH', 'v5.10.y-dovetail')
 }
 
 # default: amd64 or i386
Signature · 1 line
2.35.3