Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | From 97e776724ab9763c5bca9816370bb1635b7a8232 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Tue, 25 Jan 2022 16:25:01 +0800 |
| 4 | Subject: [PATCH] Makefile: install mdcheck |
| 5 | |
| 6 | The mdcheck_xxx.service files use mdcheck, but it's not installed. |
| 7 | We need to install this script. |
| 8 | |
| 9 | Upstream-Status: Submitted [Sent patch to maintainer] |
| 10 | |
| 11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 12 | --- |
| 13 | Makefile | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/Makefile b/Makefile |
| 17 | index 2a51d813..db40c7fd 100644 |
| 18 | --- a/Makefile |
| 19 | +++ b/Makefile |
| 20 | @@ -303,6 +303,7 @@ install-systemd: systemd/mdmon@.service |
| 21 | install-bin: mdadm mdmon |
| 22 | $(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm |
| 23 | $(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon |
| 24 | + $(INSTALL) -D -m 755 misc/mdcheck $(DESTDIR)/usr/share/mdadm/mdcheck |
| 25 | |
| 26 | uninstall: |
| 27 | rm -f $(DESTDIR)$(MAN8DIR)/mdadm.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 $(DESTDIR)$(MAN4DIR)/md.4 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 $(DESTDIR)$(BINDIR)/mdadm |
| 28 | -- |
| 29 | 2.17.1 |
| 30 | |