summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/multipath-tools
diff options
context:
space:
mode:
authorKrisztian Litkey <krisztian.litkey@intel.com>2017-04-20 18:17:50 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-26 20:13:28 +0200
commitd1d2775a3a7b2e83ee3caf9e5c24dcaa16bbbedc (patch)
tree99cfed65b4d2afa223fa292e4c6b7185dd24a674 /meta-oe/recipes-support/multipath-tools
parent33310f28907d4d7c493e4649cf6fbb7a526c034b (diff)
downloadmeta-openembedded-d1d2775a3a7b2e83ee3caf9e5c24dcaa16bbbedc.tar.gz
multipath-tools: don't blindly assume base_sbindir to be /sbin.
Don't blindly assume base_sbindir is /sbin. Pass its real value instead to the build process to make sure binaries end up in the right place even when base_sbin happens to point somewhere else. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools')
-rw-r--r--meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
index a63982ec2..838a47af7 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
@@ -39,6 +39,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
39# 39#
40EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \ 40EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
41 OPTFLAGS="${CFLAGS}" \ 41 OPTFLAGS="${CFLAGS}" \
42 bindir=${base_sbindir} \
42 LIB=${base_libdir} libdir=${base_libdir}/multipath \ 43 LIB=${base_libdir} libdir=${base_libdir}/multipath \
43 unitdir=${systemd_system_unitdir} \ 44 unitdir=${systemd_system_unitdir} \
44 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \ 45 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \