Whamcloud - gitweb
LU-17109 kernel: new kernel [SLES15 SP5 5.14.21-150500.55.22.1]
[fs/lustre-release.git] / contrib / lbuild / funcs.sh
index 8db9532..d83eb8b 100644 (file)
@@ -165,7 +165,7 @@ autodetect_distro() {
                if [[ "$lts_sp" != "n/a" ]]; then
                        lts_sp=${lts_sp##*-}
                        lts_sp=${lts_sp,,}
-                       version="${version}${lts_sp}"
+                       version="${version}.${lts_sp}"
                fi
                ;;
             *)
@@ -220,9 +220,11 @@ autodetect_target() {
         sles15.2) target="$(uname -r | cut -d . -f 1,2)-sles15sp2";;
         sles15.3) target="$(uname -r | cut -d . -f 1,2)-sles15sp3";;
        sles15.4) target="$(uname -r | cut -d . -f 1,2)-sles15sp4";;
+       sles15.5) target="$(uname -r | cut -d . -f 1,2)-sles15sp5";;
           fc18)   target="3.x-fc18";;
          oe2203) target="5.10-oe2203";;
-       oe2203sp1) target="5.10-oe2203sp1";;
+       oe2203.sp1) target="5.10-oe2203sp1";;
+       oe2203.sp2) target="5.10-oe2203sp2";;
              *)   fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
     esac