Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-14129 kernel: kernel update RHEL7.9 [3.10.0-1160.6.1.el7]
[fs/lustre-release.git]
/
contrib
/
lbuild
/
funcs.sh
diff --git
a/contrib/lbuild/funcs.sh
b/contrib/lbuild/funcs.sh
index
88788ae
..
5f729ef
100644
(file)
--- a/
contrib/lbuild/funcs.sh
+++ b/
contrib/lbuild/funcs.sh
@@
-190,22
+190,17
@@
autodetect_target() {
local target=""
case ${distro} in
local 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";;
- rhel6*) target="2.6-rhel6";;
rhel7*) target="3.10-rhel7";;
rhel7*) target="3.10-rhel7";;
-
sles10*) target="2.6-sles10
";;
+
rhel8*) target="4.18-rhel8
";;
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";;
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.5) target="$(uname -r | cut -d . -f 1,2)-sles12sp5";;
sles12.4) target="$(uname -r | cut -d . -f 1,2)-sles12sp4";;
sles12.3) target="$(uname -r | cut -d . -f 1,2)-sles12sp3";;
sles12*) target="$(uname -r | cut -d . -f 1,2)-sles12";;
sles12.4) target="$(uname -r | cut -d . -f 1,2)-sles12sp4";;
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";;
+ sles15.1) target="$(uname -r | cut -d . -f 1,2)-sles15sp1";;
+ sles15.2) target="$(uname -r | cut -d . -f 1,2)-sles15sp2";;
fc18) target="3.x-fc18";;
*) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
esac
fc18) target="3.x-fc18";;
*) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
esac