Whamcloud - gitweb
New tag 2.6.53
[fs/lustre-release.git] / contrib / lbuild / lbuild-rhel6
index 137aaf2..4f8f2ab 100644 (file)
@@ -68,7 +68,7 @@ get_rpmbuildopts() {
 find_linux_rpm-rhel6() {
     local prefix="$1"
     local wanted_kernel="$2"
-    local pathtorpms=${3:-"${KERNELRPMSBASE}/${lnxmaj}/${DISTRO}/${TARGET_ARCH}"}
+    local pathtorpms=${3:-"$KERNELRPMSBASE/$lnxmaj/$DISTROMAJ/$TARGET_ARCH"}
 
     find_linux_rpm-rhel "$prefix" "$wanted_kernel" "$pathtorpms"
 
@@ -76,6 +76,6 @@ find_linux_rpm-rhel6() {
 
 kernel_srpm_location() {
 
-    echo "ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/"
+    echo "http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/"
 
 }