[thud] lvm2: Fix RDEPEND on lvm2 to lvm2-udevrules

Submitted by Arturo Buzarra on Nov. 27, 2019, 4:29 p.m. | Patch ID: 167467


Message ID 20191127162913.30498-1-arturo.buzarra@digi.com
State New
Delegated to: Armin Kuster
Headers show

Commit Message

Arturo Buzarra Nov. 27, 2019, 4:29 p.m.
Commit c6e963f ("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 269d009 ("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>
 meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb b/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
index 7bd7b09d8..08287e358 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.02.180.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"


Javier Viguera Dec. 4, 2019, 9:37 a.m.
Hi Armin,

Could you queue this fix for Thud?

Same fix is already merged in master and Zeus.
Javier Viguera Jan. 14, 2020, 12:54 p.m.
On 04/12/2019 10:37, Javier Viguera wrote:
> Hi Armin,
> Could you queue this fix for Thud?
> Same fix is already merged in master and Zeus.


The patch appears as new in patchwork: