From 122445fc543a09ceffba54cb2056fc0f222e8501 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sun, 17 Aug 2025 18:31:44 +0200 Subject: [PATCH] support/testing: test_systemd_selinux: fix test after bootlin toolchains update Since Buildroot commit [1] "update to Bootlin toolchains 2025.08-1", the tests.init.test_systemd_selinux fails when building its Kernel 6.1.26 with gcc 15.1.0. This commit fixes the issue by updating the test Kernel to the latest 6.1.y version (6.1.148 at the time of this commit) which includes several fixes for gcc-15 like this one [2]. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/10984685949 https://gitlab.com/buildroot.org/buildroot/-/jobs/10984685950 [1] https://gitlab.com/buildroot.org/buildroot/-/commit/947dbc92a20c5acea7882166cae7893e6ea661e1 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0f82f6f1556389d6489795f03ac3f68cde99d5ad Signed-off-by: Julien Olivain [Romain: Add a link to one of the kernel commit related to gcc-15] Signed-off-by: Romain Naour (cherry picked from commit 8d6f9393ec2ad039554b32b8c7da192559c7887a) Signed-off-by: Thomas Perale --- support/testing/tests/init/test_systemd_selinux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/testing/tests/init/test_systemd_selinux.py b/support/testing/tests/init/test_systemd_selinux.py index e9bb3405cd..398cfbaa82 100644 --- a/support/testing/tests/init/test_systemd_selinux.py +++ b/support/testing/tests/init/test_systemd_selinux.py @@ -12,7 +12,7 @@ class TestSELinuxSystemd(infra.basetest.BRTest): BR2_INIT_SYSTEMD=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.26" + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.148" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y