From 64d6da9f283f925fcf363340ef801cfaa9e4f0e2 Mon Sep 17 00:00:00 2001 From: Jo Zzsi Date: Tue, 28 Jan 2025 18:04:44 -0500 Subject: [PATCH] ci: move distro specific workarounds to the containerfiles Follow-up to cfe8b21. Debian and Uunbtu container worked well, but ubuntu:rolling and ubuntu:devel did not. I tested this PR on ubuntu:rolling. --- test/container/Dockerfile-debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/container/Dockerfile-debian b/test/container/Dockerfile-debian index ccc1274a9..166225389 100644 --- a/test/container/Dockerfile-debian +++ b/test/container/Dockerfile-debian @@ -102,5 +102,5 @@ RUN \ # workaround for kernel-install RUN \ KVERSION="$(cd /lib/modules && ls -1 | tail -1)" \ - ; ! [ -e /usr/lib/modules/"$KVERSION"/vmlinuz ] && ln -sf /boot/vmlinuz /usr/lib/modules/"$KVERSION"/vmlinuz \ - ; ! [ -e /usr/lib/modules/"$KVERSION"/vmlinuz ] && ln -sf /boot/vmlinuz-"$KVERSION" /usr/lib/modules/"$KVERSION"/vmlinuz + ; if ! [ -e /usr/lib/modules/"$KVERSION"/vmlinuz ]; then ln -sf /boot/vmlinuz /usr/lib/modules/"$KVERSION"/vmlinuz; fi \ + ; if ! [ -e /usr/lib/modules/"$KVERSION"/vmlinuz ]; then ln -sf /boot/vmlinuz-"$KVERSION" /usr/lib/modules/"$KVERSION"/vmlinuz; fi -- 2.47.3