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-20 build: fix confirmpatches, remove old patches
[fs/lustre-release.git]
/
build
/
funcs.sh
diff --git
a/build/funcs.sh
b/build/funcs.sh
index
09292d0
..
0a1571f
100644
(file)
--- a/
build/funcs.sh
+++ b/
build/funcs.sh
@@
-144,6
+144,9
@@
autodetect_distro() {
"SUSE LINUX")
name="sles"
;;
"SUSE LINUX")
name="sles"
;;
+ "Fedora")
+ name="fc"
+ ;;
*)
fatal 1 "I don't know what distro name $name and version $version is.\nEither update autodetect_distro() or use the --distro argument."
;;
*)
fatal 1 "I don't know what distro name $name and version $version is.\nEither update autodetect_distro() or use the --distro argument."
;;
@@
-181,7
+184,8
@@
autodetect_target() {
rhel5) target="2.6-rhel5";;
rhel6) target="2.6-rhel6";;
sles10) target="2.6-sles10";;
rhel5) target="2.6-rhel5";;
rhel6) target="2.6-rhel6";;
sles10) target="2.6-sles10";;
- sles11) target="2.6-sles11";;
+ sles11) target="$(uname -r | cut -d . -f 1,2)-sles11";;
+ fc15) target="2.6-fc15";;
*) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
esac
*) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
esac