Skip to contentSkip to conversation

Makefile: install mdadm_env.sh to /usr/lib/mdadm

PATCH New Petr Vorel 1 participant 1 message Feb 24, 2020

Subsystems (2)
lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

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

From: colyli <[email protected]>

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")
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index a33319a..0f2fffd 100644
@@ -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)
Signature · 1 line
2.25.1