[oe] [PATCH 8/9] multipath-tools: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.

Martin Jansa martin.jansa at gmail.com
Thu Feb 23 21:14:02 UTC 2017


On Thu, Feb 23, 2017 at 11:05:42AM +0200, Amarnath Valluri wrote:
> Signed-off-by: Amarnath Valluri <amarnath.valluri at 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 effd92e..0cc53fb 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"
>  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} \

is the / before = intentional?

Also causes:
multipath-tools-0.6.4+git922421cf79: multipath-tools: Files/directories were installed but not shipped in any package:
  /usr/lib/systemd
  /usr/lib/systemd/system
  /usr/lib/systemd/system/multipathd.service
  /usr/lib/systemd/system/multipathd.socket
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
multipath-tools: 4 installed and not shipped files. [installed-vs-shipped]
multipath-tools-0.6.4+git922421cf79: /etc/init.d/multipathd contained in package multipath-tools requires /bin/bash, but no providers found in RDEPENDS_multipath-tools? [file-rdeps]

>                  ${@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!
>  #
>  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
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20170223/3e9bca68/attachment-0002.sig>


More information about the Openembedded-devel mailing list