[meta-yocto][scarthgap 1/1] poky: Fix CentOS Stream distro names

Yoann Congal <[email protected]> Fri, 24 Apr 2026 23:05:49 +0200
Newsgroups org.yoctoproject.lists.poky
Message-ID <0845965f1d81d22d47dcf28c525c7463fafe5245.1777064702.git.yoann.congal@smile.fr>
From: Antonin Godard <[email protected]>

CentOS Stream 8 and 9 report as `centos-8/9`, not `centosstream-8.9`.

On our stream9-vk-1 autobuilder worker:

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

We don't have running CentOS Stream 8 workers anymore, but from a local docker
container:

$ docker run --rm -it quay.io/centos/centos:stream8 bash
[root@c33732bb804a /]# cat /etc/os-release
....
ID="centos"
VERSION_ID="8"

Signed-off-by: Antonin Godard <[email protected]>
Signed-off-by: Yoann Congal <[email protected]>
---
 meta-poky/conf/distro/poky.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 2c2e7bed..177a637e 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -43,8 +43,8 @@ SANITY_TESTED_DISTROS ?= " \
             fedora-39 \n \
             fedora-40 \n \
             fedora-41 \n \
-            centosstream-8 \n \
-            centosstream-9 \n \
+            centos-8 \n \
+            centos-9 \n \
             debian-11 \n \
             debian-12 \n \
             opensuseleap-15.4 \n \