Whamcloud - gitweb
LU-9956 kernel: kernel upgrade [SLES12 SP3 4.4.82-6.3]
[fs/lustre-release.git] / contrib / lbuild / lbuild-sles12
index 091d6e4..4430a19 100644 (file)
@@ -20,6 +20,10 @@ kernel_srpm_location() {
        ;;
     4.4)
        site="http://mgmt/cobbler/repo_mirror/updates-sles12.2-src"
+       if [ ${lnxmin##.} -gt 80 ]
+       then
+               site="http://mgmt/cobbler/repo_mirror/updates-sles12.3-src"
+       fi
        ;;
     esac
     echo "$site/src/"
@@ -143,6 +147,10 @@ find_linux_rpm-sles12() {
        ;;
     4.4)
        site="http://mgmt/cobbler/repo_mirror/updates-sles12.2-x86_64"
+       if [ ${lnxmin##.} -gt 80 ]
+       then
+               site="http://mgmt/cobbler/repo_mirror/updates-sles12.3-x86_64"
+       fi
        ;;
     esac
     if [ ! -f $pathtorpms/kernel-default-devel-$wanted_kernel.$(resolve_arch $TARGET_ARCH).rpm ]; then