All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Barker <paul@pbarker.dev>
To: yocto-patches@lists.yoctoproject.org,
	Antonin Godard <antonin.godard@bootlin.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Yoann Congal <yoann.congal@smile.fr>
Subject: Re: [yocto-patches] [yocto-autobuilder-helper][PATCH] scripts/yocto-supported-distros: fix an incorrect regular expression for stream
Date: Mon, 06 Apr 2026 09:49:08 +0100	[thread overview]
Message-ID: <054abea2ac9beedac71d4142a14f0bdf8fccec21.camel@pbarker.dev> (raw)
In-Reply-To: <20260326-ysd-fix-centos-regexp-v1-1-e41c6cbe1a18@bootlin.com>

[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]

On Thu, 2026-03-26 at 17:22 +0100, Antonin Godard via
lists.yoctoproject.org wrote:
> 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+)"),

Hi Antonin,

Where do you see centosstream-* reported?

On the stream9-vk-1 autobuilder worker and on a local centos stream 9
instance I see "centos-9":

    $ ( source /etc/os-release && echo $ID-$VERSION_ID )
    centos-9

We currently have "centosstream-9" listed as a supported distro, but if
I build on stream9-vk-1 I see:

    WARNING: Host distribution "centos-9" has not been validated with
    this version of the build system; you may possibly experience
    unexpected failures. It is recommended that you use a tested
    distribution.

So, I sent a patch for meta-yocto [1]. We should try to resolve which
one is correct.

[1]: https://lore.kernel.org/poky/20260403-centos-9-v1-1-e5324bd74ea3@pbarker.dev/T/

Best regards,

-- 
Paul Barker


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

  reply	other threads:[~2026-04-06  8:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Paul Barker [this message]
2026-04-07 10:58   ` [yocto-patches] " Antonin Godard
2026-04-07 11:14     ` Richard Purdie
2026-04-08  7:25   ` Antonin Godard
2026-04-08 10:14     ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=054abea2ac9beedac71d4142a14f0bdf8fccec21.camel@pbarker.dev \
    --to=paul@pbarker.dev \
    --cc=antonin.godard@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yoann.congal@smile.fr \
    --cc=yocto-patches@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.