[RESENT PATCH 1/1] Makefile: install mdadm_env.sh to /usr/lib/mdadm

DORMANTno replies REVIEWED: 1 (1M)

From: Petr Vorel <pvorel@suse.cz>
Date: 2020-02-24 13:36:25
Subsystem: kernel build + files below scripts/ (unless maintained elsewhere), the rest · Maintainers: Nathan Chancellor, Nicolas Schier, Linus Torvalds

1 review trailer.

From: colyli <redacted>

Current Makefile installs mdadm_env.sh to /usr/libexec/mdadm but calls it
from /usr/lib/mdadm. This patch changes the installation directory to
/usr/lib/mdadm to make things working.

Fixes: f93b797 ("Move mdadm_env.sh out of /usr/lib/systemd")

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Coly Li <redacted>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index a33319a..0f2fffd 100644
--- a/Makefile
+++ b/Makefile
@@ -91,7 +91,7 @@ MDMON_DIR = $(RUN_DIR)
 # place for autoreplace cookies
 FAILED_SLOTS_DIR = $(RUN_DIR)/failed-slots
 SYSTEMD_DIR=/lib/systemd/system
-LIB_DIR=/usr/libexec/mdadm
+LIB_DIR=/usr/lib/mdadm
 
 COROSYNC:=$(shell [ -d /usr/include/corosync ] || echo -DNO_COROSYNC)
 DLM:=$(shell [ -f /usr/include/libdlm.h ] || echo -DNO_DLM)
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help