testing: Fix kernel download URL for kernel versions != 4.x
This commit is contained in:
parent
10b5e8bb45
commit
c077642cbd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue