[oe] [meta-oe][PATCH] layer.conf: add lvm2 as libdevmapper preferred rprovider

Khem Raj raj.khem at gmail.com
Sat Aug 31 02:34:32 UTC 2019


On Fri, Aug 30, 2019 at 7:23 PM Hongxu Jia <hongxu.jia at windriver.com> wrote:
>
> On 8/31/19 10:16 AM, Khem Raj wrote:
> > On Fri, Aug 30, 2019 at 7:14 PM Hongxu Jia <hongxu.jia at windriver.com> wrote:
> >> Since commit [libdevmapper/lvm2: force recipe libdevmapper to populate
> >> sysroot only] applied, if recipe DEPENDS on libdevmapper, we have to
> >> add it to packages RDEPENDS to fix [file-rdeps] QA issue
> >>
> >> Set PREFERRED_RPROVIDER_libdevmapper = "lvm2" in layer.conf to explicit
> >> use lvm2 as libdevmapper preferred rprovider
> >>
> >> Remove unnecessary insane skip
> >>
> > thanks I have staged something similar
>
> Sorry for so many revision, but I think we investigated a way to break
>
> circular dependencies when have to, some kind of tricky, but works, I hope

no worries, thanks for staying up with it.

>
> //Hongxu
>
>
> >> Suggested-by : peter.kjellerstedt at axis.com
> >> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> >> ---
> >>   meta-oe/conf/layer.conf                               | 2 ++
> >>   meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb | 2 --
> >>   2 files changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
> >> index 896a5d6..e48fabd 100644
> >> --- a/meta-oe/conf/layer.conf
> >> +++ b/meta-oe/conf/layer.conf
> >> @@ -33,6 +33,8 @@ LAYERSERIES_COMPAT_openembedded-layer = "thud warrior"
> >>
> >>   LICENSE_PATH += "${LAYERDIR}/licenses"
> >>
> >> +PREFERRED_RPROVIDER_libdevmapper = "lvm2"
> >> +
> >>   SIGGEN_EXCLUDERECIPES_ABISAFE += " \
> >>     mplayer-common \
> >>     fbset-modes \
> >> diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb
> >> index 194842e..0773671 100644
> >> --- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb
> >> +++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb
> >> @@ -89,6 +89,4 @@ EXTRA_OECONF += "--disable-libargon2"
> >>
> >>   FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}"
> >>
> >> -INSANE_SKIP_${PN} += "build-deps file-rdeps"
> >> -
> >>   BBCLASSEXTEND = "native nativesdk"
> >> --
> >> 2.7.4
> >>
>


More information about the Openembedded-devel mailing list