[OE-core] [meta-oe][thud] lvm2: Fix RDEPEND on lvm2 to lvm2-udevrules

Khem Raj raj.khem at gmail.com
Sat Jul 27 01:59:34 UTC 2019


Hi

Please send this to oe-devel mailing list

On Fri, Jul 26, 2019 at 5:54 AM Arturo Buzarra <arturo.buzarra at digi.com> wrote:
>
> Commit c6e963f9e078b728911afed38d31ed234a384154 ("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 at digi.com>
> ---
>  meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
> @@ -48,11 +48,11 @@ FILES_${PN}-scripts = " \
>      ${sbindir}/lvmdump \
>  "
>  # 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"
>
>  RDEPENDS_${PN}-scripts = "${PN} (= ${EXTENDPKGV}) bash"
>  RRECOMMENDS_${PN}_class-target = "${PN}-scripts (= ${EXTENDPKGV})"
> --
> 2.22.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list