From 847efbab781710800c17398bac51adb986ef70ba Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Mon, 15 Apr 2019 20:36:04 -0500 Subject: [PATCH] pkgs: obs: SUSE: disable CONFIG_RETPOLINE SUSE does not support CONFIG_RETPOLINE. This has being failing for a while in order to allow the pipeline pass all the builds must be successful. Signed-off-by: Jose Carlos Venegas Munoz --- .../linux-container/kata-linux-container.spec-template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-packaging/linux-container/kata-linux-container.spec-template b/obs-packaging/linux-container/kata-linux-container.spec-template index 5aa1d367bc..dac7d1c79a 100644 --- a/obs-packaging/linux-container/kata-linux-container.spec-template +++ b/obs-packaging/linux-container/kata-linux-container.spec-template @@ -82,7 +82,7 @@ BuildKernel() { find kata-kernel-configs -name "${kernelArch}_kata_kvm_*" -exec cp {} .config \; [ -f .config ] || (echo "ERROR: cannot find the kernel config file for the ${kernelArch} architecture"; exit 1) - %if 0%{?rhel_version} + %if 0%{?rhel_version} || 0%{?suse_version} # RHEL in OBS has updated gcc. # https://github.com/kata-containers/packaging/pull/370#issuecomment-469620154 sed -i -e 's/CONFIG_RETPOLINE=y/CONFIG_RETPOLINE=n/g' .config