[oe] [PATCH 2/2] [oe-core] libsolv: make rpm optional

Alexander Kanavin alex.kanavin at gmail.com
Tue Sep 18 10:03:58 UTC 2018


These two patches should go to openembedded-core list.

Alex

2018-09-18 11:12 GMT+02:00 Max Kellermann <max+openembedded at blarg.de>:
> From: Max Kellermann <max.kellermann at gmail.com>
>
> Signed-off-by: Max Kellermann <max.kellermann at gmail.com>
> ---
>  meta/recipes-extended/libsolv/libsolv_0.6.35.bb | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-extended/libsolv/libsolv_0.6.35.bb b/meta/recipes-extended/libsolv/libsolv_0.6.35.bb
> index 0956453022..12dfc5d3a2 100644
> --- a/meta/recipes-extended/libsolv/libsolv_0.6.35.bb
> +++ b/meta/recipes-extended/libsolv/libsolv_0.6.35.bb
> @@ -5,7 +5,7 @@ SECTION = "devel"
>  LICENSE = "BSD-3-Clause"
>  LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
>
> -DEPENDS = "expat zlib rpm"
> +DEPENDS = "expat zlib"
>
>  SRC_URI = "git://github.com/openSUSE/libsolv.git"
>  SRC_URI_append_libc-musl = " file://0001-Add-fallback-fopencookie-implementation.patch \
> @@ -19,7 +19,10 @@ S = "${WORKDIR}/git"
>
>  inherit cmake
>
> -EXTRA_OECMAKE = "-DLIB=${baselib} -DMULTI_SEMANTICS=ON -DENABLE_RPMMD=ON -DENABLE_RPMDB=ON -DENABLE_COMPLEX_DEPS=ON"
> +PACKAGECONFIG ??= "rpm"
> +PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
> +
> +EXTRA_OECMAKE = "-DLIB=${baselib} -DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON"
>
>  PACKAGES =+ "${PN}-tools ${PN}ext"
>
> --
> 2.18.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list