[yocto] [meta-security][PATCH 2/5] libldb: work around samba libldb packaging issues

Adrian Bunk bunk at stusta.de
Thu Mar 28 23:50:14 PDT 2019


On Thu, Mar 28, 2019 at 10:28:18PM -0700, Armin Kuster wrote:
> Samba and libldb overlap in a few places. This is the simplest fix for
> now.

Adding a quick hack for interaction problems between two packages
that are both in meta-openembedded by adding a .bbappend in 
meta-security creates a technical debt while not even helping
users who are not using meta-security.

The proper solution is likely to make samba use the external libldb 
instead of an internal copy.

> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
> ---
>  recipes-support/libldb/libldb_%.bbappend | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 recipes-support/libldb/libldb_%.bbappend
> 
> diff --git a/recipes-support/libldb/libldb_%.bbappend b/recipes-support/libldb/libldb_%.bbappend
> new file mode 100644
> index 0000000..2633a1e
> --- /dev/null
> +++ b/recipes-support/libldb/libldb_%.bbappend
> @@ -0,0 +1,22 @@
> +# This fixes this issue:
> +#ERROR: sssd-1.16.3-r0 do_prepare_recipe_sysroot: The file /usr/lib/python2.7/site-packages/_ldb_text.py is installed by both libldb and samba, aborting
> +
> +EXTRA_OECONF += "--disable-python"
>...

So just adding the meta-security layer will turn the pyldb* packages 
into empty packages?

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the yocto mailing list