All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <yocto-patches@lists.yoctoproject.org>
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: Tue, 07 Apr 2026 12:58:50 +0200	[thread overview]
Message-ID: <DHMVBNW8H8K0.CQXRP80OH374@bootlin.com> (raw)
In-Reply-To: <054abea2ac9beedac71d4142a14f0bdf8fccec21.camel@pbarker.dev>

Hi,

On Mon Apr 6, 2026 at 10:49 AM CEST, Paul Barker wrote:
> 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?

In meta-yocto :)

> 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/

Your fix to meta-yocto is the correct one. I didn't realize the issue was in
meta-yocto at first, and yocto-supported-distros uses meta-yocto as input.

This means that this commit can be reverted from yocto-autobuilder-helper. I'll
send a patch when yours is applied to meta-yocto.

Antonin


  reply	other threads:[~2026-04-07 10:59 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 ` [yocto-patches] " Paul Barker
2026-04-07 10:58   ` Antonin Godard [this message]
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=DHMVBNW8H8K0.CQXRP80OH374@bootlin.com \
    --to=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.