From: Minh Diep Date: Fri, 1 Jun 2018 17:56:56 +0000 (-0700) Subject: LU-11068 build: remove invalid kernel srpm location X-Git-Tag: 2.10.7-RC1~67 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F33314%2F3;p=fs%2Flustre-release.git LU-11068 build: remove invalid kernel srpm location The location has never been existed Lustre-change: https://review.whamcloud.com/32606 Lustre-commit: 8d150d1ca0db1e584511b795c03b5da7a2787b4d Change-Id: I8958bbdb5c61284c55d6cc337ac92832f91ee08b Signed-off-by: Minh Diep Reviewed-by: Bob Glossman Reviewed-by: Nathaniel Clark Reviewed-on: https://review.whamcloud.com/33314 Reviewed-by: Jian Yu Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/contrib/lbuild/lbuild b/contrib/lbuild/lbuild index b2f6405..72ef151 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.whamcloud.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 \