* [meta-oe] multipath-tools: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.
@ 2017-02-08 13:07 Amarnath Valluri
0 siblings, 0 replies; only message in thread
From: Amarnath Valluri @ 2017-02-08 13:07 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
---
meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb | 7 ++++---
1 file 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 6bd6118..ea191a0 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
@@ -46,7 +46,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
OPTFLAGS="${CFLAGS}" \
LIB=${base_libdir} libdir=${base_libdir}/multipath \
- unitdir=/lib/systemd/system \
+ unitdir/=${systemd_system_unitdir} \
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \
'
@@ -68,11 +68,12 @@ FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
# systemd and udev stuff always goes under /lib!
#
FILES_${PN} += "${base_libdir}/multipath \
- /lib/systemd"
+ ${systemd_system_unitdir} \
+ "
PACKAGES =+ "kpartx"
FILES_kpartx = "${base_sbindir}/kpartx \
- /usr/lib/udev/kpartx_id \
+ ${nonarch_libdir}/udev/kpartx_id \
"
RDEPENDS_${PN} += "kpartx"
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-08 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 13:07 [meta-oe] multipath-tools: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules Amarnath Valluri
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.