aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-03-20 16:14:07 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-31 13:25:59 +0200
commitff30e01f6200e0225ac0d03b90758b1b54712564 (patch)
tree2547771cc7b4de9fcb236fcf94e69a912dd9febe /meta-oe/recipes-support/lvm2
parent269d009a81d4a20a1e0d1bfcf20ccdaeb3e973c4 (diff)
downloadmeta-openembedded-contrib-ff30e01f6200e0225ac0d03b90758b1b54712564.tar.gz
meta-openembedded-contrib-ff30e01f6200e0225ac0d03b90758b1b54712564.tar.bz2
meta-openembedded-contrib-ff30e01f6200e0225ac0d03b90758b1b54712564.zip
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 <patrick.ohly@intel.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lvm2')
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc2
1 files changed, 1 insertions, 1 deletions
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"