| Message ID | 20260326-ysd-fix-centos-regexp-v1-1-e41c6cbe1a18@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | [yocto-autobuilder-helper] scripts/yocto-supported-distros: fix an incorrect regular expression for stream | expand |
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+)"),
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(-) --- base-commit: 1fc6dae73202e4fdebaac26000c82c1b7a556ca8 change-id: 20260326-ysd-fix-centos-regexp-d47ee03ccd42