All of lore.kernel.org
 help / color / mirror / Atom feed
* [yocto-autobuilder-helper][PATCH] scripts/yocto-supported-distros: fix an incorrect regular expression for stream
@ 2026-03-26 16:22 Antonin Godard
  2026-04-06  8:49 ` [yocto-patches] " Paul Barker
  0 siblings, 1 reply; 6+ messages in thread
From: Antonin Godard @ 2026-03-26 16:22 UTC (permalink / raw)
  To: yocto-patches; +Cc: Thomas Petazzoni, Yoann Congal, Antonin Godard

The lsb string for CentOS Stream is actually centosstream-*, not
centos-*. It was thus not detecting centosstream entries in
SANITY_TESTED_DISTROS.

This was preventing the script from outputting the docs-formatted CentOS
strings.

Reported-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/yocto-supported-distros | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/yocto-supported-distros b/scripts/yocto-supported-distros
index 11b05b7..f1dac04 100755
--- a/scripts/yocto-supported-distros
+++ b/scripts/yocto-supported-distros
@@ -83,7 +83,7 @@ INPUT_REGEXES = {
     },
     "centosstream": {
         "ab": re.compile(r"^stream(\d+)"),
-        "lsb": re.compile(r"^stream-(\d+)"),
+        "lsb": re.compile(r"^centosstream-(\d+)"),
     },
     "rocky": {
         "ab": re.compile(r"^rocky(\d+)"),

---
base-commit: 1fc6dae73202e4fdebaac26000c82c1b7a556ca8
change-id: 20260326-ysd-fix-centos-regexp-d47ee03ccd42



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-08 10:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 16:22 [yocto-autobuilder-helper][PATCH] scripts/yocto-supported-distros: fix an incorrect regular expression for stream Antonin Godard
2026-04-06  8:49 ` [yocto-patches] " Paul Barker
2026-04-07 10:58   ` Antonin Godard
2026-04-07 11:14     ` Richard Purdie
2026-04-08  7:25   ` Antonin Godard
2026-04-08 10:14     ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.