summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb
index 597faf787a..40fe376a79 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.1.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb
@@ -45,7 +45,7 @@ DEBUG_OPTIMIZATION_append = " -Wno-error"
45 45
46do_compile() { 46do_compile() {
47 # Point to right sbindir 47 # Point to right sbindir
48 sed -i -e "s;BINDIR = /sbin;BINDIR = $base_sbindir;" -e "s;UDEVDIR = /lib;UDEVDIR = $nonarch_base_libdir;" ${S}/Makefile 48 sed -i -e "s;BINDIR = /sbin;BINDIR = $base_sbindir;" -e "s;UDEVDIR = /lib;UDEVDIR = $nonarch_base_libdir;" -e "s;SYSTEMD_DIR=/lib/systemd/system;SYSTEMD_DIR=${systemd_unitdir}/system;" ${S}/Makefile
49 oe_runmake SYSROOT="${STAGING_DIR_TARGET}" 49 oe_runmake SYSROOT="${STAGING_DIR_TARGET}"
50} 50}
51 51
@@ -93,4 +93,4 @@ RRECOMMENDS_${PN}-ptest += " \
93 kernel-module-raid456 \ 93 kernel-module-raid456 \
94" 94"
95 95
96FILES_${PN} += "/lib/systemd/*" 96FILES_${PN} += "${systemd_unitdir}/*"