Skip to contentSkip to conversation

drbd-utils: update to 9.8.0

PATCH In review Oleksandr Kravchuk 2 participants 3 messages Apr 7, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drbd-utils: update to 9.8.0

---
 ...tools-only-rmmod-if-DRBD-is-a-module.patch | 43 -------------------
 ...rbd-utils_9.5.0.bb => drbd-utils_9.8.0.bb} |  7 ++-
 2 files changed, 3 insertions(+), 47 deletions(-)
 delete mode 100644 meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch
 rename meta-networking/recipes-support/drbd/{drbd-utils_9.5.0.bb => drbd-utils_9.8.0.bb} (91%)
meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch deleted +0 -43
deleted file mode 100644
index c0f3adf24..000000000
@@ -1,43 +0,0 @@
-Subject: drbd-tools: only rmmod if DRBD is a module
-
-Account for the case if the DRBD drive is built into
-the kernel. Otherwise, errors, like the following,
-will occur:
-
-root@localhost:~# /etc/init.d/drbd stop
-    Stopping all DRBD resources: ERROR: Module drbd 
-    does not exist in /proc/modules
-
-Upstream-Status: Submitted [https://github.com/LINBIT/drbd-utils/pull/2]
-
-Signed-off-by: Aws Ismail <[email protected]>
-Signed-off-by: Jason Wessel <[email protected]>
-
-[ refresh to 8.4.4: squash Aws' and Jason's patches ]
-Signed-off-by: Michel Thebeau <[email protected]>
-
-Signed-off-by: Chen Qi <[email protected]>
-Signed-off-by: Changqing Li <[email protected]>
-
----
- scripts/drbd | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/scripts/drbd b/scripts/drbd
-index 20bf628..de589dc 100755
---- a/scripts/drbd
-+++ b/scripts/drbd
-@@ -241,7 +241,9 @@ case "$1" in
- 		if [ -d /sys/module/drbd/holders ]; then
- 			(cd /sys/module/drbd/holders; for tr in *; do [ -d ${tr} ] && ${RMMOD} ${tr}; done)
- 		fi
--		$RMMOD drbd && break
-+		if [ ! -z "$(cat /proc/modules | grep -w drbd)" ]; then
-+			$RMMOD drbd && break
-+		fi
- 	    fi
- 	done
- 	run_hook stop
--- 
-1.9.1
-
meta-networking/recipes-support/drbd/drbd-utils_9.8.0.bb renamed from meta-networking/recipes-support/drbd/drbd-utils_9.5.0.bb +3 -4
similarity index 91%
rename from meta-networking/recipes-support/drbd/drbd-utils_9.5.0.bb
rename to meta-networking/recipes-support/drbd/drbd-utils_9.8.0.bb
index bd1e8576f..a781e2791 100644
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
 
 SRC_URI = "git://github.com/LINBIT/drbd-utils;name=drbd-utils \
            git://github.com/LINBIT/drbd-headers;name=drbd-headers;destsuffix=git/drbd-headers \
-           file://0001-drbd-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch \
           "
-# v9.5.0
-SRCREV_drbd-utils = "ee126652638328b55dc6bff47d07d6161ab768db"
-SRCREV_drbd-headers = "b47cc11bcabe1a65c40ad23f71dcaf2da6419630"
+# v9.8.0
+SRCREV_drbd-utils = "c30216b49330216bf8a567b7727da6e24f099f08"
+SRCREV_drbd-headers = "2357a11fb49bcbadf6b490e6d4cfe982a3d24813"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 drbd: update to 9.0.17-1

---
 .../drbd/{drbd_9.0.16-1.bb => drbd_9.0.17-1.bb}               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/drbd/{drbd_9.0.16-1.bb => drbd_9.0.17-1.bb} (83%)
meta-networking/recipes-support/drbd/drbd_9.0.17-1.bb renamed from meta-networking/recipes-support/drbd/drbd_9.0.16-1.bb +2 -2
similarity index 83%
rename from meta-networking/recipes-support/drbd/drbd_9.0.16-1.bb
rename to meta-networking/recipes-support/drbd/drbd_9.0.17-1.bb
index 8794c4f91..d6750ab2f 100644
@@ -11,8 +11,8 @@ DEPENDS = "virtual/kernel"
 SRC_URI = "http://www.linbit.com/downloads/drbd/9.0/drbd-${PV}.tar.gz \
            file://check_existence_of_modules_before_installing.patch"
 
-SRC_URI[md5sum] = "6414a9eef2807c8210b6403e36ce3ea4"
-SRC_URI[sha256sum] = "6074b0d643f4bbae4641d3b4bc30f4840e74f2a212dd9c6555b8141e530e5789"
+SRC_URI[md5sum] = "ae8d5030760b2820a4b3e250447890a0"
+SRC_URI[sha256sum] = "86dd6cc0fdc8123056a3bb67a634cd7ba62a7b05b23caab9995cce7730891da8"
 
 inherit module
 
Signature · 1 line
2.17.1
#2 lore raw
In reply to Oleksandr Kravchuk
Quoted 3 lines · Oleksandr Kravchuk
---
 ...tools-only-rmmod-if-DRBD-is-a-module.patch | 43 -------------------

missing not about the above patch being removed.

Quoted 76 lines
 ...rbd-utils_9.5.0.bb => drbd-utils_9.8.0.bb} |  7 ++-
 2 files changed, 3 insertions(+), 47 deletions(-)
 delete mode 100644 meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch
 rename meta-networking/recipes-support/drbd/{drbd-utils_9.5.0.bb => drbd-utils_9.8.0.bb} (91%)
meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch deleted +0 -43
deleted file mode 100644
index c0f3adf24..000000000
@@ -1,43 +0,0 @@
-Subject: drbd-tools: only rmmod if DRBD is a module
-
-Account for the case if the DRBD drive is built into
-the kernel. Otherwise, errors, like the following,
-will occur:
-
-root@localhost:~# /etc/init.d/drbd stop
-    Stopping all DRBD resources: ERROR: Module drbd 
-    does not exist in /proc/modules
-
-Upstream-Status: Submitted [https://github.com/LINBIT/drbd-utils/pull/2]
-
-Signed-off-by: Aws Ismail <[email protected]>
-Signed-off-by: Jason Wessel <[email protected]>
-
-[ refresh to 8.4.4: squash Aws' and Jason's patches ]
-Signed-off-by: Michel Thebeau <[email protected]>
-
-Signed-off-by: Chen Qi <[email protected]>
-Signed-off-by: Changqing Li <[email protected]>
-
----
- scripts/drbd | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/scripts/drbd b/scripts/drbd
-index 20bf628..de589dc 100755
---- a/scripts/drbd
-+++ b/scripts/drbd
-@@ -241,7 +241,9 @@ case "$1" in
- 		if [ -d /sys/module/drbd/holders ]; then
- 			(cd /sys/module/drbd/holders; for tr in *; do [ -d ${tr} ] && ${RMMOD} ${tr}; done)
- 		fi
--		$RMMOD drbd && break
-+		if [ ! -z "$(cat /proc/modules | grep -w drbd)" ]; then
-+			$RMMOD drbd && break
-+		fi
- 	    fi
- 	done
- 	run_hook stop
--- 
-1.9.1
-
meta-networking/recipes-support/drbd/drbd-utils_9.8.0.bb renamed from meta-networking/recipes-support/drbd/drbd-utils_9.5.0.bb +3 -4
similarity index 91%
rename from meta-networking/recipes-support/drbd/drbd-utils_9.5.0.bb
rename to meta-networking/recipes-support/drbd/drbd-utils_9.8.0.bb
index bd1e8576f..a781e2791 100644
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
 
 SRC_URI = "git://github.com/LINBIT/drbd-utils;name=drbd-utils \
            git://github.com/LINBIT/drbd-headers;name=drbd-headers;destsuffix=git/drbd-headers \
-           file://0001-drbd-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch \
           "
-# v9.5.0
-SRCREV_drbd-utils = "ee126652638328b55dc6bff47d07d6161ab768db"
-SRCREV_drbd-headers = "b47cc11bcabe1a65c40ad23f71dcaf2da6419630"
+# v9.8.0
+SRCREV_drbd-utils = "c30216b49330216bf8a567b7727da6e24f099f08"
+SRCREV_drbd-headers = "2357a11fb49bcbadf6b490e6d4cfe982a3d24813"
 
 S = "${WORKDIR}/git"