2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00

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 <areber@redhat.com>
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
This commit is contained in:
Alexander Mikhalitsyn 2025-08-10 18:22:23 +02:00 committed by Radostin Stoyanov
parent d0f5da9dd7
commit 17a5c6e144

View File

@ -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.