Skip to content

Commit 17a5c6e

Browse files
mihalicynrst0git
authored andcommitted
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 <[email protected]> Signed-off-by: Alexander Mikhalitsyn <[email protected]>
1 parent d0f5da9 commit 17a5c6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/ci/vagrant.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ fedora-no-vdso() {
6666
}
6767

6868
fedora-rawhide() {
69+
# Upgrade the kernel to the latest vanilla one
70+
ssh default sudo dnf -y copr enable @kernel-vanilla/stable
71+
ssh default sudo dnf upgrade -y
72+
6973
# The 6.2 kernel of Fedora 38 in combination with rawhide userspace breaks
7074
# zdtm/static/socket-tcp-nfconntrack. To activate the new kernel previously
7175
# installed this reboots the VM.

0 commit comments

Comments
 (0)