From 8d150d1ca0db1e584511b795c03b5da7a2787b4d Mon Sep 17 00:00:00 2001 From: Minh Diep Date: Fri, 1 Jun 2018 10:56:56 -0700 Subject: [PATCH] LU-11068 build: remove invalid kernel srpm location The location has never been existed Change-Id: I8958bbdb5c61284c55d6cc337ac92832f91ee08b Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/32606 Reviewed-by: Bob Glossman Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Nathaniel Clark Reviewed-by: Oleg Drokin --- contrib/lbuild/lbuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/lbuild/lbuild b/contrib/lbuild/lbuild index db3795f..aab593e 100755 --- a/contrib/lbuild/lbuild +++ b/contrib/lbuild/lbuild @@ -478,11 +478,12 @@ download_srpm() { # let the download_file handle the concurrency if $DOWNLOAD; then - local location= \ - "https://downloads.hpdd.intel.com/public/kernels/$target/old" + local location # get the location from a distro specific method if it exists if type -p kernel_srpm_location; then location=$(kernel_srpm_location) + else + fatal 1 "Must specify location for download kernel SRPM." fi echo "Downloading $location/$srpm..." if ! download_file \ -- 1.8.3.1