| Message ID | 20260403-centos-9-v1-1-e5324bd74ea3@pbarker.dev (mailing list archive) |
|---|---|
| State | New |
| Headers | show |
| Series | poky: Fix CentOS Stream 9 distro name | expand |
On Fri Apr 3, 2026 at 1:59 PM CEST, Paul Barker via lists.yoctoproject.org wrote: > CentOS Stream 9 reports as `centos-9`, not `centosstream-9`. > > On our stream9-vk-1 autobuilder worker: > > $ ( source /etc/os-release && echo $ID-$VERSION_ID ) > centos-9 > > Signed-off-by: Paul Barker <paul@pbarker.dev> > --- Isn't that conflicting or redundant with [yocto-autobuilder-helper][PATCH] scripts/yocto-supported-distros: fix an incorrect regular expression for stream - Antonin Godard https://lore.kernel.org/all/20260326-ysd-fix-centos-regexp-v1-1-e41c6cbe1a18@bootlin.com/ ? > meta-poky/conf/distro/poky.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf > index 5e1dc28c25fa..3c0b2c932e45 100644 > --- a/meta-poky/conf/distro/poky.conf > +++ b/meta-poky/conf/distro/poky.conf > @@ -42,7 +42,7 @@ SANITY_TESTED_DISTROS ?= " \ > fedora-41 \n \ > fedora-42 \n \ > fedora-43 \n \ > - centosstream-9 \n \ > + centos-9 \n \ > debian-11 \n \ > debian-12 \n \ > debian-13 \n \ > > --- > base-commit: ac300baea7314ea3c80f2330b2a993f729f32150 > change-id: 20260403-centos-9-c7f3eafdc15b > > Best regards, > -- > Paul Barker
On Fri, 2026-04-03 at 19:25 +0200, Yoann Congal via lists.yoctoproject.org wrote: > On Fri Apr 3, 2026 at 1:59 PM CEST, Paul Barker via lists.yoctoproject.org wrote: > > CentOS Stream 9 reports as `centos-9`, not `centosstream-9`. > > > > On our stream9-vk-1 autobuilder worker: > > > > $ ( source /etc/os-release && echo $ID-$VERSION_ID ) > > centos-9 > > > > Signed-off-by: Paul Barker <paul@pbarker.dev> > > --- > > Isn't that conflicting or redundant with > [yocto-autobuilder-helper][PATCH] scripts/yocto-supported-distros: fix an incorrect regular expression for stream - Antonin Godard > https://lore.kernel.org/all/20260326-ysd-fix-centos-regexp-v1-1-e41c6cbe1a18@bootlin.com/ > ? Hi Yoann, I'm basing this on the distro ID and version reported on a local centos stream 9 container as well as the stream9-vk-1 autobuilder worker. Both report as centos-9, not centosstream-9. If I run a build on centos stream 9, I see the warning about an untested distro: 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. I'll follow up with Antonin. Best regards,
diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf index 5e1dc28c25fa..3c0b2c932e45 100644 --- a/meta-poky/conf/distro/poky.conf +++ b/meta-poky/conf/distro/poky.conf @@ -42,7 +42,7 @@ SANITY_TESTED_DISTROS ?= " \ fedora-41 \n \ fedora-42 \n \ fedora-43 \n \ - centosstream-9 \n \ + centos-9 \n \ debian-11 \n \ debian-12 \n \ debian-13 \n \
CentOS Stream 9 reports as `centos-9`, not `centosstream-9`. On our stream9-vk-1 autobuilder worker: $ ( source /etc/os-release && echo $ID-$VERSION_ID ) centos-9 Signed-off-by: Paul Barker <paul@pbarker.dev> --- meta-poky/conf/distro/poky.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: ac300baea7314ea3c80f2330b2a993f729f32150 change-id: 20260403-centos-9-c7f3eafdc15b Best regards, -- Paul Barker