summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/multipath-tools
diff options
context:
space:
mode:
authorAmarnath Valluri <amarnath.valluri@intel.com>2017-02-24 10:14:59 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-02-28 12:34:15 +0100
commitd8bb36abe8fb9d3d8da2fdbdc7b9ddefce1acc7f (patch)
tree753c1b2da63635d525b2a96936fa476c18d56f54 /meta-oe/recipes-support/multipath-tools
parent45e1eeb4ba3f75b90de6a44d362ad1fd4a5b5877 (diff)
downloadmeta-openembedded-d8bb36abe8fb9d3d8da2fdbdc7b9ddefce1acc7f.tar.gz
multipath-tools: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.
Signed-off-by: Amarnath Valluri <amarnath.valluri@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.bb7
1 files changed, 4 insertions, 3 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 effd92e4e..a63982ec2 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
@@ -40,7 +40,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
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 LIB=${base_libdir} libdir=${base_libdir}/multipath \ 42 LIB=${base_libdir} libdir=${base_libdir}/multipath \
43 unitdir=/lib/systemd/system \ 43 unitdir=${systemd_system_unitdir} \
44 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \ 44 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \
45 ' 45 '
46 46
@@ -59,11 +59,12 @@ FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
59# systemd and udev stuff always goes under /lib! 59# systemd and udev stuff always goes under /lib!
60# 60#
61FILES_${PN} += "${base_libdir}/multipath \ 61FILES_${PN} += "${base_libdir}/multipath \
62 /lib/systemd" 62 ${systemd_system_unitdir} \
63 "
63 64
64PACKAGES =+ "kpartx" 65PACKAGES =+ "kpartx"
65FILES_kpartx = "${base_sbindir}/kpartx \ 66FILES_kpartx = "${base_sbindir}/kpartx \
66 /usr/lib/udev/kpartx_id \ 67 ${nonarch_libdir}/udev/kpartx_id \
67 " 68 "
68 69
69RDEPENDS_${PN} += "kpartx" 70RDEPENDS_${PN} += "kpartx"