Temporary downgrade kernel to 6.7 for integration tests

There's something wrong with the 6.8 kernel, so let's temporarily
downgrade to 6.7 until I figure out what's going on.
This commit is contained in:
Frantisek Sumsal 2024-01-10 21:56:01 +01:00 committed by mrc0mmand
commit ce24963022

View file

@ -10,6 +10,15 @@ pushd "$WORKDIR"
# shellcheck disable=SC2064
trap "chmod -R o+rX $TMT_TEST_DATA" EXIT
if [[ "${TMT_REBOOT_COUNT:?}" -eq 0 ]]; then
# Temporary workaround for a borked 6.8 kernel
koji download-build --arch=x86_64 kernel-6.7.0-68.fc40
rm -f ./kernel-*debug*.rpm
dnf -y install ./kernel*.rpm
grubby --set-default /boot/vmlinuz-6.7.0-68.fc40.x86_64
tmt-reboot
fi
# Switch SELinux to permissive, since the tests don't set proper contexts
setenforce 0