summaryrefslogtreecommitdiffstats
path: root/cluster/drbd
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/drbd')
-rwxr-xr-xcluster/drbd/DETAILS14
-rw-r--r--cluster/drbd/HISTORY4
2 files changed, 16 insertions, 2 deletions
diff --git a/cluster/drbd/DETAILS b/cluster/drbd/DETAILS
index cec2ab02ee..d808134f54 100755
--- a/cluster/drbd/DETAILS
+++ b/cluster/drbd/DETAILS
@@ -1,10 +1,20 @@
- SPELL=drbd
+. "$GRIMOIRE/FUNCTIONS" &&
-KERNEL_BRANCH=`get_kernel_version|cut -d . -f -3`
+local KERNEL_BRANCH=`get_kernel_version|cut -d . -f -3` &&
+ SPELL=drbd
if [[ $KERNEL_BRANCH == 2.6.33 ]] || [[ $KERNEL_BRANCH == 2.6.34 ]]; then
VERSION=8.3.7
SOURCE_HASH=sha512:9ea576ed6a75d80009ade0f9540535b2a65ecee6d38b1a85fa3146a97aac8cb3add31154e2921630aa75121c7115d66bdcf45adb8e0fa481bdb27c011b1c9b15
+elif [[ $KERNEL_BRANCH == 2.6.37 ]] || [[ $KERNEL_BRANCH == 2.6.38 ]]; then
+ VERSION=8.3.9
+ SOURCE_HASH=sha512:7d6545b3298f2af7cc6ba91a501a15f3232cb914619deae4ff5b09b14d59375015878c8794464cedee298b1209cee60a6bd16cca436471b20c0641cc2a6f2745
+elif [[ $KERNEL_BRANCH == 2.6.39 ]]; then
+ VERSION=8.3.10
+ SOURCE_HASH=sha512:8d904ada9c80732b47cbf149cf4172658d350856d8688f1dce92c16ce1c4e946a0b3b3a14bb3c9361684fc08b257207c58beaa2fdb534f2abf47ac45aa659389
+elif [[ ${KERNEL_BRANCH%%.*} == 3 ]]; then
+ VERSION=8.3.11
+ SOURCE_HASH=sha512:2bbf16d69e897adcb247d451f1d844993bdb3ad201027a588f9a45b4fe43fa2f6e98ed6063e8dccc92b9a231ccebf0af85a8671e5672fa710aa986e555ae896d
else
VERSION=8.3.8.1
SOURCE_HASH=sha512:c43c6d065328058db66f708d47ce082603b766deb1530c57aa736a42b4908f780ede41f76395ca45c2691ef1dfd142147a4c98a7bcdb26ba7de73b149d8f9f5f
diff --git a/cluster/drbd/HISTORY b/cluster/drbd/HISTORY
index f67a09d824..52e34ab2e9 100644
--- a/cluster/drbd/HISTORY
+++ b/cluster/drbd/HISTORY
@@ -1,3 +1,7 @@
+2012-03-04 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS: updated spell to 8.3.11; added older versions for different
+ kernels
+
2011-01-15 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 8.3.8.1/8.3.7 (use selection depending on
installed kernel branch)