aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArturo Buzarra <arturo.buzarra@digi.com>2019-08-05 10:24:12 +0200
committerArmin Kuster <akuster808@gmail.com>2019-09-06 19:54:31 -0700
commit46951a90229d4ba21cdf9d9c0be88deaa1b3c9f2 (patch)
tree1dcaf103ce477995598c012b05e29c5b2a2415a0
parent38c3b2a7c9dd05a949c5012bda2a6ed210fdd4d2 (diff)
downloadmeta-openembedded-contrib-46951a90229d4ba21cdf9d9c0be88deaa1b3c9f2.tar.gz
lvm2: Fix RDEPEND on lvm2 to lvm2-udevrules
Commit c6e963f9e ("lvm2: Add RDEPEND on lvm2 to lvm2-udevrules") added a package dependency due to lvm2-udevrules needs dmsetup, however dmsetup was moved to libdevmapper in commit 269d009a81d4 ("lvm2: libdevicemapper package needs udev rules and dmsetup"), so this dependency should be only for libdevmapper instead of the full package. With the current implementation, a package that has a dependency with lvm2-udev rules will include also many unnecessary packages like lvm2, lvm2-scripts, etc. and their dependencies. Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
index e2ce95c815..4ae0a62ab7 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
@@ -50,7 +50,7 @@ FILES_${PN}-scripts = " \
# Specified explicitly for the udev rules, just in case that it does not get picked
# up automatically:
FILES_${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d"
-RDEPENDS_${PN}-udevrules = "${PN}"
+RDEPENDS_${PN}-udevrules = "libdevmapper"
RDEPENDS_${PN}_append_class-target = " libdevmapper"
RDEPENDS_${PN}_append_class-nativesdk = " libdevmapper"