e861e7137f
CentOS version was upversioned and is very close to the Debian package. Copied all patches. 1 needed small adjustment. Needed to enable lintian overrides for upstream package. Copied the drbd.service file from CentOS. Did build drbd-utils. Did build iso. Story: 2009101 Task: 43496 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: I44d5b67deb43b2894e7c0213666d54636f39cd40
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
From a2b14b7753e83a2cec7eacb583c242c6e4832603 Mon Sep 17 00:00:00 2001
|
|
From: Dan Voiculeasa <dan.voiculeasa@windriver.com>
|
|
Date: Thu, 30 Sep 2021 14:24:42 +0300
|
|
Subject: [PATCH 5/5] drbd overview
|
|
|
|
Clean copy of 0005_915-drbd-overview.patch from CentOS.
|
|
|
|
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
|
|
---
|
|
scripts/Makefile.in | 1 +
|
|
scripts/drbd-overview.pl | 2 --
|
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/scripts/Makefile.in b/scripts/Makefile.in
|
|
index e2c6767..6fb6f98 100644
|
|
--- a/scripts/Makefile.in
|
|
+++ b/scripts/Makefile.in
|
|
@@ -102,6 +102,7 @@ endif
|
|
$(LN_S) -f notify.sh notify-emergency-reboot.sh ;\
|
|
$(LN_S) -f notify.sh notify-emergency-shutdown.sh ;\
|
|
$(LN_S) -f notify.sh notify-out-of-sync.sh; )
|
|
+ install -m 755 drbd-overview.pl $(DESTDIR)$(sbindir)/drbd-overview
|
|
ifeq ($(DISTRO),debian)
|
|
@ echo "Don't forget to run update-rc.d"
|
|
else
|
|
diff --git a/scripts/drbd-overview.pl b/scripts/drbd-overview.pl
|
|
index 3d2a397..22abdf4 100755
|
|
--- a/scripts/drbd-overview.pl
|
|
+++ b/scripts/drbd-overview.pl
|
|
@@ -413,8 +413,6 @@ eval {
|
|
warn "unrecognized value for --color" unless $use_colors =~ /^[01]$/;
|
|
};
|
|
|
|
-print STDERR "NOTE: drbd-overview will be deprecated soon.\nPlease consider using drbdtop.\n\n";
|
|
-
|
|
open STDERR, "/dev/null"
|
|
if $stderr_to_dev_null;
|
|
|
|
--
|
|
2.30.0
|
|
|