Whamcloud - gitweb
LU-11068 build: remove invalid kernel srpm location
[fs/lustre-release.git] / contrib / lbuild / lbuild
index db3795f..aab593e 100755 (executable)
@@ -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 \