Skip to contentSkip to conversation

poky: Fix CentOS Stream 9 distro name

PATCH In review Paul Barker 2 participants 3 messages Apr 3 – Apr 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky: Fix CentOS Stream 9 distro name

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
---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky.conf +1 -1
index 5e1dc28c25fa..3c0b2c932e45 100644
@@ -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,

Signature · 1 line
Paul Barker
#1 lore raw
Quoted 9 lines · Paul Barker via lists.yoctoproject.org

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

---

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/[email protected]/
?

Quoted 24 lines
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky.conf +1 -2
index 5e1dc28c25fa..3c0b2c932e45 100644
@@ -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,

Signature · 1 line
Paul Barker
Signature · 2 lines
Yoann Congal
Smile ECS
#2 lore raw
Quoted 8 lines · Yoann Congal via lists.yoctoproject.org
Quoted 7 lines · Paul Barker via lists.yoctoproject.org

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
Quoted 7 lines
Quoted 2 lines

---

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/[email protected]/
?

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,

Signature · 1 line
Paul Barker