From 17a5c6e1446c6fa712e752435b25c50b602077d9 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Sun, 10 Aug 2025 18:22:23 +0200 Subject: [PATCH] ci/vagrant: install vanilla kernel for Fedora Rawhide test We need at least 6.16 to test MADV_GUARD_INSTALL support, but our current Fedora Rawhide test uses only Rawhide's user space, while using Fedora 42 kernel. Let's start using a vanilla kernel. Suggested-by: Adrian Reber Signed-off-by: Alexander Mikhalitsyn --- scripts/ci/vagrant.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/ci/vagrant.sh b/scripts/ci/vagrant.sh index 008a01fb3..98942e756 100755 --- a/scripts/ci/vagrant.sh +++ b/scripts/ci/vagrant.sh @@ -66,6 +66,10 @@ fedora-no-vdso() { } fedora-rawhide() { + # Upgrade the kernel to the latest vanilla one + ssh default sudo dnf -y copr enable @kernel-vanilla/stable + ssh default sudo dnf upgrade -y + # The 6.2 kernel of Fedora 38 in combination with rawhide userspace breaks # zdtm/static/socket-tcp-nfconntrack. To activate the new kernel previously # installed this reboots the VM.