From: Jackie Huang <jackie.hu...@windriver.com>

* Add rdepends on bash to fix QA Issue:
| ERROR: multipath-tools-0.7.1-r0 do_package_qa: QA Issue: /sbin/mpathconf
  contained in package multipath-tools requires /bin/bash, but no
  providers found in RDEPENDS_multipath-tools? [file-rdeps]

* Combine multiple assignments for PACKAGES and RDPENDS into one,
  re-order and re-group for related variables.

Signed-off-by: Jackie Huang <jackie.hu...@windriver.com>
---
 .../multipath-tools/multipath-tools_0.7.1.bb       | 23 ++++++++++------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb 
b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb
index 610ba7a94..ccd08575e 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb
@@ -92,22 +92,19 @@ do_install() {
     ${D}${sysconfdir}/multipath.conf.example
 }
 
-FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
-
-PACKAGES =+ "${PN}-libs"
-FILES_${PN}-libs = "${base_libdir}/lib*.so.* \
-                    ${base_libdir}/multipath/lib*.so*"
-RDEPENDS_${PN} += "${PN}-libs"
-
-PROVIDES += "device-mapper-multipath"
-RPROVIDES_${PN} += "device-mapper-multipath"
-RPROVIDES_${PN}-libs += "device-mapper-multipath-libs"
+PACKAGES =+ "${PN}-libs kpartx"
 
 FILES_${PN}-dev += "${base_libdir}/pkgconfig"
-
-PACKAGES =+ "kpartx"
+FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
+FILES_${PN}-libs = "${base_libdir}/lib*.so.* \
+                    ${base_libdir}/multipath/lib*.so* \
+                   "
 FILES_kpartx = "${base_sbindir}/kpartx \
                 ${nonarch_libdir}/udev/kpartx_id \
                "
 
-RDEPENDS_${PN} += "kpartx"
+RDEPENDS_${PN} += "${PN}-libs kpartx bash"
+
+PROVIDES += "device-mapper-multipath"
+RPROVIDES_${PN} += "device-mapper-multipath"
+RPROVIDES_${PN}-libs += "device-mapper-multipath-libs"
-- 
2.11.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to