xenomai.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [xenomai-images][PATCH] linux-xenomai: Adjust 'latest' filter for 6.1
@ 2022-12-12 13:53 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2022-12-12 13:53 UTC (permalink / raw)
  To: Xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

Analogously to the changes in Xenomai, we need the transition to 6.x and
a fix for the sorting rule.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 recipes-kernel/linux/linux-xenomai_latest.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/linux-xenomai_latest.bb b/recipes-kernel/linux/linux-xenomai_latest.bb
index 9c6fdaa..9a8c6fd 100644
--- a/recipes-kernel/linux/linux-xenomai_latest.bb
+++ b/recipes-kernel/linux/linux-xenomai_latest.bb
@@ -27,8 +27,8 @@ python () {
     if is_kernel(d, 'latest'):
         cmd = 'git ls-remote --tags --head --refs https://source.denx.de/xenomai/linux-dovetail.git | ' \
               'sed -e "s/.*[[:space:]]refs\/\(tags\|heads\)\///" | ' \
-              'grep "v5\.[0-9][0-9].*-dovetail-rebase" | ' \
-              'sort -r -n -t - -k 5 -k 6 | head -1'
+              'grep "v6\.[0-9].*-dovetail-rebase" | ' \
+              'sort -r -n -k 1.4 | head -1'
         (ret, out) = subprocess.getstatusoutput(cmd)
         d.setVar('LATEST_KERNEL_BRANCH', out)
 }
-- 
2.35.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-12 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12 13:53 [xenomai-images][PATCH] linux-xenomai: Adjust 'latest' filter for 6.1 Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).