integ/filesystem/drbd/drbd-tools/centos/patches/0005_915-drbd-overview.patch
Takamasa Takenaka b24095eccc DRBD upversion from 8.4 to 9.15
- Upversion code tar from 8.4 to 9.15
- Modify drbd.spec to apply code patches
- Porting 8.4 code patches to 9.15
  (Combine several current patches by target file)
Test
- drbd resize operation. Ensure no outstanding alarms
  and drbd-overview indicates insync; and 'sudo lvs'
  indicates resized correctly
- drbd resize operation prior to upgrade and then
  performing the upgrade.
  e.g. drbd may be resized via
       'system controllerfs-modify etcd=<largervalue>',
       when both controllers are
       unlocked-enabled-available

Story: 2009067
Task: 42873

Depends-On: https://review.opendev.org/806736
Signed-off-by: Takamasa Takenaka <takamasa.takenaka@windriver.com>
Change-Id: I25cb46e4b77f90c91d5d7e4dcfa79125776163d1
2021-09-16 14:14:27 -03:00

26 lines
887 B
Diff

diff --git a/scripts/Makefile.in b/scripts/Makefile.in
index fc2e597..911ae7b 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;