X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=contrib%2Flbuild%2Ffuncs.sh;h=cd1be96f73de00ae585b148040bd669ec43a7710;hp=b3e033f262f65e841f83eec1c70d218fe2e5aebe;hb=7c800e460661972925a7acab51f023d0b38161b5;hpb=3b3eeeb08407588c75e47a751a72fad6ac7d78f2 diff --git a/contrib/lbuild/funcs.sh b/contrib/lbuild/funcs.sh index b3e033f..cd1be96 100644 --- a/contrib/lbuild/funcs.sh +++ b/contrib/lbuild/funcs.sh @@ -192,6 +192,7 @@ autodetect_target() { case ${distro} in oel5*) target="2.6-oel5";; rhel5*) target="2.6-rhel5";; + rhel6.9) target="2.6-rhel6.9";; rhel6.8) target="2.6-rhel6.8";; rhel6.7) target="2.6-rhel6.7";; rhel6.6) target="2.6-rhel6.6";; @@ -201,7 +202,8 @@ autodetect_target() { sles11.4) target="$(uname -r | cut -d . -f 1,2)-sles11sp4";; sles11.3) target="$(uname -r | cut -d . -f 1,2)-sles11sp3";; sles11*) target="$(uname -r | cut -d . -f 1,2)-sles11";; - sles12*) target="$(uname -r | cut -d . -f 1,2)-sles12";; + sles12.3) target="$(uname -r | cut -d . -f 1,2)-sles12sp3";; + sles12*) target="$(uname -r | cut -d . -f 1,2)-sles12";; fc15) target="2.6-fc15";; fc18) target="3.x-fc18";; *) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;