Merge pull request '[SLFO1.1] Fix package builds to meet maintenance exit criteria' (#58) from gleidi/SLFO_main:kernel-default into 1.1

Reviewed-on: https://src.suse.de/products/SLFO/pulls/58
Reviewed-by: Prokop Vlasin <prokop.vlasin@suse.com>
Reviewed-by: Marcus Rückert <mrueckert@suse.com>
This commit is contained in:
Marcus Rückert 2024-11-08 16:03:28 +01:00
commit 3f5fe8b1ec

14
_config
View File

@ -86,6 +86,13 @@ Macros:
# SUSE SLFO specific change
%if "%_project" == "SUSE:SLFO:1.1:Build" || "%{sub %_project 1 21}" == "SUSE:SLFO:1.1:Staging"
# blosc2 is broken on s390x
# disable it to meet maintenance exit criteria
%ifarch s390x
BuildFlags: excludebuild:blosc2
%endif
# no mono on SLFO
BuildFlags: excludebuild:gettext-runtime:gettext-csharp
BuildFlags: excludebuild:meson:test
@ -1210,7 +1217,12 @@ Prefer: -go1.21-openssl
Prefer: -go1.23
# have choice for kernel >= 4.1.0 needed by libbcc0: kernel-debug kernel-default kernel-default-base kernel-kvmsmall kernel-vanilla
Prefer: kernel-default-base
%ifarch s390x
# kernel-default-base does not boot on s390, s390 drivers are not included
Prefer: kernel-default
%else
Prefer: kernel-default-base
%endif
# have choice for (kmod(sg.ko) if kernel) needed by suse-module-tools: kernel-default kernel-vanilla
Prefer: -kernel-vanilla