From 265cd2b2177c31e9d9fe4b431ca39cd769b2334a Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Mon, 5 Aug 2013 12:03:55 +0000 Subject: [PATCH] lvm2: Add runtime dependency on bash Fixes rootfs generation error if bash is not included in the image. Signed-off-by: Mihai Prica Signed-off-by: Martin Jansa --- meta-oe/recipes-support/lvm2/lvm2.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 1f3b62efd7..64dfd03508 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -4,7 +4,7 @@ DEPENDS = "udev" LICENSE = "GPLv2 & LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24" -INC_PR = "r1" +INC_PR = "r2" S = "${WORKDIR}/LVM2.${PV}" @@ -40,4 +40,5 @@ TARGET_CC_ARCH += "${LDFLAGS}" FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev" FILES_${PN}-dbg += "${libdir}/device-mapper/.debug" +RDEPENDS_${PN} = "bash" EXTRA_OECONF = "--with-usrlibdir=${libdir}"