From ff30e01f6200e0225ac0d03b90758b1b54712564 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 20 Mar 2017 16:14:07 +0100 Subject: lvm2: fix lvm2-native RRECOMMENDS problem lvm2-native doesn't have packages, so the RRECOMMENDS must be limited to the target case. This fixes: ERROR: Nothing RPROVIDES 'lvm2-native-scripts-native' (but virtual:native:.../meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb RDEPENDS on or otherwise requires it) Signed-off-by: Patrick Ohly Signed-off-by: Peter Kjellerstedt Signed-off-by: Martin Jansa --- meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-support/lvm2') diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 0047914a78..e295e20fa8 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -103,6 +103,6 @@ FILES_libdevmapper-dev = " \ RDEPENDS_${PN}-scripts = "${PN} (= ${EXTENDPKGV}) bash" RDEPENDS_libdevmapper-dev = "libdevmapper (= ${EXTENDPKGV})" -RRECOMMENDS_${PN} = "${PN}-scripts (= ${EXTENDPKGV})" +RRECOMMENDS_${PN}_class-target = "${PN}-scripts (= ${EXTENDPKGV})" CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" -- cgit 1.2.3-korg