mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
45e1eeb4ba
commit
d8bb36abe8
@@ -40,7 +40,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
|
|||||||
EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
|
EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
|
||||||
OPTFLAGS="${CFLAGS}" \
|
OPTFLAGS="${CFLAGS}" \
|
||||||
LIB=${base_libdir} libdir=${base_libdir}/multipath \
|
LIB=${base_libdir} libdir=${base_libdir}/multipath \
|
||||||
unitdir=/lib/systemd/system \
|
unitdir=${systemd_system_unitdir} \
|
||||||
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \
|
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \
|
||||||
'
|
'
|
||||||
|
|
||||||
@@ -59,11 +59,12 @@ FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
|
|||||||
# systemd and udev stuff always goes under /lib!
|
# systemd and udev stuff always goes under /lib!
|
||||||
#
|
#
|
||||||
FILES_${PN} += "${base_libdir}/multipath \
|
FILES_${PN} += "${base_libdir}/multipath \
|
||||||
/lib/systemd"
|
${systemd_system_unitdir} \
|
||||||
|
"
|
||||||
|
|
||||||
PACKAGES =+ "kpartx"
|
PACKAGES =+ "kpartx"
|
||||||
FILES_kpartx = "${base_sbindir}/kpartx \
|
FILES_kpartx = "${base_sbindir}/kpartx \
|
||||||
/usr/lib/udev/kpartx_id \
|
${nonarch_libdir}/udev/kpartx_id \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_${PN} += "kpartx"
|
RDEPENDS_${PN} += "kpartx"
|
||||||
|
|||||||
Reference in New Issue
Block a user