From c077642cbd749716a174d906440ac3516ed723ad Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 19 May 2015 16:59:35 +0200 Subject: [PATCH] testing: Fix kernel download URL for kernel versions != 4.x --- testing/scripts/build-guestkernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/scripts/build-guestkernel b/testing/scripts/build-guestkernel index b408d7389..17f22bd83 100755 --- a/testing/scripts/build-guestkernel +++ b/testing/scripts/build-guestkernel @@ -14,7 +14,7 @@ cd $BUILDDIR if [ ! -f "$KERNELTARBALL" ] then - url=ftp://ftp.kernel.org/pub/linux/kernel/v4.x/$KERNELTARBALL + url=ftp://ftp.kernel.org/pub/linux/kernel/v${KERNELVERSION:0:1}.x/$KERNELTARBALL log_action "Downloading $url" execute "wget -q $url" fi